@font-face {
    font-family: Poppins;
    src: url(../fonts/Poppins-Bold.ttf);

}

@font-face {
    font-family: "Poppins Light";
    src: url(../fonts/Poppins-ExtraLight.ttf);

}

*{
    margin: 0;
    padding: 0;
    font-family: Poppins;

}

body{
    width: 100%;
    height: 200vh;
    margin: 0 auto;
    overflow-x: hidden;
    background-color: #000;
    min-height: 100vh;
}

.header{
    height: 60px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    margin: 0 auto;
    transition: top 0.3s ease;

}
.header .logo{
    height: 30px;
    width: 65%;
    background-color: #000;
    padding: 10px;
    float: left;
}
.header .redes-sociais{
    height: 30px;
    width: 20%;
    position: relative;
    float: right;
    padding: 5px;
    margin-right: 10px;
}

.header .redes-sociais img{
    height: 40px;
    width: 20%;
    float: right;
    padding: 5px;
    margin-right: 10px;
}

.header .redes-sociais img:hover{
        transform: scale(1.1);
        transition: 0.5s;
}
.header-2 {
    background-color: #212121;
    width: 100%;
    height: 50px; 
    padding: 10px;
    box-shadow: 0 0.3rem 0.5rem #212121;
    display: flex;
    justify-content: center;
    align-items: center; 
    position: sticky;
    transition: top 0.3s ease;
}

.header-2 ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.header-2 ul li {
    margin-left: 20px;
}

.header-2 ul li:first-child {
    margin-left: 0;
}

.header-2 ul li a {
    text-decoration: none;
    color: #343030;
    padding: 15px;
    height: 40px;
    display: block;
    line-height: 40px;
}

.header-2 ul li a:hover {
    height: 20px;
    color: #ccc;
    border-bottom: 2px solid #ccc;
    transform: scale(1.1);
    transition: 0.5s;
}

.header-2 ul li a:focus {
    height: 20px;
    color: #DF2E0F;
    border-bottom: 2px solid #DF2E0F;
    transform: scale(1.1);
    transition: 0.3s;
}

section .topo-site{
      padding: 40px 4%;
}

.inicio{
    background-color: #000;
    width: 100%;
    height: 50%;

}
.inicio>img{
    background-color: #000;
    width: 400px;
    height: 400px;
    padding: 30px;
    float: right;

}

.titulo-inicio p{
    color: #ccc;
    background-color: #000;
    width: 300px;
    height: 0 0;
    padding: 0px 150px;
    margin-top: 50px;
    font-family: "Poppins Light";
    font-size: 40px;
    text-align: center;
}

.texto-inicio p{
    width: 400px;
    color: #ccc;
    background-color: #000;
    margin-left: 50px;
    font-family: "Poppins Light";
    padding: 3%;
    text-align: justify;
    font-size: 20px;
}

section .sobre{
    padding: 40px 4%;
    background-color: #000;
    width: 100%;
    height: 50%;
}

.aba-sobre{
    background-color: #000;
    padding-top: 200px;
}
.aba-sobre>img{
    background-color: #000;
    padding-top: 200px;
    width: 400px;
    height: 400px;
    padding: 20px 40px;
    float: left;
}

.titulo-sobre p{
    color: #ccc;
    background-color: #000;
    width: 300px;
    height: 0 0;
    margin-right: 25px;
    margin-left: 25px;
    padding: 1px 50px;
    font-family: "Poppins Light";
    font-size: 40px;
    text-align: justify;
    float: right;
}

.titulo-sobre2 p{
    color: #DF2E0F;
    background-color: #000;
    width: 300px;
    height: 0 0;
    margin-right: 70px;
    padding: 1px 50px;
    font-size: 40px;
    text-align: justify;
    float: right;
}


.texto-sobre p{
    width: 400px;
    color: #ccc;
    background-color: #000;
    margin-right: 50px;
    font-family: "Poppins Light";
    padding: 3%;
    text-align: justify;
    font-size: 20px;
    float: right;
}
section .especialidades{
    padding: 40px 4%;
    background-color: #000;
    width: 100%;
    height: 100%;
}

.aba-especialidades{
        width: 100%;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 750px;
}

.especialidades .text-esp {
    color: #ccc;
    background-color: #000;
    font-family: "Poppins Light";
    font-size: 40px;
    text-align: center;
    float: left;
}

.especialidades .text-esp2 {
    color: #DF2E0F;
    background-color: #000;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 40px;
    text-align: center;
    float: right;
}


.card{
    display: flex;
    width: 250px;
    height: 200px;
    position: sticky;
    justify-content: center;
    margin:10px 25px 200px 50px;
    background-color:#ccc;
    border-radius: 20px;
    transition: 0.5s;
    float: left;
}

.card:hover{
    height: 400px;
}

.card .img-box{
    position: absolute;
    width: 150px;
    height: auto;
    top: 0px;
    transition: 0.5s;
}

.card:hover .img-box{
    top: -50px;
    scale: 0.75;

}

.card .img-box img{
width: 100%;
height: 100%;
object-fit: cover;
}

.card .content{
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 150px;
    width: 100%;
    padding: 0px 30px;
    text-align: center;
    height: 30px;
    overflow: hidden;
    transition: 0.5s;
}

.card .content h2{
    color: #DF2E0F;
    width: 250px;
    height: 0 0;
    margin-right: 70px;
    font-size: 20px;
    text-align: center;
}

.card .content p{
    color: #000;
    width: 250px;
    height: 0 0;
    margin-right: 70px;
    font-size: 15px;
    text-align: center;
    font-family: "Poppins Light";
}

.card .read-more{
    width: 100px;
    background-color: #DF2E0F;
    padding: 12px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin: 0 auto;

}

.card:hover .content{
    top: 100px;
    height: 350px;


}

section .contato{
    padding: 40px 4%;
    background-color: #000;
    width: 100%;
    height: 100%;
}

.contato {
    width: 900px;
    height: 100%;
   margin-top: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cnt{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.contato .text-cnt p {
    color: #ccc;
    font-family: "Poppins Light";
    font-size: 40px;
    text-align: center;
    float: left;
}
.contato .text-cnt2 p {
    color: #DF2E0F;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 40px;
    text-align: center;
    float: right;
}

.form{
    height: 650px;
    width: 450px;
    align-items: center;
    align-content: center;
    text-align: center;
    background-color: #4D4444;
    color: #343030;
    padding: 30px 50px;
    border-radius: 15px;
    margin: 0 10px;

}



/*forms*/

form {
    max-width: 400px;
    margin: 0 auto;
    margin-top: 90px;
    padding-top: 80px; 
}
label {
   display: block;
    margin-bottom: 8px;
    color: #000;
}
input, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    border-radius: 20px;
    background-color: #645858;
    color: #ccc;
}
button {
    width: 300px;
    background-color: #DF2E0F;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 50px;
}
button:hover{
    width: 300px;
    background-color: #bc1c00;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 50px;
}


.footer{
    height: 60px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    margin: 0 auto;
    transition: top 0.3s ease;

}