@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border: 1px solid red; */
    padding: 0 15px;
    background-color: #00cad1;
    border-bottom: 2px solid #3eb3ad;
    
}

.logo img{
    width: 120px;
    display: flex;
}

nav a{
    text-decoration: none;
    margin: 0 0 0 15px;
    color: #fff;
    /* border: 1px solid red; */
}

nav a:hover{
    border-bottom: 2px solid #fff;
}

main{
    width: 100%;
    height: 600px;
    background-image: url(./assets/recepcao.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    /* border: 1px solid red; */
}

main h1{
    color: #fff;
    /* border: 1px solid red; */
    padding: 0 15px;
    font-weight: normal;
    font-size: 40px;
}

.largura-limitada{
    width: 600px;
    margin: 0 auto;
    color: #0000008e;
}

.largura-limitada h2,p,h3{
    text-align: center;
}

.largura-limitada h2,h3{
    margin: 35px 0 15px 0;
}

.largura-limitada p{
    margin: 0 0 15px 0;
}

.info{
    display: flex;
    align-items: center;
}

.lista ul{
    margin: 0 0 0 40px;
}

.lista p{
    font-size: 18px;
}

section.cards img{
    width: 300px;
    border-radius: 100px 5px 0 100px;
}

section.cards{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px;
    /* border: 1px solid red; */
}

section.cards p{
    /* border: 1px solid green; */
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000ab;
}

.card1,.card2,.card3{
    /* border: 1px solid blue; */
    border-radius: 5px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, .5);
}

.button{
    /* border: 1px solid red; */
    display: flex;
    justify-content: center;
}

.button a{
    width: 138px;
    height: 38px;
    background-color: #00cad1;
    color: #fff;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #3eb3ad;
    text-decoration: none;
}

.button a:hover{
    background-color: #fff;
    color: #00cad1;
    transition: .3s;
}

.largura-limitada span{
    color: #0000008e;
    font-weight: bold;
}

.mapa{
    /* border: 1px solid red; */
    text-align: center;
}

.mapa iframe{
    width: 55%;
    border-radius: 3px;
}

footer{
    background-color: #0c6e71;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

footer img{
    padding: 15px 0 5px 0;
}

.contato p{
    margin-bottom: 15px;
    color: #fff;
}

.contato p:last-of-type{
    padding-bottom: 20px;
}

@media screen and (max-width: 1024px){
    .img-doutor img{
        display: none;
    }

    .lista{
        /* border: 1px solid red; */
        margin: 0 auto;
        padding-top: 15px;
    }

    section.cards{
        flex-wrap: wrap;
    }

    .largura-limitada{
        width: 425px;
    }

    main{
        height: 400px;
    }

    main h1{
        font-size: 32px;
    }
}

@media screen and (max-width: 768px) {
    main h1{
        font-size: 28px;
    }

    main{
        height: 350px;
    }
}

@media screen and (max-width: 425px){
    header{
        flex-direction: column;
        padding-bottom: 10px;
    }

    main{
        height: 300px;
    }

    main h1{
        font-size: 25px;
    }

    .largura-limitada{
        width: 355px;
    }

    .img-doutor img{
        display: none;
    }

    section.cards{
        flex-direction: column;
    }

    .mapa iframe{
        width: 80%;
    }

    nav{
        border-top: 1px solid #3eb3ad;
        width: 95%;
        text-align: center;
        padding-top: 5px;
    }

    .lista p{
        margin-top: 15px;
    }

    .lista li{
        font-size: 14px;
    }

    .largura-limitada p{
        padding: 0 20px;
    }

    .contato p{
        width: 355px;
    }
}