
html {
    font-size:14px;
}

body {
    font-family: ralewayregular, sans-serif;
    margin: 0 auto;
    padding: 0;
}

header {
    width:100%;
    background-image:url('../img/header.jpg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    color:#fff;
    text-align:center;
    display:flex;
    flex-direction:column;
    aspect-ratio: 2/1;
}

header p {
    margin-top:10rem;
    font-size:1.75rem;
    font-weight:bold;
    text-transform:uppercase;
}

header h1 {
    margin:0;
    font-size:11rem;
    font-family: 'Catchy Mager', serif;
}
header h1 a {
    color:#fff;
    text-decoration: none;
}

header h1 a:hover {
    color:#fff;
    text-decoration: underline;
}

header h3 {
    margin:0;
    margin-top:2rem;
    font-size:6rem;
    font-family: 'Catchy Mager', serif;
    flex-grow:1;
}

nav {
    border-top:0.2rem #fff solid;
    width:100%;
    align-self:flex-end;
    height:2rem;
    padding:1rem;
}

nav ul{
    width:90%;
    margin:0;
    margin-left:auto;
    margin-right:auto;
    list-style-type: none;
    display:flex;
    flex-direction:row;
    flex-wrap: nowrap;
    justify-content: center;
}

nav ul li {
    
    padding-top:0;
    white-space: nowrap;
    flex-grow: 1;
    font-size:1.5rem;
    font-weight:bolder;
    text-transform: uppercase;
    cursor:default;
    letter-spacing: 0.3rem;
}

nav .selected {
    text-decoration: underline;
}

nav a {
    color:#fff;
    text-transform: uppercase;
    font-size:1.3rem;
    font-weight:bold;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.content {
    margin:4rem;
    margin-left:auto;
    margin-right:auto;
    max-width:70%;
    font-size:1.5rem;
    text-align: justify;
}

.content .team-photo {
    max-width:60%;
    margin:4rem;
    float:right;
}

.content iframe {
    width:100%;
    border-width:0;
    min-height:800px;
}

li .photo, p .photo {
    float:right;
    width:25%;
    margin:2rem;
    margin-top:0;
}

footer {
    background-color: #623e2a;
    color: #efebe5;
    text-align: center;
    margin:auto;
    padding:0.33rem;
    padding-top:3rem;
    max-width: 70%;
    justify-content: center;
}

footer div a, footer div a:visited {
    color:#fff;
}

footer .signup-button-wrapper {
    padding:1rem;
    font-size:1.2rem;
    max-width:fit-content;
    margin-left:auto;
    margin-right:auto;    
}

.signup-button {
    padding:1rem;
    align-items: center;
    font-size:1.5rem;
    font-weight: bold;
    color:#623e2a !important;
    background-color: #efebe5;
    text-decoration: none;
    border-radius:3rem;
    border-width:1rem;
    border-color: #623e2a;
    white-space: nowrap;
}

.signup-button-inline {
    font-size:1.5rem;
    font-weight: bold;
    color:#623e2a !important;
    text-decoration: underline;
    white-space: nowrap;
}

footer .footer-links {
    padding-top:3rem;
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width:100%;
    gap:2rem;
}

@media only screen and (max-width:1280px) {
    header p {
        margin-top:5rem;
    }

    header h1 {
        font-size:8rem;
    }
    
    header h3 {
        font-size:4rem;
        flex-grow:1;
    }
    .content {
        margin:2rem;
        margin-left:auto;
        margin-right:auto;
        max-width:85%;
        font-size:1.5rem;
        text-align: justify;
    }
}



@media only screen and (max-width:870px) {
    header p {
        margin-top:2rem;
    }
    header h1 {
        font-size:6rem;
        margin:1rem;
    }
    
    header h3 {
        font-size:3rem;
    }
    .content {
        margin:2rem;
        margin-left:auto;
        margin-right:auto;
        max-width:85%;
        font-size:1.5rem;
        text-align: justify;
    }
    nav a {
        font-size:1.1rem;
    }

    nav ul li.selected {
        font-size:1.1rem;
        align-self:flex-end;
        padding-bottom:0.1rem;
    }
}

@media only screen and (max-width:720px) {
    nav a {
        font-size:0.9rem;
    }

    nav ul li {
        letter-spacing: initial;
    }

    nav ul li.selected {
        font-size:0.9rem;
        align-self:flex-end;
        padding-bottom:0.1rem;
    }

    header h1 {
        margin:0;
        font-size:5rem;
    }

    header h3 {
        margin:0;
        font-size:2.5rem;
    }

    header p {
        padding-top:1rem;
        font-size:1.5rem;
    }

    .content {
        margin:2rem;
        margin-left:auto;
        margin-right:auto;
        max-width:85%;
        font-size:1.5rem;
        text-align: justify;
    }

    .content .team-photo {
        max-width:45%;
        margin:2rem;
        margin-top:0;
    }
    
}

@media only screen and (max-width:520px) {
    html {
        font-size:12px;
    }
    
    .content {
        margin:2rem;
        margin-left:auto;
        margin-right:auto;
        max-width:85%;
        font-size:1.5rem;
        text-align: justify;
    }


    .content .team-photo {
        max-width:45%;
        margin:2rem;
        margin-top:-1rem;
    }
}