/* Getting fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
    font-family: "Miltona";
    font-style: normal;
    font-weight: 700;
    font-display: sawp;
    src: url(/data/fonts/Miltona/Web_Fonts/miltona-webfont.woff);
}

@font-face {
    font-family: "Miroles";
    font-style: normal;
    font-weight: 700;
    font-display: sawp;
    src: url(/data/fonts/MIROLES/Web_Fonts/miroles-webfont.woff);
}

:root {
    --text-color:#474747;
    --heading-color:#272727;
    --dim-white:#F0F0F0;
    --pink:#ffc8c8;
    --light-pink:#ffebeb;
}

.nav-bar {
    padding-top: 28px;
    margin-inline: auto;

    text-align: center;
    background-color: var(--light-pink);
}

.nav-text {
    max-width: 625px;
    margin-inline: auto;

    position: relative;
    height: 130px;
}

.nav-text h1 {
    font-family: "Miroles";
    font-size: 3rem;
    letter-spacing: normal;

    margin: 0;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.nav-text img {
    margin: 0;
    position: absolute;
    left: 0;
}

.nav-buttons {
    margin-top: 38px;
    margin-bottom: 38px;

    position: relative;
    display: inline-block;
}

.nav-buttons > * {
    padding-left: 13px;
    padding-right: 13px;

    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-color);
}

.pink-button{
    margin: 12px;
    
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 12px;
    padding-bottom: 12px;

    background-color: var(--pink);
    border-radius: 6px;
    border: none;

    font-weight: 600;
    text-decoration: none;

    transition: color 0.15s;
    color: black;
}

.pink-button:hover{
    color: white;
}

.dropdown-button {
    display: inline;
}

.dropdown-content {
    display: none;
    position: absolute;
    width: 260px;
    right: 222px;

    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;

    text-align: left;

    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: gray;
    z-index: 1;
}

.dropdown:hover .dropdown-content{
    display: block;
}

.dropdown-content > * {
    margin-top: 2px;
    margin-bottom: 2px;

    display: block;

    text-decoration: none;
    color: var(--text-color);
}

.dropdown-content > *:hover {
    background-color: var(--dim-white);
}

.mobile-menu {
    margin: 0;
    padding: 0;
}

.head {
    font-family: "Miltona";
    margin-top: 12px;
    margin-bottom: 48px;
    font-size: 3rem;
    text-align: center;
}


h1, h2, h3, h4, h5, h6 {
    font-family: "Libre Baskerville", serif;
    font-weight: 500;
    letter-spacing: -1px;

    color: var(--heading-color);
}

body {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;

    color: var(--text-color);
}

a {
    color: var(--pink);
}

a:hover {
    color: var(--text-color);
}

hr {
    margin-left: 5vw;
    margin-right: 5vw;

    color: var(--pink);
    background-color: var(--pink);
}

.footer-container {
    max-width: 90vw;
    margin-inline: auto;
    padding-bottom: 25px;
}

.footer {
    width: 33%;
    height: 200px;
    
    vertical-align: top;
    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.footer * {
    align-self: center;
    margin: 0;
}

.footer h1 {
    font-family: "Libre Baskerville", serif;
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: -1px;

    margin-top: 60px;
}

#mobile-collapsible {
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    transition: rotate 0.25s ease-in-out;
}

@media screen and (min-width: 1000px) {
    .show-on-mobile {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .hide-on-mobile {
        display: none;
    }
    
    .show-on-mobile {
        display: block;
    }

    .nav-bar {
        padding-left: 5vw;
        padding-bottom: 28px;
        text-align: left;
    }

    .nav-buttons {
        display: inline;
        line-height: 3rem;
    }

    .nav-buttons > * {
        display: block;
        padding: 0;
    }

    .nav-text{
        height: 228px;
        margin-inline: unset;
    }

    .nav-text h1 {
        position: unset;
        transform: translateY(0%);
    }

    .nav-text img {
        position: static;
    }

    .nav-buttons > a.pink-button {
        margin-top: 12px;
        margin-bottom: 12px;
        margin-left: 0;
        margin-right: 0;

        padding: 12px;

        display: inline-block;
    }

    .dropdown-content {
        position: static;
        display: block;
    }

    .dropdown-content > *:hover {
        background: none;
    }

    .mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .footer-container {
        margin-top: 24px;
        display: block;
        text-align: center;
    }

    .footer {
        display: inline-block;
        width: 90vw;
        height: fit-content;
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 500px) {
    .nav-text {
        margin-bottom: 28px;
    }
}