/*DEBUG
#content, #content-bg {
    min-height:2000px;}
*/
@font-face {
    font-family: FjallaOne;
    src: url(fonts/FjallaOne-Regular.ttf);
}

@font-face {
    font-family: Oswald;
    src: url(fonts/Oswald-Regular.ttf);
}

@font-face {
    font-family: OswaldMedium;
    src: url(fonts/Oswald-Medium.ttf);
}

/*
@font-face {
    font-family: ;
    src: url(fonts/);
}
*/

* {
    font-family: helvetica, serif;
}

#mainHeader, h1, h2, #buyButton, #restoreButton, .formButton {
    font-family: OswaldMedium, serif; /*oswald*/
}

h1, h2 {
    font-size: 56px;
}

h1 {
    margin: 0;
}

h2 {
    margin: 76px 0 54px 0;
}

body {
    margin: 0;
    padding: 0;

}

a {
    text-decoration: none;
}

/*navbar height*/
/*
 #content-bg {
     margin-top:-64px;
 }*/
#content {
    /*padding-top: calc(64px + 165px);*/
    text-align: justify;
    text-justify: inter-word;
}

#navbar-outer, #navbar-bg, #navbar-inner, #navbar-links {
    height: 64px;
}

#backdrop-bg {
    position: absolute;
    height: 600px;
}

.bg-gradient {
    position: absolute;
}

#gradient-left {
    background: linear-gradient(90deg, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0) 8%, rgba(0, 0, 0, 0) 100%);
}

#gradient-bot {
    height: 600px;
    background: linear-gradient(0deg, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0) 30%, rgba(0, 0, 0, 0) 100%);
}

#gradient-right {
    background: linear-gradient(-90deg, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0) 8%, rgba(0, 0, 0, 0) 100%);
}

/*



@media screen and (max-width: 480px) {

}
@media screen and (min-width: 480px) {

}


*/
/*page width*/
@media screen and (max-width: 600px) {
    #navbar-inner, #content, #navbar, .tab, #footer, #footer-form {
        max-width: 100%;
    }

    .tab {
        padding: 0 10px;
    }

    #content-bg, #content-bg-form {
        margin: 0;
    }

    #content-bg, .blockForm, #navbar-border, .bg-gradient, #backdrop-bg {
        max-width: calc(100vw);
        width: calc(100vw);
    }


    #navbar-border-form {
        width: 100vw;
    }
}

@media screen and (min-width: 600px) {
    #navbar-inner {
        margin: 0 10px;
    }

    #navbar-inner, #content, #navbar, .tab, #footer, #footer-form {
        max-width: 940px;
    }

    #content-bg, #content-bg-form {
        margin: 0;

    }

    #content-bg-form {
        height: calc(100vh - 205px);
    }

    #content-bg-form #backdrop-bg {
        height: calc(100vh - 205px);
        max-width: 100vw;
    }

    .blockForm {
        max-width: 940px;
        width: calc(100vw - 0px);
    }

    #content-bg, #navbar-border, .bg-gradient, #backdrop-bg {
        max-width: 1920px;
        width: calc(100vw - 0px);
    }


    #navbar-border-form {
        width: 100vw;
    }

    #content-bg-form {
        max-width: 100vw;
        width: 100%;
    }

}

@media screen and (min-width: 1921px) {


    .blockForm {
        max-width: 940px;
        width: calc(100vw - 0px);
    }

    #content-bg, #navbar-border, .bg-gradient, #backdrop-bg {
        max-width: 1920px;
        width: calc(100vw - 18px);
    }

    #navbar-border-form {
        width: 100vw;
    }

    #content-bg-form {
        max-width: 100vw;
        width: 100%;
    }

    .center-content {
        z-index: 30;
        top: 0px;
        display: flex;
        flex-direction: row;
        justify-content: center !important;
    }

}


#navbar {
    font-weight: bold;
    font-size: 20px;
}


/*colors*/
* {
    color: white;
}

body {
    background: #111;
}

/*blue*/
.blue {
    color: #0090FF;
}

.featuresNumber {
    color: #0090FF
}

.fa {
    color: #0090FF;
    font-size: 28px;
}

#navbar-buttons .socials, #returnButton {
    /*border: 1px solid #ccc;*/
    border: none;
    color: #0090FF;
    display: flex;
    justify-content: center;
    align-items: center;
}

#navbar-links a {
    border-bottom: 0px solid #0090FF;
    transition: border-bottom 0.2s;
}

.active {
    border-bottom: 5px solid #0090FF !important;
    transition: border-bottom 0.2s;
}

#buyButton, #restoreButton, .formButtons, form input[type="submit"] {
    background-image: linear-gradient(180deg, #33bbff, #0090FF);
}

#returnButton {
    background: none;
    border-radius: 6px;
    padding: 1px;
}

#returnButton i {
    color: #0090FF;
}

#footer, #footer-form {
    background-color: #0090FF;
}

{
    *grey *
}
#modal-backdrop {
    width: 100vw;
    height: 100vh;
    display: none;
    position: fixed;
    z-index: 98;
    top: 0px;
    left: 0px;
    background: #111;
}

#modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#buyButton, .formButtons {
    color: #111;
}

#download button {
    background-color: #111;
}

#footer, #footer-form {
    color: #111;
}

@media screen and (max-width: 958px) {

    #navbar-links a:not(:first-child) {
        display: none !important;
    }
}

@media screen and (min-width: 959px) {
    #navbar-outer {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    #about {
        height: max(800px, calc(100vh - 64px));
        display: flex;
        flex-direction: column-reverse;
    }

    #content-bg {
        background: url('./assets/bg1.jpg'), url('./assets/bg2.jpeg');

        background-size: auto min(60vh, 480px), contain;
        background-position-y: -20px, 1400px;
        background-position-x: calc(50% + 50px), 0px;
    }

    #content-bg-form {
        background: url('./assets/bg1.jpg');

        background-size: auto calc(100vh), contain;
        background-position-y: -20px, 1400px;
        background-position-x: calc(45% + 50px), 0px;
    }

    #navbar-outer, #navbar-bg {
        width: 100vw;
    }

}

@media screen and (min-width: 480px) {
    #content-bg {
        background: url('./assets/bg1.jpg'), url('./assets/bg2.jpeg');
        background-size: auto 620px, contain;
        background-position-y: -20px, 1400px;
        background-position-x: 50%, 0px;
    }

    #content-bg-form {
        background: url('./assets/bg1.jpg');
        background-size: auto calc(140vh), cover;
        background-position-y: -20px, 1400px;
        background-position-x: 45%, 0px;
    }

    #navbar-inner {
        margin: 0 10px;
    }

    #navbar-bg {
        width: 100%;
    }


}

#content-bg, #content-bg-form {
    background-repeat: no-repeat, no-repeat;
    background-color: #111;
}


#mainHeader {
    font-size: 80px;
    font-weight: bold;
}

#subHeader {
    font-size: 26px;
    font-weight: bold;
}

#navbar-bg {
    z-index: 80;
    transition: background 1s;

}

#navbar-outer, #navbar-bg {
    position: fixed;
    top: 0;
    left: 0;
}

#navbar-outer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 90;
}

#navbar-border, #navbar-border-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-bottom: solid white 1px;
}

#navbar {
    font-family: inherit;
    background: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#navbar-inner {
    font-family: inherit;
    font-size: inherit;
    display: flex;
    justify-content: space-between;

    align-items: center;
}

#navbar-links {
    display: flex;
    justify-content: space-between;
}

#navbar-links a {
    margin-right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

#navbar-buttons {
    display: flex;
}

#navbar-buttons button {
    margin-left: 10px;
    cursor: pointer;
}

#navbar-buttons .socials {
    font-size: inherit;
    display: inline-block;
    width: 39px;
    height: 39px;
    background: none;
    border-radius: 6px;
    padding: 0;
}

#buyButton, #restoreButton {
    font-size: 22px;
    font-weight: 500;
    border: 1px solid black;
    padding: 2px 30px 10px 30px;
    border-radius: 6px;
    min-width: 143px;
    height: 39px;
}

@media screen and (max-width: 700px) {
    #download section {
        display: flex;
        flex-direction: column;
    }

    #download * p {
        margin: 0;
    }
}

@media screen and (min-width: 701px) {
    #download section {
        display: flex;
        flex-direction: row;
    }

    #download * p {

        margin: initial;
    }

}

@media screen and (max-width: 600px) {

    #download section div {
        display: flex;
        flex-direction: column;
    }

    #download * button {
        margin-top: 15px;
    }

    #frm-supportForm tr {
        display: flex;
        flex-direction: column;
    }

    #frm-supportForm textarea {
        max-width: calc(100vw - 30px);
        width: 100%;
        height: 280px;
    }
}

@media screen and (min-width: 601px) {

    #download section div {
        display: flex;
        flex-direction: row;
    }

    #download * button {
        margin-top: 15px;
    }

    #frm-supportForm textarea {
        max-width: min(800px, calc(100vw - 135px));
        width: 640px;
        height: 280px;
    }
}

@media screen and (max-width: 480px) {
    .center-content {
        z-index: 30;
        top: 0px;
        display: initial;
    }

    #navbar {
        margin: 0 10px;
    }

    #about section {
        flex-direction: column;
    }

    #features section {
        display: flex;
        flex-direction: column;
    }

    #features section .highLevel {
        margin: 0px;
    }

}

@media screen and (min-width: 480px) {
    .center-content {
        z-index: 30;
        top: 0px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    #navbar {
        margin: 0;
    }


    #about {
        height: 580px;
        display: flex;
        flex-direction: column-reverse;
    }

    #about section {
        flex-direction: row;
    }

    #features section {
        display: flex;
        flex-direction: row;
    }

    #features section .highLevel {
        margin: 5px;
    }


}


#content-bg, #content-bg-form {
    display: flex;
    justify-content: center;
}

#backdrop-bg {

    backdrop-filter: grayscale(50%) brightness(35%);
}

#content-bg-form #backdrop-bg {
    display: flex;
    justify-content: center;
    width: 100%;
    backdrop-filter: blur(7px) grayscale(50%) brightness(50%);
}

#content {

    position: relative;
}

@media screen and (max-width: 600px) {

    #content div section, #content div div {
        margin: 0;
    }

    #frm-supportForm {
        justify-content: center;

    }
}

@media screen and (min-width: 601px) {

    #content div section, #content div div {
        margin: 0 10px;
    }
}

#about section {
    display: flex;
    margin: 10px 0;
}

#about section div {
    display: flex;
    flex-direction: column;
    margin: 5px;
}

#about section:nth-child(1) img {
    margin-left: 10px;
}

#about section:nth-child(2) {
    line-height: 1.4;
}

#carouselSettings {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

#carouselNumbers {
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 12px;
    font-size: 32px;
}

#see img {
    border-radius: 12px;
}

#see section {
    margin: 40px 0px 70px 0px;
    display: flex;
    flex-direction: row;
}


#features section .highLevel {
    display: flex;
    flex-direction: column;
}

#features section .highLevel div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.featuresNumber {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px 9px 9px 9px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 20px;
    margin: 10px 10px 10px 0;
}

#faq .openableClick {
    margin: 0;
    padding-bottom: 1em;
}

#faq section {
    display: flex;
    flex-direction: column;
}

#faq section div .openable:nth-of-type(1) {
    margin-top: 0;
}

#faq section div .openable:nth-last-of-type(1) {

    margin-bottom: 0;
    padding-bottom: 1em;
}

#faq section div:nth-last-of-type(1) hr {
    margin-bottom: 0;
}

#faq hr {

    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 0 0 1em 0;
    padding: 0;
}

#faq .closed {
    display: none;
}

#faq .openableArrow {
    user-select: none;
    color: #0090FF;
    cursor: pointer;
    transform: rotate(-90deg);
    float: right;
    transition: transform .3s, color .3s;
    font-size: 20px;
}

#faq b {
    user-select: none;
    transition: transform .3s, color .3s;
    color: white;
}

#faq b.rotated {
    color: #0090FF;
}

#faq .openableArrow.rotated {
    color: white;
    transform: rotate(90deg);
}

#download section {
}
#contact {

    padding-bottom: 76px;
}

#contact section div {
    display: flex;
    flex-direction: column;
}

.info {
    position: fixed;
    top: 30%;
    left: 50%;
    z-index: 99;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    padding: 18px;
    font-size: 24px;
    border-radius: 10px;
    background: #111;
    color: #0090FF;
    transition: opacity 0.5s ease-out;
}

.captcha-field {
    display: none;
}

#download button {
    padding: 12px 20px;

    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#download section {
    display: flex;
}

#download p {
    margin-right: 20px;
}

#download section div {
    display: flex;
}

#download section button {
    margin-right: 20px;
    cursor: pointer
}

#download button .buttonText {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

#download button .buttonText div {
    display: flex;
    flex-direction: row;
}

#download button .buttonText .blue {
    font-size: 24px;
    font-weight: bold;
}

#buy {
    padding-bottom: 76px;
}

#buy section div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#footer {
    width: min(100vw, 960px);
}

#footer h2 {
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 880px) {

    #footer, #footer-form {
        padding-top: 10px;
        background-image: none;
        background-repeat: no-repeat;
        background-size: auto;
        background-position: right -145px;
        display: flex;
        flex-direction: column;
    }

    #footer *, #footer-form * {
        color: inherit;
        max-width: 95%;
        margin: 0 auto;
    }

    #footer h3, #footer-form h3 {
        display: none;
    }
}

@media screen and (min-width: 880px) {

    #footer-form {
        background-image: url("assets/gainsync_logo_neu_bw_modified.svg");
    }

    #footer {

        background-image: url("assets/gainsync_logo_neu_bw_modified.svg");
    }

    #footer, #footer-form {
        height: 205px;
        padding-top: 0px;
        background-repeat: no-repeat;
        background-size: auto;
        background-position: right -145px;
        display: flex;
        flex-direction: column;
    }

    #footer *, #footer-form * {
        color: inherit;
        max-width: 50%;
    }

    #footer h3 {
        display: initial;
    }

}

#footer h3, #footer-form h3 {
    margin-top: 25px;

    font-size: 1.5em;
    margin-bottom: 0;
}

#footer span:nth-child(3), #footer-form span:nth-child(3) {
    font-size: 12px;
    padding-top: 10px;
}
