@font-face {
    font-family: 'Garet';
    src: url('assets/garet/Garet-Regular.woff2') format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: 'Garet';
    src: url('assets/garet/Garet-Bold.woff2') format('woff2');
    font-weight: bold;
}

@font-face{
    font-family: 'Fira Sans';
    src: url('assets/fira_sans/FiraSans-Light.ttf') format('truetype');
    font-weight: normal;
}

@font-face{
    font-family: 'Fira Sans';
    src: url('assets/fira_sans/FiraSans-SemiBold.ttf') format('truetype');
    font-weight: bold;
}
@font-face{
    font-family: 'Fira Sans';
    src: url('assets/fira_sans/FiraSans-Light.ttf') format('truetype');
    font-weight: lighter;
}
@font-face{
    font-family: 'Fira Sans';
    src: url('assets/fira_sans/FiraSans-LightItalic.ttf') format('truetype');
    font-weight: lighter;
    font-style: italic;
}

@font-face{
    font-family: 'High Cruiser';
    src: url('assets/HighCruiser.otf') format('opentype');
    font-weight: normal;
}

@font-face{
    font-family: 'Bernoru';
    src: url('assets/bernoru-blackultraexpanded.otf') format('opentype');
}
@keyframes spin {
    from {
    transform: rotate(0deg);
    }
    to {
    transform: rotate(360deg);
    }
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

*{
    box-sizing: border-box;
}

em{
    font-weight: bold;
    font-style: normal;
}

.big-button{
    font-family: 'Garet';
    font-weight: bold;
    font-size: 32px;
    border: 3px solid currentColor;
    border-radius: 18px;
    display: block;
    text-decoration: none;
    text-align: center;
    width: auto;
    background-color: transparent;
    padding: .4em .65em;
    text-transform: uppercase;
}

.big-button.yellow{
    color: #e2ff31;
    border-color: #e2ff31;
}

.big-button.yellow:hover{
    background-color: #e2ff31;
    color: #101220;
}

.big-button.yellow.knockout{
    color: #101220;
    background-color: #e2ff31;
    border-color: #e2ff31;
}

.big-button.yellow.knockout:hover{
    background-color: transparent;
    color: #e2ff31;
}

.white{
    color: white;
}

.blue{
    color: #428bfa;
}

.yellow{
    color: #e2ff31;
}

header{
    position: fixed;
    height: 128px;
    padding: 32px 64px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #428bfa;
    z-index: 2;
}

.header-content{
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

#logo{
    display: inline-block;
}

#logo img{
    height: 64px;
    width: auto;
}

#header-links{
    display: inline-block;
    width: auto;
    vertical-align: center;
    line-height: 64px;
    float: right;
}

.header-link{
    display: inline-block;
    font-family: 'Garet';
    font-weight: bold;
    color: white;
    text-decoration: none;
    font-size: 19px;
    margin-left: 32px;
    text-transform: uppercase;
}

.header-link:hover{
    color: #e2ff31;
}
main{
    margin-top: 128px;
    z-index: 1;
}

section{
    position: relative;
    width: 100%;
    height: auto;
    padding: 128px 64px;
    font-family: 'Fira Sans', sans-serif;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.flex-container{
    display: flex;
    max-width: 100%;
    flex-direction: row;
    gap: 64px;
}

.flex-column{
    display: flex;
    flex-direction: column;
    flex: 1;
}

.flex-column-inner{
    display: flex;
    flex-direction: column;
}

.flex-left{
    align-items: flex-start;
}

.flex-right{
    align-items: flex-end;
    justify-content: right;
}

.flex-center{
    align-items: center;
}

.flex-row{
    display: flex;
    flex-direction: row;
}

section p{
    font-size: 22px;
    line-height: 1.5;
    color: rgb(255, 255, 255);
}

section p em{
    font-weight: bold;
    font-style: normal;
}

section h3{
    font-family: 'Garet';
    font-size: 38px;
}

#about, #what-is-aipac{
    background-color: #101220;
}

#about p em, #what-is-aipac p em{
    color: #e2ff31;
}

#about h1{
    font-weight: normal;
    font-size: 164px;
    margin: 0;
}

#about h1.hc{
    font-family: 'High Cruiser';
}

#about h1.b{
    font-family: 'Bernoru';
    margin-top: -80px;
}

#about h2{
    font-family: 'Garet';
    font-weight: bold;
    color: white;
    margin: 0;
    font-size: 64px;
    margin: 0;
    letter-spacing: 1px;
}

#about h3.knockout{
    font-weight: normal;
    font-family: 'Garet';
    margin: 0;
    color: #101220;
    background-color: #e2ff31;
    margin: 0;
    padding: 0 16px;
}

#sign-the-petition{
    background-color: #428bfa;
}

#sign-the-petition h2{
    font-family: 'Garet';
    font-weight: bold;
    color: white;
    margin: 0;
    font-size: 72px;
    letter-spacing: .5px;
    line-height: 1em;
}

.petitioner-form{
    display: flex;
    flex-direction: column;
    padding: 32px;
}

.petitioner-form form{
    background-color: #101220;
    padding: 32px;
    max-width: 900px;
    width: 100%;
    position: relative
}

.petitioner-form form p{
    margin: 0 0 1em 0;
}

.petitioner-form input{
    width: 100%;
    padding: 16px;
    font-size: 20px;
    font-family: 'Fira Sans';
    font-weight: lighter;
    font-style: italic;
    color: #101220;
    background-color: #dae9ff;
    margin: 0 0 1em 0;
}

.petitioner-form .button-container{
    width: 100%;
    text-align: center;
}

.petitioner-form .button-container .big-button{
    display: inline-block;
}

.petitioner-form .loading-overlay {
    display: none
}

.petitioner-form .loading-overlay .loader {
    border: 8px solid rgba(109, 39, 39, 0.3);
    border-top: 8px solid #428bfa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.petitioner-form.loading .loading-overlay, .petitioner-form.success .success-overlay{
    display: flex;
}

.petitioner-form .success-overlay, .petitioner-form .loading-overlay {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: #101220
}

.petitioner-form .success-overlay .check {
    font-size: 48px;
    padding: 12px 0;
    width: 86px;
    color: #e2ff31;
    border: 3px solid #e2ff31;
    border-radius: 50%;
    text-align: center;
}

#what-is-aipac .flex-container{
    max-width: 1050px;
}

#what-is-aipac h2{
    font-family: 'Garet';
    font-weight: bold;
    font-size: 72px;
    margin: 0 0 32px 0;;
}

#what-is-aipac h3{
    font-family: 'Garet';
    font-weight: bold;
    font-size: 36px;
    margin: 0;
    color: white;
    margin: 0 0 32px 0;
}

#what-is-aipac p{
    max-width: 800px;
}

footer{
    height: 196px;
    padding: 32px 64px;
    background-color: white;
    color: #101220;
}

.footer-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#logo-blue img{
    height: 100px;
}

#footer-links{
    display: flex;
    flex-direction: column;
    width: auto;
    line-height: 64px;
    justify-content: right;
}

.footer-link a{
    display: inline-block;
    font-family: 'Garet';
    font-weight: bold;
    color: #101220;
    text-decoration: none;
    font-size: 19px;
    margin-left: 32px;
    text-transform: uppercase;
}

.footer-link a:hover{
    color: #428bfa;
}
.social-link{
    display: flex;
    flex-direction: column;
}
.social-link img{
    height: 30px;
    width: 30px;
    margin-left: 16px;
}


@media (max-width: 1400px) {
    .flex-container{
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 1000px){
    header{
        padding: 16px 32px;
        height: 96px;
    }

    .header-link{
        margin-left: 16px;
    }

    main{
        margin-top: 96px;
    }

    section{
        padding: 96px 64px;
    }

    section p{
        font-size: 32px;
    }
    footer{
        padding: 16px 32px;
        height: 164px;
    }

    .header-link{
        margin-left: 16px;
    }
}
