*{
    box-sizing: border-boxbor;
    margin: 0;
    padding: 0;
}

body{
    font-family: cursive;
    font-weight: 600;
}


.but {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    background-color: #4caf4f00;
    color: rgb(51, 48, 48);
    padding: 16px;
    font-size: 12px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    font-size: 12px;
    padding: 7px 8px;
    text-decoration: none;
    display: block;
}
.dropdown-content a img{
    width: 15px;
    margin-right: 10px;
    background-color: rgb(227, 148, 0);
    color: white;
    padding: 5px;
    border-radius: 50%;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #39b83e53;
}


.body{
    width: 70%;
    margin-top: 30px;
    margin: 0 auto;
}

.nav-bar{
    width: 70%;
    justify-content: space-between;
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
    padding: 10px 10px;
}

.logo img{
    width: 100px;
}

.menu{
    float: left;
    margin-right: 140px;
    width: 60%;
    display: flex;
}

.menu li{
    padding: 10px;
}

.menu li a{
    font-size: small;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    color: grey;
    transition: 0.15s ease-in-out;
}

.menu li a::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: black;
    transition: 0.15s ease-in-out;
}

.menu li a:hover:after{
    width: 100%;
}

.open-menu, .close-menu{
    position: absolute;
    color: black;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;

}

.open-menu{
    top: 30%;
    right: 20px;
}

.close-menu{
    top: 20px;
    right: 20px;
}

#check{
    display: none;
}

.buton{
    display: flex;
    font-weight: 600;
    float: right;
}

.log{
    margin-left: 20px;
    cursor: pointer;
    border: none;
    background-color: rgba(189, 189, 189, 0);
}

.log:hover{
    color: black;
    font-weight: bold;
}

.reg{
    cursor: pointer;
    background-color: rgba(197, 189, 189, 0.083);
    height: 5vh;
    border: 1px solid rgb(58, 58, 58);
    margin-top: 5px;
    padding: 5px;
    width: 100%;
    margin-left: 20px;
    border-radius: 10px;
}

.reg:hover{
    border: 2px solid black;
    font-weight: bold;
    color: black;
}

.contain{
    margin-top: 70px;
    width: 100%;
    float: left;
}

.image{
    width: 45%;
    float: right;
}

.image img{
    width: 80%;
}
.make{
    width: 40%;
    float: left;
}

.make h1{
    margin-top: 30px;
    font-size: 60px;
    color: rgb(11, 10, 10);
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.make p{
    color: rgb(69, 67, 67);
    font-size: 20px;
    font-weight: 500;
    margin-top: 50px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.make button{
    cursor: pointer;
    background-color: rgb(7, 7, 7);
    border: none;
    padding: 10px;
    width: 30%;
    color: white;
    font-size: 15px;
    margin-top: 30px;
    font-weight: 600;
    border-radius: 10px;
}

.make button:hover{
    background-color: rgba(240, 248, 255, 0);
    border: 1px solid rgb(19, 17, 17);
    color: black;
}

footer{
    width: 100%;
    margin-top: 30px;
    display: flex;
}

footer .car{
    width: 25%;
    padding: 15px;
    float: left;
}

















@media(max-width: 800px){
    .body{
        margin: 0 auto;
    }
    .nav-bar{
        width: 100%;
    }
    .image{
        width: 100%;
    }
    .image img{
        width: 100%;
    }
    .make{
        margin-top: 30px;
        width: 100%;
    }

    .make h1{
        font-size: 50px;
        text-align: center;
    }
    .make h1 br{
        display: none;
    }

    .make p{
        text-align: center;
        font-size: 25px;
        margin-top: 10px;
    }
    .make button{margin-left: 30%;}
}













@media(max-width: 700px){
    .body{
        padding: 10px 10px;
        width: 95%;
        margin: 0 auto;
    }

    .menu{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        height: 100vh;
        position: fixed;
        top: 0px;
        right: -100%;
        z-index: 100;
        background-color: rgb(255, 184, 31);
        transition: all 2s ease-in-out;
    }

    .menu li{
        margin-top: 40px;
    }
    .menu li a{
        color: white;
        padding: 10px;
    }

    #check:checked ~ .menu{right: 0;}

    .open-menu, .close-menu{
        display: block;
    }

    .image{width: 100%;}
    .make{width: 90%;
    padding: 0;}

    .image{
        width: 100%;
    }
    .image img{
        width: 100%;
    }
    .make{
        margin-top: 30px;
        width: 100%;
    }

    .make h1{
        font-size: 30px;
        text-align: center;
    }
    .make h1 br{
        display: none;
    }

    .make p{
        text-align: center;
        font-size: 20px;
        margin-top: 10px;
    }


}
