@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

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

/* Aplicando uma fonte importada no site e deixando responsiva de acordo com diferentes telas */
body {
    font-family: 'Cormorant Garamond', 'Bebas Neue', sans-serif;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 600;
}

/* Configurando uma largura mínima */
html, body {
    min-height: 100vh;
    background-color: darkgray;
}

/* Organizando o cabeçalho do site */
header {
    background-color: black;
    color: white;
    text-align: center;
}

/* Configurando a palavra principal do cabeçalho */
header > h1 {
    padding-top: 50px;
    font-family: 'Montserrat', 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-variant: small-caps;
}

/* Dando espaço do subtítulo do site */
header > p {
    padding-bottom: 50px;
}

/* Configurando todos os links */
header a, footer a {
    color: white;
    text-decoration: none; /* Tirando o underline do link */
    font-weight: bolder;
}

header a:hover, footer a:hover {
    text-decoration: underline; /* Colocando underline após passar o mouse em cima do link */
}

/* Aplicando todas as configurações do poema */
section {
    padding: 10vh 30px;
    line-height: 1.8;
}

/* Modificando a fonte */
section p {
    padding-bottom: 2em;
    font-style: italic;
}

section.normal {
    background-color: white;
    color: black;
}

/* Configuração das seções Parallax */
section.imagem,
section.imagem2 {
    background-color: rgb(51, 51, 51);
    background-position: center center; /* Centralizado funciona melhor no GitHub */
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    box-shadow: inset 6px 6px 13px 0px rgba(0, 0, 0, 0.6);
    min-height: 70vh;
    color: white;
}

/* Caminhos das imagens com aspas */
section.imagem  { background-image: url('../imagens/background001.jpg'); }
section.imagem2 { background-image: url('../imagens/background002.jpg'); }

section.imagem > p,
section.imagem2 > p {
    display: inline-block;
    padding: 1rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    text-shadow: 1px 1px 0px black;
}

/* Modificando o rodapé do site para ficar mais profissional e responsivo */
footer {
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    font-style: normal;
    text-align: center;
    color: white;
    padding: 10px;
}

@media (max-width: 768px) {
    section.imagem,
    section.imagem2 {
        background-position: 75% center;
        min-height: 50vh;
    }
}