/** FONTS **/
@font-face {
    font-family: 'Juana Semibold';
    src: url('juana-semibold.woff') format('woff'),
    url('juana-semibold.otf') format('otf');
}
@font-face {
    font-family: 'Juana Medium';
    src: url('juana-medium.woff') format('woff'),
    url('juana-medium.otf') format('otf');
}

/** LAYOUT **/
html,
body {
    padding: 0;
    margin: 0;
    font-size: 16pt;
}
h1,h2,h3,h4,h5,h6, p{
    margin: 0;
    padding: 0;
}
a, a:visited {
    color: #0e113b;
}
a:hover {
    color: #de5300;
}
body {
    display: flex;
    flex-direction: column;
    background: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: rgb(37,37,37);
}
.container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 1rem;
    flex-grow: 1;
    align-items: center;
    align-self: center;
}

.header-container{
    z-index: 2;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.header-container .whitepaper{
    background: #de5300;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
}

.header-container .whitepaper a.text {
    text-decoration: none;
    font-weight: normal;
}

.header-container .whitepaper a, .header-container .whitepaper a:visited{
    font-weight: bold;
    text-decoration: underline;
    color: #fff;
}

.header {
    display: flex;
    flex-direction: row;
    padding: 1rem 0;
    justify-content: space-between;
    background-color: #fff;
    align-items: center;
}

.header .name {
    margin-left: 2rem;
}

#menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    margin-right: 2rem;
}

#menu-toggle.open {
    rotate: 90deg;
}

#menu-toggle .bar {
    height: 2px;
    background-color: #de5300;
}

.content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 2rem 0;
}

.footer{
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    text-transform: uppercase;
}

#menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

#menu .inner {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

#menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#menu ul li {
    text-transform: uppercase;
    text-align: center;
}

#menu ul li a, #menu ul li a:visited{
    text-decoration: none;
} 

/** COMPONENTS **/
.name {
    font-family: 'Juana Semibold';
    color: #0e113b;
    font-size: 2rem;
}
.name span {
    color: #de5300;
}

/** TITLE **/
.title {
    display: flex;
    flex-direction: row;
    margin: 8rem 0 2rem 0;
}

.title .image {
    flex: 3;
    background-image: url('photo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.title .inner {
    display: flex;
    flex-direction: column;
    max-width: 700px;
}

.title .copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 4rem 2rem;
    flex: 4;
}

.title h1{
    font-family: 'Juana Medium';
    color: #0e113b;
    font-size: 4rem;
    font-weight: 500;
}

.title h2 {
    font-weight: 300;
    font-size: 1.5rem;
    color: #363b56;
}

/** DESCRIPTION **/
.description {
    margin: 2rem 0;
    display: flex;
    flex-direction: row;
}

.description h1 {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 400;
    color: #363b56ff;
    flex: 1;
}

.description p {
    flex: 3;
}

/** ABOUT **/

.about {
    margin: 2rem 0;
    display: flex;
    flex-direction: row;
}

.about h1 {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 400;
    color: #363b56ff;
    flex: 1;
}

.about-content{
    flex: 3;
}

/** WHITEPAPER **/
.whitepaper-cta {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
    max-width: 50%;
    align-self: center;
}

.whitepaper-cta img {
    height: 10rem;
    border: 2px solid #363b56;
}

.whitepaper-cta h3 {
    font-weight: 300;
    font-size: 1.5rem;
    color: #363b56;
}

.whitepaper-cta .copy{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.whitepaper-cta .button, .whitepaper-cta .button:visited {
    border: 0;
    background-color: #de5300;
    font-family: 'Juana Semibold';
    border-radius: 1rem;
    color: #fff;
    align-self: flex-start;
    padding: 1rem;
    cursor: pointer;
    text-decoration: none;
}

/** MEDIA **/
.media{
    margin: 1rem 0;
}

/** MANAGEMENT **/
.bios {
    margin: 2rem 0 4rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.management, .advisors {
    flex-basis: 40%;
}

.management h1, .advisors h1, .media h1{
    font-family: 'Juana Semibold';
    color: #0e113b;
    font-size: 2rem;
}

.divider {
    background: #ced8f1ff;
    width: 1px;
    margin-top: 4rem;
}

.members {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.member h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #de5300;
}

.member h2 a, .member h2 a:visited {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    color: #de5300;
    text-decoration: none;
}

.member h2 svg{
    height: 1.25rem;
}

.member {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.member img {
    max-width: 200px;
    border-radius: 0.25rem;
}

/** CONTACT **/

.contact {
    margin: 4rem 0 2rem 0;
    align-self: center;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    background-color: #e6e6e6;
    padding: 2rem;
}

.contact .left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact h1{
    font-family: 'Juana Semibold';
    color: #0d1a54ff;
}

.contact a, .contact a:visited{
    text-decoration: none;
}

form {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form .fullname{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

form .field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
form button {
    border: 0;
    background-color: #de5300;
    font-family: 'Juana Semibold';
    border-radius: 1rem;
    color: #fff;
    align-self: flex-start;
    padding: 1rem;
    cursor: pointer;
}

form .field input, form .field textarea, select {
    font-family: Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.15;
    color: #000;
    padding: 0.5rem;
    border: 1px solid #333;
}

form .field textarea {
    box-sizing: border-box;
    min-height: 6rem;
}

form .success {
    font-weight: bold;
    color: #de5300;
}

@media only screen and (max-width: 767px) {
    .title .image {
        flex: 0;
        display: none;
    }
    .container {
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
    }

    .whitepaper-cta {
        flex-direction: column;
        max-width: 100%;
        margin: 0rem  1rem 2rem 1rem;
        align-items: center;
    }
    
    .whitepaper-cta img {
        height: auto;
        width: 50%;
        border: 2px solid #363b56;
    }

    .whitepaper-cta .copy{
        text-align: center;
        align-items: center;
    }

    .whitepaper-cta .button {
        align-self: center;
    }

    .media{
        margin: 1rem;
    }
    
    .bios {
        flex-direction: column;
        gap: 2rem;
        margin: 0 1rem;
    }
    .bios .divider {
        display: none;
    }
    .description, .about{
        flex-direction: column;
        margin: 1rem;
    }
    .description h1, .about h1{
        margin-bottom: 0.5rem;
    }
    .form .fullname {
        flex-direction: column;
    }
    .contact form {
        width: 100%;
    }
    .title .copy {
        padding: 1rem;
    }

    .title .copy  h1 {
        font-size: 3rem;
    }
    .header .name{
        margin-left: 1rem;
    }
    #menu-toggle{
        margin-right: 1rem;
    }
}

@media only screen and (max-width: 900px) {
    .contact {
        flex-direction: column;
    }
}