@media screen and (max-width: 1060px) {
    .header-main-text {
        font-size: 30px;
    }

    .presale-text {
        font-size: 30px;
    }

    .popup {
        left: 20%;
        right: 20%;
    }
}

@media screen and (max-width: 1220px) {
    .header-btns {
        font-size: 15px;
        grid-template-columns: 30% 30%;
    }

    .header-main-caption {
        font-size: 15px;
    }
}

@media screen and (max-width: 998px) {
    .header-btns {
        font-size: 15px;
        grid-template-columns: 30% 30%;
    }

    .presale {
        margin-left: 0;
    }

    .popup {
        left: 10%;
        right: 10%;
    }

    .popup-btns {
        flex-direction: row;
    }
}

@media screen and (max-width: 700px) {
    .header-btns {
        font-size: 15px;
        grid-template-columns: 25% 25%;
    }
}

@media screen and (max-width: 530px) {
    .header-main-caption {
        font-size: 15px;
    }
    .header-btns {
        font-size: 12px;
        grid-template-columns: 35% 35%;
        gap: 10px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 1220px) {
    .nav-menu {
        padding-right: 50px;
    }
}

@media screen and (max-width: 998px) {
    .logo {
        width: 300px;
    }
}

@media screen and (max-width: 540px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }

    .popup-btns {
        flex-direction: column;
    }
}

@media screen and (max-height: 540px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }

    .header-socials {
        top: 30%;
    }

    .header-main {
        height: 40%;
    }
}

@media screen and (max-width: 480px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }

    .header-main-text {
        font-size: 25px;
    }

    .popup {
        left: 10%;
        right: 10%;
    }
}

@media screen and (max-width: 1160px) {
    .presale {
        width: 40% !important;
    }
}

.presale {
    width: 55% !important;
}

@media screen and (max-width: 997px) {
    .presale {
        width: 100% !important;
    }

    .presale #connectBtn {
        width: 50% !important;
    }
}

@media screen and (min-width: 540px) {
    .ln-main {
        grid-template-columns: 50% 50% !important;
        padding-right: 40px;
    }

    .how-it-works {
        padding-right: 20px;
    }

    .cards-section {
        grid-template-columns: 50% 50% !important;
    }
}

@media screen and (min-width: 997px) {
    .ln-main {
        grid-template-columns: 24% 24% 24% 24% !important;
        justify-content: center;
        margin-left: 10px;
    }

    .cards-section {
        grid-template-columns: 25% 25% 25% 25% !important;
        justify-content: center;
        margin-left: 15px;
    }
}
