@use '_variables';
html {
    scroll-behavior: smooth;
    height: 100svh;
    font-size: 36px;
    @media (min-device-width: 800px) {
        font-size: 18px;
    }
}


body {
    font-family: "Segoe UI";
    color: variables.$color-black;
    background-color: variables.$color-white;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

main {
    text-align: center;
}

footer {
    margin-top: auto;
    min-height: 5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: variables.$color-accent;
    font-size: 1rem;
    font-style: italic;
}

.copy-wrapper {
    max-width: 80ch;
    margin: auto;
    text-align: left;
    padding: 2.5em;
    padding-top: 0em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: highwayGothic;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    margin-top: 1rem;
}

h2 {
    font-size: 3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-blue {
    background-color: variables.$color-light;
    color: variables.$color-white;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

p, q {
    text-wrap: pretty;
    font-family: "Segoe UI";
}


.button-green {
    text-align: center;
    font-family: highwayGothic;
    text-transform: uppercase;
    margin-top: 2rem;
    a, button {
        
    padding: 1rem 2rem;
    font-size: 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    background-color: variables.$color-primary;
    color: variables.$color-white;
    }
}


.success-message {
    justify-content: center;
    background-color: green;
    color: variables.$color-white;
    border-radius: 0.5em;
    width: 100%;
    display: none;
    height: 3rem;
    margin-top: 2rem;
    align-items: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-wrapper {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    margin-top: 8rem;
    border-radius: 0.5rem;
}