@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Great+Vibes&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Oxygen:wght@300;400;700&family=Prata&family=Quicksand:wght@300..700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Rufina:wght@400;700&display=swap');

/* Estilização da pagina por inteira */
* {
    margin: 0;
    padding: 0;
}

body {
    background: url('img/background.jpg') no-repeat center center;
    background-size: cover;  
    height: 100vh;           
    margin: 0;               
}

html {
    scroll-behavior: smooth;
}

/*Estilização da primeira pagina*/
.todo {
    width: 100%;
    height: 100vh;
}

.container {
    display: flex;
    justify-content: center;
    width: 80%;
    height: 80%;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 20px;
}

.info {
    display: flex;
    width: 30vw;
    flex-direction: column;
    margin-left: 60px;
    align-items: center;
    justify-content: center;
}

#text {
    gap: 16px;
}

h2 {
    font: 700 normal 64px "Rufina", serif;
}

p {
    font: 300 normal 18px "Oxygen", serif;
    text-align: justify;
}

#contatos-icons {
    display: flex;
    gap: 8px;
    padding-top: 24px;
    font-size: 20px;
}

i {
    color: #a8052b;
}

.button {
    position: relative;
    bottom: -50px;
    background-color: #ce526f;
    padding: 10px 10px;
    text-align: center;
    color: white;
    opacity: none;
    border: none;
    border-radius: 20px;
    font: 700 normal 20px "Rufina", serif;
    cursor: pointer;
}

.button:hover {
    background-color: #c42d52;
}

nav {
    padding: 10px;
    display: flex;
    width: 50vw;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#sections {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 40px;
    margin-right: 40px;
    width: 36vw;
    text-align: center;
    padding: 20px;
    border-bottom: rgb(219, 117, 134) 3px solid;
}

a {
    list-style: none;
    text-decoration: none;
    color: black;
}

@media (max-width: 768px) {

    .todo {
        width: 100%;
        height: 100%;
    }

    .imagem-home {
        position: absolute;
        background-image: url(img/photo03.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 100px;
        width: 200px;
        height: 260px;
    }
    .container {
        gap: 0px;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding-top: -10px;
    }

    .info {
        margin-left: 0;
        width: 70vw;
    }

    #text {
        margin-top: 0px;
    }

    h2 {
        font: 700 normal 36px "Rufina", serif;
    }

    p {
        font-size: 16px;
    }

    button {
        position: relative;
        bottom: 20px;
        padding: 5px 5px;
    }

    nav {
        display: none;
    }
}

@media (max-width: 468px) {

    .container {
        height: auto;

    };    h2 {
        font: 700 normal 20px "Rufina", serif;
    }
}

/* Ajustes para telas de até 1024px */
@media (max-width: 1024px) {

    .todo {
        width: 100%;
        height: 70%;
    }

    .imagem-home {
        position: relative;
        background-image: url(img/photo03.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 100px;
        width: 200px;
        height: 260px;
    }
    .container {
        position: relative;
        width: 85%; /* Ajusta a largura da container para maior espaço */
        height: auto; /* Ajusta a altura para se adaptar ao conteúdo */
        gap: 20px; /* Ajusta o gap entre os itens */
        flex-direction: column; /* Organiza os itens em coluna */
        align-items: center; /* Centraliza os itens na tela */
        padding: 20px; /* Adiciona padding para não ficar colado nas bordas */
        padding-bottom: 30px;
        margin-top: 120px;
    }

    .info {
        width: 80vw; /* Ajusta a largura da coluna para 80% da tela */
        margin-left: 0; /* Remove a margem à esquerda */
        margin-right: 0; /* Remove a margem à direita */
        text-align: center; /* Centraliza o texto */
    }

    h2 {
        font: 700 normal 28px "Rufina", serif; /* Ajusta o tamanho da fonte para o título */
        text-align: center; /* Garante que o título fique centralizado */
        margin-top: 20px; /* Dá um pequeno espaço superior */
    }

    p {
        font-size: 16px; /* Ajusta o tamanho da fonte do parágrafo */
        line-height: 1.5; /* Melhora o espaçamento entre linhas */
    }

    .button {
        padding: 12px 20px; /* Ajusta o padding do botão */
        font-size: 18px; /* Ajusta o tamanho da fonte do botão */
        bottom: 0; /* Remove o deslocamento negativo */
        margin-top: 10px; /* Adiciona espaço acima do botão */
        width: auto; /* Garante que o botão se ajuste */
    }

    #sections {
        width: 70vw; /* Ajusta a largura da seção */
        text-align: center; /* Centraliza o texto dentro das seções */
        padding: 20px;
        margin-left: 0;
        margin-right: 0;
        border-bottom: rgb(219, 117, 134) 3px solid; /* Mantém o estilo */
    }
}


/* Estilização das seções*/

section {
    position: relative;
    padding: 50px;
    margin: 20px 0px;
    height: auto;
}

/* Estilização das seção Sobre mim*/

#sobre {
    background-color: white;
    margin-top: 160px;
}

.container-sobre {
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    height: auto;
    gap: 120px;
}

#bio {
    display: flex;
    width: 50vw;
    flex-direction: column;
    gap: 20px;
    margin: 0px;
    padding: 0px;
}

h4 {
    font: 900 italic 18px "Rufina", serif;
    margin-left: 190px;
}

sup {
    font-size: 34px;
}

#imagem-about {
    width: 30vw;
    background-image: url(img/photo01.jpg); 
    background-repeat: no-repeat;             
    background-size: cover;                  
    background-position: center;             
    height: 40vw;
    border-radius: 20px; 
}

@media(max-width: 768px) {

    .container-sobre {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;

    }

    #bio {
        display: flex;
        width: 70vw;
    }
    
    h3 {
    font: 700 normal 18px "Rufina", serif;
    }

    h4 {
        font: 900 italic 18px "Rufina", serif;
        margin-left: 70px;
    }
    sup {
        font-size: 24px;
    }

    #imagem-about {
        padding-top: 20px;
        padding-bottom: -20px;
        width: 80vw;            
        height: 100vw;
    }
}

/*Estilização da seção Tratamentos*/
#tratamentos {
    padding: 50px 20px;
    background-color: white;
    text-align: center;
}

#tratamentos h2 {
    font: 700 normal 40px "Rufina", serif;
    color: black;
}

.servicos-container {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.servico {
    background-color: #ffffff;
    padding: 20px;
    width: 290px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    overflow: hidden;
    transition: all 0.3s ease;
    height: auto;
}

.servico:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.servico h5 {
    font: 900 italic 18px "Rufina", serif;
    color: #a8052b;
}

@media (max-width: 768px) {
    .servicos-container {
        flex-direction: column;
        align-items: center;
    }
}


/*Estilização da seção de Agendamento*/

#agendamento {
    display: flex;
    gap: 40px;
    width: auto;
}

#imagem-agendamento {
    width: 30vw;
    background-image: url(img/photo02.jpg); 
    background-repeat: no-repeat;             
    background-size: cover;                  
    background-position: center; 
    border-radius: 20px;            
    height: 40vw;
}

.textos {
    gap: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    width: 100%;
}
.button-agendamento {
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #ce526f;
    width: 90%;
    padding: 10px;
    margin-top: 40px;
    text-align: center;
    color: white;
    opacity: none;
    border: none;
    border-radius: 20px;
    font: 700 normal 20px "Rufina", serif;
    cursor: pointer;
}

.button-agendamento:hover {
    background-color: #c42d52;
}

@media(max-width: 768px) {
    #imagem-agendamento {
        padding-top: 20px;
        padding-bottom: -20px;
        width: 80vw;            
        height: 100vw;
    }

    .textos {
        width: 30vw;

    }

    .textos h2{
        width: 30vw;
        font-size: 26px;
    }

    .textos p {
        font-size: 16px;
    }

    .button-agendamento {
        display: flex;
        justify-content: center;
        text-align: center;
        background-color: #ce526f;
        width: 100%;
        padding: 10px 5px;
        font-size: 14px;
    }
}