/* ----- MEDIA QUERY -- 1480px ----- */
@media (max-width: 1480px) {

    header {
        padding: 12px 2.5%;
        transition: .1s;
    }

    header.sticky {
        padding: 10px 2.5%;
        transition: .1s;
    }

    section {
        padding: 110px 3% 60px;
    }

    .end {
        padding: 15px 3%;
    }
}

/* ----- MEDIA QUERY -- 1100px ----- */
@media (max-width: 1100px) {

    :root {
        --big-font: 4rem;
        --h2-font: 2rem;
        --p-font: 0.9rem;
        transition: .1s;
    }

    .home-text h3 {
        font-size: 1.6rem;
    }

    .home {
        height: 87vh;
    }

    .btn {
        padding: 8px 16px;
        font-size: 1rem;
    }

    .socials {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0;
        margin: 0;
    }
}


/* ----- MEDIA QUERY -- 920px ----- */
@media (max-width: 920px) {

    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img img {
        max-width: 100%;
        height: auto;
        margin: 0 auto 20px;
    }

    .services-content,
    .portfolio-content {
        grid-template-columns: 1fr 1fr;
    }

    .socials {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0;
        margin: 0;
    }
}


/* ----- MEDIA QUERY -- 890px ----- */
@media (max-width: 890px) {

    #menu-icon {
        display: block;
        font-size: 37px;
        margin-right: 3px;
    }

    .logo {
        font-size: 30px;
        margin-left: 7px;
    }

    .logo::before {
        height: 3px;
    }

    .navlist {
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        height: 90vh;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        transition: all .45s ease;
    }

    .navlist a {
        display: block;
        margin: 17px;
        font-size: 20px;
        transition: all .45s ease;
    }

    .navlist a:hover {
        color: var(--main-color);
    }

    .navlist.open {
        top: 100%;
        background: var(--bg-color);
        color: var(--second-color);
    }

    section {
        padding: 100px 8% 80px;
    }

    .home {
        position: relative;
        height: 100vh;
        width: 100%;
        background-image: url(../img//background.jpg);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .home-text h1 {
        font-weight: 600;
        letter-spacing: normal;
        font-size: 4rem;
        padding: 15px 0;
    }

    .home-text h3 {
        font-size: 2.4rem;
        font-weight: 500;
    }

    .home-text h3 span {
        font-size: 2.1rem;
    }

    .dark-theme .home-text h1 {
        font-weight: 400;
    }

    .dark-theme .home-text h3 {
        font-weight: 300;
    }

    .btn {
        font-size: 0.9rem;
        padding: 12px 20px;
        white-space: nowrap;
    }

    .btn2 {
        font-size: 0.9rem;
    }

    .home-icons {
        display: none;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .about-text h4 {
        font-size: 1.1rem;
    }

    .about-img img {
        max-width: 270px;
        height: 270px;
        border-radius: 2%;
        box-shadow: none;
    }

    .about-text p {
        font-size: 1rem;
    }

    .socials {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 20px 0 0 0;
        margin: 0;
    }

    .btn-socials span i {
        height: 60px;
        width: 60px;
        font-size: 31px;
    }

    .main-text h2 {
        font-size: 2.5rem;
    }

    .main-text p {
        font-size: 1.1rem;
    }

    .services-content,
    .portfolio-content {
        grid-template-columns: 1fr;
    }

    .contact .content {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }

    .contact-left h2 {
        /*font-size: 1.7rem;*/
        display: none;
    }

    .contact-list li {
        font-size: 0.8rem;
        margin-bottom: 60px;
    }

    .contact-list li span {
        margin-left: 20px;
        font-size: 1rem;
    }

    .contact-form .btn-contact {
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 12px 28px;
        margin-top: 20px;
    }

    #top {
        position: fixed;
        bottom: 0;
        padding: auto;
        margin: 0 0 5em 1rem;
    }

    .end {
        padding: 16px 4%;
    }

    .last-text p {
        font-size: 0.7rem;
    }
}

/* ----- MEDIA QUERY -- 330px ----- */
@media (max-width: 330px) {

    .logo,
    #menu-icon {
        font-size: 1.5rem;
    }

    .logo::before {
        height: 3px;
        bottom: 3px;
    }

    .navlist a {
        font-size: 16px;
    }

    .one {
        padding: 0 10px;
        font-size: 1rem;
    }

    .two {
        font-size: 1.1rem;
    }

    .home-text h1 {
        font-size: 3rem;
        
    }

    .home-text h3 {
        font-size: 1.8rem;
    }

    .home-text h3 span {
        font-size: 1.6rem;
    }

    .btn {
        font-size: 0.7rem;
        padding: 8px 16px;
    }

    .btn2 {
        font-size: 0.7rem;
    }

    .btn2 span i {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .about-img img {
        max-width: 190px;
        height: 190px;
    }

    .contact-left h2 {
        font-size: 1.4rem;
    }

    .contact-list li span {
        font-size: 0.8rem;
    }
}