*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

button{
    background-color: #e20000;
    color: white;
    padding: 15px 35px;
    border: 0;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
button:hover{
    box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.7);
    transform: scale(1.05);
}

p{
    color: #ccc;
}

.header{
     display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    position: fixed;
    background-color: #ffff;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    border-bottom: 1px solid #e20000;
    z-index: 1;
}


.header .logo img{
    width: 70px;
}

.header ul{
    list-style: none;
    display: flex;
    gap: 20px;
}

.header ul li a{
    color: #e20000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 2px;
}

.header ul li a:hover{
    color: red;
}

.home{
    background: linear-gradient(to right, #0000008e , #222222ab),url(img/bg.avif)no-repeat;
    width: 100%;
    height: 100vh;
    background-position: center;
    background-size: cover;
    margin-top: 10px;
    padding-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.content-home{
    text-align: center;
    line-height: 1.7;
}

.content-home h3{
    color: #e20000;
}

.content-home h1{
    color: white;
    font-size: 40px;
}

.content-home span{
    color: #e20000;
    font-weight: 500;
}

.about{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: 0 3rem;
    margin-top: 50px;
}

.about .title-about{
    text-align: center;
    width: 50%;
}

.about .title-about h2{
    color: #e20000;
    font-size: 35px;
}

.about .title-about p{
    color: #000;
    letter-spacing: 1px;
    margin-top: 10px;
    line-height: 1.1;
}
.about .card{
    border: 2px solid #e20000;
    text-align: center;
    padding: 20px;
    margin-top: 10px;
    transition: all 0.3s ease;
    border-radius: 10px;
}
.about .card h3{
    color: #e20000;
}

.about .card p{
    color: #000;
    margin-top: 5px;
}
.about .card img{
    width: 100px;
}
.about .card:hover{
    transform: scale(1.05);
    box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.7);
}

.services{
    max-width: 1200px;
    padding: 0 3rem;
    margin: auto;
}

.title-services{
    text-align: center;
    line-height: 1.5;
    margin-top: 15%;
}
.title-services h2{
    color: #e20000;
    font-size: 35px;
}

.container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap: 30px;
}
.container .card {
    text-align: center;
    line-height: 1.5;
  
}
.container .card img{
    width: 300px;
    height: 300px;
}

.container .card h3{
    color: #2a186a;
    margin-top: 10px;
}

.container .card p{
    color: gray;
}

.container .card:nth-child(1) img{
    width: 400px;
}

.container .card:nth-child(2) img{
    width: 200px;
    height: 250px;
    margin-top: 50px;
}

.menu{
    max-width: 1200px;
    margin: auto;
    padding: 0 3rem;
}

.title-menu{
    text-align: center;
    margin-top: 15%;
    line-height: 1.5;
}
.title-menu h2{
    color: #e20000;
    font-size: 35px;
    margin-bottom: 15px;
}

.menu .cards{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.menu .card {
    border: 5px solid red;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu .card:hover{
   transform: scale(1.01);
    box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.5);
}

.menu .card p{
    color: black;
    margin-top: 10px;
}

.menu .card img{
    width: 100px;
    height: 100px;
}

.contact{
    max-width: 1200px;
    margin: auto;
    padding: 0 3rem;
    margin-top: 15%;
}


.title-contact{
    text-align: center;
    line-height: 1.5;
}

.title-contact h2{
    color: #e20000;
    font-size: 35px;
    margin-bottom: 30px;
}

.contact .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact .container form{
    display: flex;
    flex-direction: column;
}

.contact .container  .form input,textarea{
    resize: none;
    outline: none;
    border: 1px solid #e20000;
    padding: 10px;
    width: 80vh;
    border-radius: 10px;
    margin-top: 10px;
}

.contact .container .card{
    border: 2px solid #e20000;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    border-radius: 10px; 
    transition: all 0.3s ease;
}

.contact .container .card:hover{
    background-color: #ccc;
}

.contact .container .card i{
    font-size: 30px;
}

.contact .container .card a{
    text-decoration: none;
    color: gray;
}


article{
    background-color: #111;
    max-width: 1200px;
    padding: 0 3rem;
    width: 100%;
    margin: auto;
    margin-top: 10%;

}


article .card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
}

article .card img{
    width: 600px;
    height: 400px;
    margin-top: 50px;
    border-radius: 10px;
    border: 2px solid #e20000;
    transition: all 0.3s ease;
}

article .card img:hover{
   border: 2px solid #2a186a;
}

article .card:nth-child(3) img{
    width: 500px;
}


article .card p{
    color: white;
    margin-bottom: 50px;
    width: 40%;
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #222;
    padding: 30px;
    gap: 20px;
}

.social{
    display: flex;
    gap: 20px;
}

.social a{
    border: 1px solid #e20000;
    color: white;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.social a:hover{
    background-color: #e20000;
}


@media(max-width:1024px){
    .content-home{
        width: 50%;
    }
    .services .container{
        grid-template-columns: 1fr 1fr;
    }
    .contact .container{
    flex-direction: column;
    }
     .contact .container .form input,textarea{
        width: 60vh;
     }
     .contact .container .cards{
          display: flex;
          gap: 20px;
     }
}

@media(max-width:600px){
    .header{
        flex-direction: column;
        padding: 1rem;
    }
.home , .about , .services , .menu , .contact , article , footer{
        width: 100vh;
    }
    .content-home h1{
        font-size: 20px;
    }
    p{
        font-size: 12px;
    }
    button{
        padding: 10px 25px;
    }
    .about{
        flex-direction: column;
    }
    .title-about h2{
        font-size: 25px;
    }
    
     .services .container{
        grid-template-columns: 1fr;
    }
     .services .container .card img{
        width: 200px;
        height: 200px;
     }

} 


