@font-face {
    font-family: Proxima Nova;
    src: url('/src/proxima-nova-regular.otf');
    font-weight: 400;
}
@font-face {
    font-family: Proxima Nova;
    src: url('/src/proxima-nova-thin.otf');
    font-weight: 300;
}
@font-face {
    font-family: Proxima Nova;
    src: url('/src/proxima-nova-semibold.otf');
    font-weight: 600;
}
@font-face {
    font-family: Proxima Nova;
    src: url('/src/proxima-nova-bold.otf');
    font-weight: 700;
}
html,
body {
    margin: 0;
    padding: 0;
    font-family: Proxima Nova;
}
#container {
    width: 100vm;
    overflow-y: scroll;
}
.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
#header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 42px;
    transition: 0.5s all;
}
#header_right {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
#icon {
    width: 85px;
    height: 85px;
}
#icon_img {
    width: 100%;
    height: 100%;
}
#logo {
    font-size: 36;
    font-weight: 600;
    color: #000;
    padding: 32px;
}
#join_librex {
    color: #fff;
    background: #691aa5;
    border-radius: 30px;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    width: 125px;
    text-decoration: none;
    text-align: center;
    transition: 0.25s all;
}
#join_librex:hover {
    background: #8c04cc;
}
#content {
    padding-top: 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
#content.content_home {
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#content_left {
    flex: 1;
}
#speak_your_mind {
    font-size: 60;
    font-weight: 700;
    background: url('/images/background.jpg') 0 0 / cover repeat-x;
    color: #691aa5;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: animatedBackground 2s linear infinite;
    -moz-animation: animatedBackground 2s linear infinite;
    -webkit-animation: animatedBackground 2s linear infinite;
    -ms-animation: animatedBackground 2s linear infinite;
    -o-animation: animatedBackground 2s linear infinite;
}
#description {
    font-size: 24px;
    line-height: 36px;
    margin-top: 20px;
}
#store_buttons {
    padding-top: 80px;
}
.store_button {
    height: 50px;
    display: inline-block;
    margin-right: 20px;
}
.store_button:last-of-type {
    margin-right: 0px;
}
.store_button img {
    width: 100%;
    height: 100%;
}
.bg_circle {
    width: 930px;
    height: 930px;
    border-radius: 465px;
    background: #f9f9f9;
    position: absolute;
    margin-top: -465px;
    margin-left: -465px;
    z-index: -1;
}
#bg_circle_1 {
    top: 170px;
    left: 110px;
}
#bg_circle_2 {
    bottom: -565px;
    right: -465px;
}
#footer {
    font-size: 14px;
    font-weight: 400;
}
#schools {
    padding-top: 40px;
    line-height: 40px;
}
.school {
    margin-right: 16px;
    font-weight: 600;
}
.school.red {
    color: #d50000;
}
.school.blue {
    color: #007aff;
}
.school.green {
    color: #009826;
}
.school.purple {
    color: #6200ee;
}
.school.orange {
    color: #ef5600;
}
#footer_content {
    padding-top: 30px;
    padding-bottom: 40px;
}
#iphones_wrapper {
    display: flex;
    flex-direction: column;
}
#iphones {
    flex-direction: row;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.iphone_image_container {
    position: relative;
}
#iphone_image_container1 {
    width: calc(100% - 26px);
    height: calc(100% - 26px);
    margin: 13px;
    background: #fff;
}
#iphone_image_container2 {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin: 10px;
    background: #191919;
}
#iphones img {
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}
#iphone1 {
    width: 225px;
    height: 450px;
    position: relative;
    display: inline-block;
}
#iphone2 {
    width: 180px;
    height: 360px;
    position: relative;
    display: inline-block;
}
#iphone_text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    height: 60px;
    position: relative;
}
.iphone_text {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    text-align: center;
}
.iphone_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: url('/images/iphone.png') no-repeat;
    background-size: contain;
    z-index: 2;
}

#footer_content_right {
    float: right;
}
#footer_content_right a {
    color: #000;
    text-decoration: none;
    margin-left: 16px;
}
#footer_content_right a:first-of-type {
    margin-left: 0px;
}
#page_title {
    border-left: 1px solid #333;
    color: #333;
    font-size: 25px;
    padding-left: 20px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 300;
}
.question,
.bold_copy {
    font-weight: 600;
    margin-bottom: 20px;
}
.answer,
.regular_copy {
    margin-bottom: 40px;
}
#codes_container {
    width: calc(100% - 60px);
    margin: 0 auto;
}
#content a {
    text-decoration: none;
    color: #691aa5;
    transition: 0.25s all;
}
#content a:hover {
    color: #8c04cc;
}

@media (max-width: 1000px) {
    .wrapper {
        width: calc(100% - 40px);
        margin: 0px 20px;
    }
    #content,
    #content.content_home {
        padding-top: 55px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    #store_buttons {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    #description,
    #speak_your_mind,
    #store_buttons {
        text-align: center;
    }
    #content_left,
    #content_right {
        width: 100%;
        justify-content: center;
    }
    #footer_content_right {
        float: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 650px) {
    #join_librex {
        display: none;
    }
    #header {
        margin-top: 5px;
    }
    #speak_your_mind {
        font-size: 40px;
    }
    #description {
        font-size: 20px;
        line-height: 30px;
        margin-top: 16px;
    }
    .description_line {
        display: inline;
    }
    .bg_circle {
        width: 500px;
        height: 500px;
        border-radius: 250px;
        margin-top: -250px;
        margin-left: -250px;
    }
    #bg_circle_2 {
        bottom: -350px;
        right: -250px;
    }
}
@media (max-width: 450px) {
    #icon {
        width: 70px;
        height: 70px;
    }
    #logo {
        font-size: 30;
        padding: 24px;
    }
    #speak_your_mind {
        font-size: 36px;
    }
    #description {
        font-size: 16px;
        line-height: 24px;
        margin-top: 10px;
    }
    #content_right {
        height: auto;
        width: 100%;
    }
    #iphones_wrapper {
        height: 500px;
    }
    #iphones {
        align-items: center;
    }
    .iphone_image_container {
        background: transparent !important;
    }
    #iphone_image_container2 {
        width: calc(100% - 16px);
        height: calc(100% - 16px);
        margin: 8px;
    }
    #iphone_text {
        display: none;
    }
    #footer_content_right {
        margin-bottom: 0px;
    }
    #footer_content_right a {
        font-size: 16px;
    }
    #copyright,
    #footer_content_right a {
        text-align: left;
        display: block;
        padding: 8px 0px;
        margin-left: 0px;
        border-top: 1px solid #ccc;
    }
    #page_title {
        margin-left: 0px;
        padding-left: 0px;
        border: 0px;
        display: block;
    }
    #footer_content {
        padding-top: 0px;
        padding-bottom: 20px;
    }
    .store_button {
        height: auto;
        width: calc(50% - 20px);
        margin-right: 10px;
        margin-left: 10px;
    }
    .store_button img {
        height: auto;
    }
}
@media (max-width: 400px) {
    #iphones_wrapper {
        height: 430px;
    }
}

@keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 300px 0;
    }
}
@-moz-keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 300px 0;
    }
}
@-webkit-keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 300px 0;
    }
}
@-ms-keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 300px 0;
    }
}
@-o-keyframes animatedBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 300px 0;
    }
}
