/*========== UNIVERSAL STYLING =========*/

body{
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: black;
}

/*========== MENU BAR =========*/

#menu{
    background-color: black;
    height: 100px;
    text-align: center;
}

#menu a{
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 100px;
    color: white;
    padding: 0 40px;
}

#menu a:hover{
    color: red;
}

/*========== Image =========*/

#image{
    height: 400px;
}

#image img{
    width: 100%;
    height: 400px;
}

h2{
    text-align: center;
    padding-top: 40px;
    text-transform: uppercase;
}

/*========== CARD LAYOUT =========*/

.card-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
}

.card{
    width: 325px;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    margin: 20px;
}

.card img{
    width: 100%;
    height: auto;
}

.card-content{
    padding: 16px;
}

.card content h3{
    font-size: 28px;
    margin-bottom: 8px;
}
.card-content p{
    color: #666;
    font-size: 15px;
    line-height: 20px;
}

.card-container h2{
    padding-left: 20px;
}

.card-content .btn{
    display: inline-block;
    padding: 8px 16px;
    background-color: #333;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 16px;
    color: #fff;
}

/*========== PAGES =========*/

#pages h3{
    text-align: center;
    padding-top: 30px;
}

#pages.card-container p{
    color: black;
}

#pages.card-container{
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 100px;
    text-align: center;
}



#pages.card{
    width: 800px;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    margin: 20px;
}

#pages.container{
    padding-left: 20px;
}

/*========== LISTS =========*/

ul.styled{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.styled li{
    padding: 14px 0px;
}

/*============================================== FOOTER ======================================================*/

#footer{
    width: 100%;
    height: 340px;
    background-color: rgb(56, 45, 45);
    padding-top: 25px;
    padding-left: 22px;
    clear: both;
}

#footer a{
    text-decoration: none;
    color: white;
    padding-bottom: 20px;
}

#footer h2{
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    color: grey;
    padding-top: 20px;
}

#footer p{
    color: white;
}

#footer a:hover{
    background-color: Red;
}

#box1{
    text-align: center;
    float: left;
    width: 30%;
    padding-right: 30px;
}

#box2{
    text-align: center;
    float: left;
    width: 30%;
    padding-right: 30px;
}

#box3{
    text-align: center;
    float: right;
    width: 30%;
    padding-left: 30px;
}

/*========== COPYRIGHT =========*/

#copyright{
    width: 100%;
    height: 130px;
    text-align: center;
    background-color: black;
    padding-top: 55px;
   
}

#copyright p{
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
}

/*========== CAR LINKS =========*/

#gallery img{
    width: 30%;
    padding-left: 20px;
}  

#gallery{
    line-height: 1.3;
}

#gallery h3{
    color: grey;
    padding-left: 10px;
    padding-top: 50px;
    text-align: center;
}

#gallery p{
    padding-left: 12px;
    line-height: 1.3;
    margin-bottom: 25px;
}

ul.styled{
    padding-left: 10px;
}
/*========== CONTACT FORM =========*/

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}


body{
    background-color: #fff;
}

.container{
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.container h1{
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

form input,
form textarea{
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #f7f7f7;
    color: #333;
}

form input:focus,
form textarea:focus{
    outline: none;
    box-shadow: 0 0 5px #333;
}

form button{
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 20px;
}

form button:hover{
    background-color: #555;
}

.contacts{
   line-height: 2;
   padding-left: 25px;
   margin-bottom: 35px;
}


/*========== ABOUT US =========*/

#about h3{
    text-align: center;
    text-transform: uppercase;
    color: black;
    padding-top: 50px;
    font-size: 40px;
}

#about p{
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    padding-top: 20px;
    line-height: 9mm;
    margin-bottom: 22px;
}

/*============================================== FOOTER ======================================================*/

@media only screen and (min/width: 600px){
    #about{
        width: 80%;
        margin: auto;
    }
    .container{
        width: 80%;
        margin: auto;
    }
}

@media only screen and (min/width: 600px){
    #about{
        width: 60%;
        margin: auto;
    }
    .container{
        width: 60%;
        margin: auto;
    }
}