/* For small devices */
@media screen and (max-width: 320px){
    .container{
        margin-inline: 1rem;
    }
    .home__title{
        font-size: 2rem;
    }
    .home__img{
        width: 270px;
    }
    .about__video{
        width: 200px;
        height: 250px;
    }
    .models__container{
        grid-template-columns: 200px;
    }
    .info__data{
        flex-direction: column;
        align-items: center;
        row-gap: 1rem;
    }
    .contact__img{
        width: 200px;
    }
}

/* for medium devices */
@media screen and (min-width: 576px){
    .about__container,
    .contact__container{
        grid-template-columns: 400px;
        justify-content: center;
    }
    .footer__container{
        grid-template-columns: repeat(3, max-content);
        justify-content: space-between;
        align-items: flex-start;
    }
}

@media screen and (min-width: 768px){
    .models__container{
        grid-template-columns: repeat(2, 250px);
    }
    .footer__links{
        flex-direction: row;
        column-gap: 1rem;
    }
}

/* for large devices */
@media screen and (min-width: 1200px){
    :root{
        --biggest-fs: 10rem;
        --big-fs: 5.5rem;
        --h1-fs: 3rem;
        --h2-fs: 1.5rem;
        --h3-fs: 1.2rem;
        --normal-fs: 1rem;
        --small-fs: .9rem;
        --smaller-fs: .8rem;
    }
    .container{
        margin-inline: auto;
    }
    .section{
        padding-block: 7rem 2rem;
    }
    .section__title{
        margin-bottom: 4rem;
    }
    .nav{
        height: calc(var(--header-height) + 2rem);
    }
    .nav__toggle,
    .nav__close{
        display: none;
    }
    .nav__list{
        flex-direction: row;
        column-gap: 4rem;
    }
    .home{
        height: 830px;
    }
    .home__subtitle{
        font-size: var(--normal-fs);
        letter-spacing: 3px;
    }
    .home__title{
        letter-spacing: 3px;
    }
    .home__img{
        width: 600px;
    }
    .home__data{
        top: 15rem;
    }
    .home__button{
        bottom: 2rem;
    }
    .swiper{
        margin-block-start: 1rem 0;
    }
    .swiper-pagination-bullets.swiper-pagination-horizontal{
        top: 39rem;
        column-gap: 2rem;
    }
    .home{
        height: 830px;
    }
    .home__subtitle{
        font-size: var(--normal-fs);
        letter-spacing: 3px;
    }
    .home__title{
        letter-spacing: 3px;
    }
    .home__img{
        width: 600px;
    }
    .home__data{
        top: 15rem;
    }
    .home__button{
        bottom: 2rem;
    }
    .swiper{
        margin-block-start: 1rem 0;
    }
    .swiper-pagination-bullets.swiper-pagination-horizontal{
        top: 39rem;
        column-gap: 2rem;
    }
    .about__container{
        grid-template-columns: 400px 450px;
        align-items: center;
        column-gap: 12rem;
        padding-bottom: 5rem;
    }
    .about__title,
    .about__data{
        text-align: initial;
    }
    .about__title{
        margin-bottom: 1rem;
    }
    .about__description{
        margin-bottom: 3.5rem;
    }
    .about__video{
        width: 450px;
        height: 570px;
    }
    .about__file{
        height: 580px;
    }
    .models__container{
        grid-template-columns: repeat(3, 350px);
        column-gap: 2rem;
    }
    .models__data{
        bottom: 2.5rem;
        left: 2rem;
    }
    .models__info{
        font-size: var(--normal-fs);
    }
    .info__container{
        padding-bottom: 4rem;
    }
    .info__title{
        margin-bottom: 13rem;
    }
    .info__img{
        width: 800px;
    }
    .info__number{
        top: -8.5rem;
    }
    .info__data{
        column-gap: 4rem;
    }
    .info__group h3{
        font-size: var(--h3-fs);
    }
    .info__group p{
        font-size: var(--normal-fs);
    }
    .contact__container{
        grid-template-columns: 450px 500px;
        align-items: center;
        column-gap: 8rem;
        padding-bottom: 4rem;
    }
    .contact__img{
        order: -1;
        width: 450px;
    }
    .contact__title{
        text-align: initial;
    }
    .contact__button{
        justify-self: flex-start;
    }
    .footer{
        padding-top: 3rem;
    }
    .footer__logo{
        font-size: var(--normal-fs);
    }
    .footer__links{
        column-gap: 2rem;
    }
    .footer__social{
        column-gap: 1rem;
    }
    .scroll-up{
        right: 3rem;
    }
}

/* for extra large devices */
@media screen and (min-width: 2048px){
    body{
        zoom: 1.4;
    }
}