/* screenwidth less than 1024px
--------------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
    .contact .contact-item:last-child {
        padding-left: 1rem;
    }
    .section .card-field {
        width: 800px;
    }
}

/* screenwidth less than 900px
--------------------------------------------------------------------- */
@media only screen and (max-width: 900px) {
    .section .card-field {
        width: 600px;
    }
}

/* mobile wide/smaller tablets
---------------------------------------------------------------------- */

@media only screen and (max-width: 767px) {
    .header__item .logo span img {
        width: 150px;
        top: 15px;
        left: 140px;
    }
    .header__item .home-bar {
        display: block;
    }
    .header .header__menu {
        position: absolute;
        width: 200px;
        height: 100vh;
        top: 0;
        right: 0;
        transform: translateX(200px);
        background: #000;
        flex-direction: column;
        justify-content: right;
        align-items: flex-start;
        transition: all 0.4s ease;
        opacity: 0;
    }
    .header .header__menu a {
        color: #fff;
        font-size: 18px;
    }
    .header__item .logo h1 {
        padding: 4px 0;
        font-size: 36px;
        word-spacing: 40px;
    }
    .section .card-field {
        width: 400px;
        margin: 0 auto;
    }
    .section-bar .bar-slider {
        width: 400px;
    }
    .wrapperitems {
        flex-direction: column;
        justify-content: baseline;
        align-items: center;
    }
    .contact-menu ul{
        flex-direction: column;
        align-items: center !important;
    }
   
}

/* mobile narrow
  -------------------------------------------------------------------------- */

@media only screen and (max-width: 480px) { 
    .header__item .logo span img {
        width: 100px;
        top: 15px;
        left: 80px;
    }
    .header .header__item .logo h1 {
        font-size: 18px;
        word-spacing: 20px;
    }
    .header__item .home-bar {
        display: block;
        top: 50%;
        right: 2px;
    }
    .header .header__menu {
        position: absolute;
        width: 150px;
        height: 100vh;
        top: 0;
        right: 0;
        transform: translateX(200px);
        background: #000;
        flex-direction: column;
        justify-content: right;
        align-items: flex-start;
        transition: all 0.4s ease;
        opacity: 0;
    }
    .header .header__menu a {
        color: #fff;
        font-size: 18px;
    }
    .header__item .logo h1 {
        padding: 4px 0;
        font-size: 36px;
        word-spacing: 40px;
    }
    .section .card-field {
        width: 200px;
    }
    .section-bar .bar-slider {
        width: 200px;
    }
    .section .section-text {
        width: 100%;
    }
    .section .section-text h4 {
        font-size: 16px;
    }
    .section .section-text p {
        font-size: 14px;
    }
    .wrapperitems {
        flex-direction: column;
        justify-content: baseline;
        align-items: center;
    }
    .section .contact-items input {
        width: 200px;
        border: 1px solid red;
    }
    .contact {

    }
    .contact p  {
        font-size: 14px;
        text-align: center;
    }
    .contact .contact-item form {
        display: flex;
        flex-direction: column;
        justify-content: baseline;
        align-items: center;
    }
    .contact .contact-item form input {
        width: 200px;
        height: 30px;
        border: 1px solid #000;
        border-radius: 2px;
    }
    .contact .contact-item form button {
        margin: 10px 0;
    }
    .contact-menu ul{
        flex-direction: column;
        align-items: center !important;
    }
}