* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.navbar {
    height: 10vh;
    width: 100%;
    background: #2C3E50;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: x-large;
    color: whitesmoke;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;


    a {
        color: whitesmoke;
        transition: all 0.5s ease;
    }
}

.box {
    background: #FFFFFF;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    transition: all 0.5s;
}

.img {
    width: 100%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
        height: 90%;
        width: 90%;
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
        transition: all 0.5s;
    }
}

.contant {
    text-align: center;
    height: 20%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.btn {
    height: 50%;
    width: 100%;
}

input {
    height: 100%;
    width: 30%;
    background: #2C3E50;
    border-radius: 8px;
    border: none;
    color: whitesmoke;
    transition: all 0.5s ease;
}

footer {
    display: flex;
    justify-content: center;
}

.form {
    height: 30vh;
    width: 30%;
    text-align: center;
    background: #F9F9F9;
    border: 1px solid black;
    position: relative;
    margin: 1.5%;

    input {
        height: 3.5vh;
        width: 80%;
        display: block;
        margin: auto;
        background: #FFFFFF;
        border: 1px solid black;
    }

    button {
        height: 4vh;
        width: 20%;
        background: #2C3E50;
        border-radius: 8px;
        border: none;
        color: whitesmoke;
        position: absolute;
        left: 10%;
        transition: all 0.5s ease;
    }
}

.grid {
    margin: 1.5%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 480px);
    column-gap: 15px;
    row-gap: 20px;
}

.padding-nav {
    padding: 1.2%;
}

.margin-top {
    margin-top: 1%;
}

.nav-hover {
    color: #FFFFFF;
    transition: all 0.5s ease;
}

.box:hover {
    background: #FFFFFF;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;

    img {
        height: 93%;
        width: 93%;
    }
}

.contant {
    input:hover {
        background: rgb(75, 190, 235) !important;
        box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    }
}

button:hover {
    background: rgb(75, 190, 235) !important;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.nav-hover:hover {
    color: rgb(75, 190, 235) !important;

    a {
        color: rgb(75, 190, 235) !important;
    }
}

@media(min-width: 668px) and (max-width: 1400px) {

    .img {
        height: 70%;

        img {
            height: 60%;
            width: 90%;
        }
    }

    input {
        width: 60%;
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(auto, 450px);
    }

    .form {
        button {
            height: 5vh;
            width: 30%;
            background: #2C3E50;
            border-radius: 8px;
            border: none;
            color: whitesmoke;
            position: absolute;
            left: 10%;
        }
    }
}

@media(min-width:300px) and (max-width:667px) {

    .none {
        display: none !important;
    }

    .img {
        height: 50%;

        img {
            height: 80%;
            width: 70%;
        }
    }

    .btn {
        height: 50%;
    }

    input {
        width: 50%;
    }

    .grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(auto, 300px);
    }

    .form {
        width: 40%;

        input {
            width: 80%;
        }

        button {
            height: 5vh;
            width: 40%;
            background: #2C3E50;
            border-radius: 8px;
            border: none;
            color: whitesmoke;
            position: absolute;
            left: 10%;
        }
    }
}