@media (max-width: 768px) {
    /* styling responsive */
    nav .menu-btn i {
        color: black;
        display: block;
        margin-right: 30px;
    }

    nav ul {
        position: fixed;
        top: 80px;
        right: 100%;
        background: #111;
        width: 12em;
        left: auto;
        text-align: center;
        display: block;
        transition: all 0.3s ease;
    }

    #click:checked ~ ul {
        right: 0;
    }

    nav ul li {
        width: 100%;
        margin: 40px 60px;
    }

    nav ul li a {
        width: 100%;
        margin-left: -100%;
        display: block;
        font-size: 20px;
        transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    #click:checked ~ ul li a {
        margin-left: 0px;
    }

    .layer {
        margin-left: 20px;
    }

    nav ul li a:hover {
        background: none;
        color: cyan;
    }

    nav ul li .layer i {
        color: white;
    }
    
    nav ul li:nth-child(6) {
        margin: 0;
        margin-bottom: 40px;
    }
    nav ul li:nth-child(6) .search-form input[type="text"] {
        width: 150px;
    }

    nav ul li:nth-child(7) {
        margin: 0;
    }

    /* body */
    .intro, .all-cards, .contact {
        width: 89em;
    }

    .card {
        width: 73%;
    }

    .col-card, .col-card2 {
        right: 20px;
    }

}


@media (max-width: 1200px) {
    /* body */
    .intro, .all-cards, .contact {
        width: 89em;
    }

    .card {
        width: 73%;
    }

    .col-card, .col-card2 {
        right: 20px;
    }

}



@media (min-width: 1500px) {

        .intro-content {
            left: 550px;
        }

        .intro-pic {
            left: 840px;
        }

        .card {
            margin-left: 60px;
        }

        .col-card {
            right: 100px;
        }
        
        .col-card2 {
            right: 100px;
            top: 700px;
        }

        .footer-blue {
            width: auto;
        }

        .footer-details {
            width: 1000px;
            left: 450px;
        }

        .footer-details table {
            width: 1000px;
        }
}
