/* playfair-display-latin-wght-normal */
@font-face {
  font-family: 'Playfair Display Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/playfair-display:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}



/* montserrat-latin-wght-normal */
@font-face {
  font-family: 'Montserrat Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/montserrat:vf@latest/latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

h2 {
    font-family: "Playfair Display Variable" sans-serif;
    font-size: small;
}

:root {
    --color-primary: #71181e;
    --color-secondary: #fccf65;

}

html,
body {
    height: 100%;
    margin: 0px;
    background-color: var(--color-secondary);

}

body {
    color: #71181e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 100%;
    gap: 40px;
    box-sizing: border-box;
    font-family: "Montserrat Variable" sans-serif;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-direction: column;
    margin-top: 30px;
}

header img {
    height: 120px;
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.welcome {
    font-style: italic;
    font-size: 32px;
    margin: 0;
}

.logo-text {
    font-size: 72px;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    font-family: "Playfair Display Variable";
    overflow: hidden;
}

main {
    display: flex;
    flex-flow: columns wrap;
    align-items: center;


}


main section {
    background-color: #5e8c7f;
    color: white;
    border-radius: 30px;
    padding: 10px;
    max-width: 800px;
    text-align: center;
}

main section h2 {
    margin-top: 0px;
}

ul {
    padding: 0px;
    line-height: 25pt;
}

.banner {
    font-family: Playfair Display Variable;
    font-style: italic;
    font-size: x-large;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
}


.bubbles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 20px;
    width: fit-content;
    font-weight: bold;
    font-style: italic;
}

.bubbles p:nth-child(even){
    align-self: flex-end;
}


.bubbles p {
    background-image: url("./bubble_tetriery.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 12% 7% 15% 7%;
    width: fit-content;
    color: white;
}

.bubbles p:last-child {
    background-image: url("./bubble_primary.png");
}

.bubbles p.narrow {
    background-image: url("./bubble_narrow.png");
}

.bubbles p.narrow-flipped{
    background-image: url("./bubble_narrow_flipped.png");
}

section h2 {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

section p {
    font-size: 18px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    box-sizing: border-box;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    width: 100%;
    border-radius: 20px 20px 0px 0px;
    padding: 10px;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

footer img {
    height: 72px;
}

footer .logo-text {
    flex-shrink: 1;
    overflow:hidden;
}



a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/*
@media (max-width: 870px) {
    header {
        flex-direction: column;
    }

    header img:first-child {
        display: none;
    }

    header h1 {
        font-size: 48px;
    }

    .welcome {
        font-size: 24px;
    }

    section {
        padding: 30px 20px;
    }

    section h2 {
        font-size: 25px;
    }

    section em {
        font-size: 18px;
    }

    section p {
        font-size: 14px;
    }
} */

em {
    font-size: inherit;
}