/**
 *  All necessary media requires for media view style.
 *  Do not forget to initial that in _theme-files.php (theme directory/core/components/...).
 *  Do not repeat media require !
 */

/*------------- _ Desktop media styles _ -------------*/

/*Code begins to 991px*/
@media only screen and (max-width: 1470px) and (min-width: 992px) {
    body {
        -moz-transform: scale(0.8, 0.8); /* Moz-browsers */
        zoom: 0.8; /* Other non-webkit browsers */
        zoom: 80%; /* Webkit browsers */
    }
}

@media only screen and (max-width: 991px) {
    #banner .container {
        align-items: center;
    }
    #banner .content {
        margin-top: 0;
        font-size: 2.1vw;
    }
    #banner .thumbnail {
        display: flex;
        width: 50vw;
    }
    #banner h1 {
        font-size: 5vw;
        margin: .2em 0;
    }
    #banner h3 {
        font-size: 3.2vw;
    }

    #about .sect-title {
        font-size: 4vw;
    }
    #about .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8vw;
        padding: 8vw 30px 0;
    }
    #about .item {
        width: calc(50% - 8px);
        font-size: 2vw;
        padding: 60px 4vw 4vw;
    }
    #about .item h4 {
        font-size: 2.5vw;
    }

    #info {
        margin-top: 45px;
        padding: 50px 0;
    }
    #info .sec-title {
        font-size: 4vw;
    }
    #info .left-side {
        width: calc(70% - 8px);
    }
    #info .item {
        padding: 10px 14px;
    }

    #info .wrapper h4 {
        font-size: 2.4vw;
    }
    #info .wrapper {
        font-size: 2vw;
    }
    #info .wrapper ul li:before {
        width: 2vw;
        height: 1.8vw;
        margin-left: 1vw;
    }
    #info .wrapper ul li {
        padding-right: 1vw;
    }
    #info .wrapper .content form #information .one-input input {
        padding: 12px;
        font-size: 16px;
        margin-bottom: 8px;
    }

    footer .item {
        padding-left: 30px;
    }
    footer .content {
        padding-right: 30px;
        gap: 4px;
    }
}

@media only screen and (max-width: 770px) {
    #banner .container {
        padding: 0 30px 0 15px;
    }

    #about .thumbnail {
        width: 85px;
    }

    #info .item .title {
        font-size: 18px;
    }
    #info .wrapper ul {
        margin-bottom: 0;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
    }
    footer .content {
        padding: 22px 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        border-right: none;
        margin-top: 20px;
    }
    footer .item {
        font-weight: 1.2;
        padding-left: 0;
    }
}

@media only screen and (max-width: 680px) {
    #info .wrapper .buttons a {
        max-width: 100px;
    }
}

@media only screen and (max-width: 600px) {
    #banner {
        padding-top: 0;
    }
    #banner .container {
        flex-direction: column-reverse;
        /*align-items: center;*/
        padding: 0;
    }
    #banner .content * {
        text-align: center;
    }
    #banner .thumbnail {
        width: 100%;
        max-width: 480px;
        margin: 0 auto 0 0;
    }
    #banner .content {;
        font-size: 6vw;
    }
    #banner h1 {
        font-size: 10vw;
        margin: .1em 0 .3em;
    }
    #banner h3 {
        font-size: 7.5vw;
    }

    #about .sect-title {
        font-size: 7.5vw;
        margin-top: 15vw;
    }
    #about .container {
        gap: 65px;
        padding-top: 60px;
    }
    #about .item {
        width: 100%;
        max-width: 425px;
        font-size: 4vw;
    }
    #about .item h4 {
        font-size: 5vw;
    }

    #info .container {
        flex-direction: column;
        align-items: center;
    }
    #info .sec-title {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        margin-bottom: .8em;
        font-size: 6.8vw;
    }
    #info .sec-title br {
        display: none;
    }
    #info .left-side {
        width: 100%;
        max-width: 450px;
    }
    #info {
        padding: 30px 0;
    }
    #info .wrapper h4 {
        font-size: 4vw;
        max-width: 59vw;
    }
    #info .wrapper {
        font-size: 3vw;
    }
    #info .container {
        padding: 0 15px;
    }
    footer .container {
        padding: 0;
    }

}

@media only screen and (max-width: 500px) {
    #banner .thumbnail {
        width: 87%;
        max-width: 480px;
        margin: -9vw auto 0 -4vw;
    }
    #banner .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        position: absolute;
        top: 20px;
        right: 25px;
    }
}

@media only screen and (max-width: 390px) {
    #about .sect-title {
        font-size: 9vw;
    }
    #about .item h4 {
        font-size: 6vw;
    }
    #about .item {
        font-size: 4.5vw;
    }
    #about .container {
        padding: 60px 15px 0;
    }

    #info .wrapper h4 {
        font-size: 5vw;
        max-width: 74vw;
    }
    #info .wrapper {
        font-size: 4.1vw;
    }
    #info .wrapper ul li:before {
        width: 4vw;
        height: 2.8vw;
        margin-left: 2vw;
    }
}