:root {
    --header_color: #E84449;
    --page1_info_bg_color: #171923;
}
@font-face {
    font-family: GilroyMedium;
    src: url(fonts/Gilroy-Medium.ttf);
    font-style: normal;
    font-weight: 500;
    font-display: block;
}
@font-face {
    font-family: GilroyBold;
    src: url(fonts/Gilroy-Bold.ttf);
    font-style: normal;
    font-weight: 700;
    font-display: block;
}
@font-face {
    font-family: GilroyRegular;
    src: url(fonts/Gilroy-Regular.ttf);
    font-style: normal;
    font-weight: 400;
    font-display: block;
}
@font-face {
    font-family: GilroySemiBold;
    src: url(fonts/Gilroy-SemiBold.ttf);
    font-style: normal;
    font-weight: 600;
    font-display: block;
}
html,body{
    margin: 0;
    font-family: GilroyMedium;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: inherit;
}
html{
    max-width: 100%; /*used in main.js to check screen size*/
}
.header{
    display: flex;
    align-items: center;
    background-color: #EFF1FF;
    padding: 20px 50px;
}
.partner_logo{
   height: 31px;
}
.partner_link{
    margin-right: 30px;
}
.fletch_logo{
    width: 120px;
    margin-bottom: 12px;
}
.page1{
    margin: 50px 20px;
}
.page1_box1{
    display: flex;
    justify-content: space-between;
}
.page1_content_box{
    width: 100%;
}
.img_1{
    display: block;
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
}
/* .widget_box{
    width: 54%;
    height: 740px;
} */
#ifVCFrame{
    box-shadow: 0px 25px 50px rgba(156, 166, 202, 0.4);
    border-radius: 20px;
    margin: 10px auto;
    height: 500px;
    @media only screen and (max-width: 600px) {
        height: 675px;
    }
}
.page1_header{
    font-family: GilroyBold;
    color: var(--header_color);
    font-size: 42px;
    line-height: 52px;
    letter-spacing: -0.01em;
    margin-top: 40px;
    text-align: center;
}
.page1_content1{
    font-family: GilroyMedium;
    font-size: 26px;
    line-height: 30px;
    color: #4F4F4F;
    margin: 20px 0;
    text-align: center;
}
.page1_box2{
    font-family: GilroySemiBold;
    padding: 10px;
    background-color: var(--page1_info_bg_color);
    font-size: 26px;
    line-height: 30px;
    /* identical to box height */

    text-align: center;

    color: #FFFFFF;
    margin-top: 20px;
    border-radius: 4px;
}
.page2{
    background: #25283D;
    color: white;
    padding: 160px 8%;
}
.page2_img{
    width: 155px;
    height: 155px;
}
.page2_header{
    font-family: GilroyBold;
    font-size: 54px;
    line-height: 65px;
    letter-spacing: -0.01em;
    text-align: center;
}
.page2_main_box{
    display: flex;
    margin-top:80px;
    justify-content: space-between;
    text-align: center;
}
.page2_subheader{
    font-family: GilroySemiBold;
    font-size: 26px;
    line-height: 30px;
    color: #E84449;
    margin: 30px 0;
}
.page2_content{
    font-family: GilroyRegular;
    font-size: 26px;
    line-height: 29px;
    margin-bottom: 30px;
}
.page2_box{
    width: 30%;
}
.page3_main{
    position: relative;
    height: 36vw;
    padding: 80px 0;
}
.page3_bacground{
    display: block;
    height: 36vw;
    width: 84%;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
}
.page3_box{
    background: white;
    margin: 0 auto;
    width: 30vw;
    height: 36vw;
    box-shadow: 0px 25px 50px rgba(156, 166, 202, 0.4);
    border-radius: 20px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
}
.page3_box_1{
    height: 47%;
    background: linear-gradient(180deg, #FD6B6D 0%, #FF9845 100%);
    border-radius: 20px 20px 0 0;
}
.page3_design{
    display: block;
    width: 118%;
    height: 14vw;
    margin-left: -10%;
    padding-top: 2vw;
}
.page3_box_2{
    height: 33%;
    margin: 10% 5%;
    position: relative;
}
.page3_header{
    font-family: GilroyBold;
    font-size: 32px;
    text-align: center;
}
.page3_info{
    font-family: GilroyMedium;
    color: var(--header_color);
    font-size: 24px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-decoration: underline;
    text-underline-position: under;
}
.footer{
    font-family: GilroyRegular;
    background: #EFF1FF;
    font-size: 18px;
    text-align: center;
    padding: 30px 4%;
}
.footer_links{
    width: 40%;
    padding: 15px 0;
    padding-left: 30%;
    padding-right: 30%;
    display: flex;
    justify-content: space-between;
    font-family: GilroyRegular;
    font-size: 16px;
}
@media only screen and (max-width: 1280px){
    .page3_header{
        font-size: 24px;
    }
    .page3_info{
        font-size: 20px;
    }
}
@media only screen and (max-width: 1000px){
    .fletch_logo{
        width: 80px;
    }
    .partner_logo{
        height: 21px;
    }
    .fletch_logo{
        margin-bottom: 8px;
    }
    .header{
        padding: 20px 25px;
    }
    .page1_box1{
        flex-direction: column;
    }
    .page1_content_box{
        width: 100%;
        margin-right: 0;
    }
    .widget_box{
        width: 100%;
    }
    /* .img_1{
        width: 65%;
        margin: 0 auto;
    } */
    .page1_header{
        font-size: 36px;
        line-height: 46px;
    }
    .page1_content1{
        font-size: 20px;
        line-height: 24px;
    }
    .page1_box2{
        font-size: 18px;
        line-height: 22px;
    }
    .page2{
        padding: 70px 8%;
    }
    .page2_header{
        font-size: 42px;
        line-height: 52px;
    }
    .page2_subheader, .page2_content{
        font-size: 20px;
        line-height: 22px;
    }
    .page3_header{
        font-size: 3.4vw;
    }
    .page3_info{
        font-size: 2.4vw;
    }
    .page3_main{
        height: 54vw;
    }
    .page3_bacground{
        height: 54vw;
        width: 100%;
    }
    .page3_box{
        width: 45vw;
        height: 54vw;
        border-radius: 2.4vw;
    }
    .page3_box_1{
        border-radius: 2.4vw 2.4vw 0 0;
    }
    .page3_design{
        height: 21vw;
    }
    .footer{
        font-size: 14px;
        padding: 10px 25px;
    }
    .footer_links{
        font-size: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
@media only screen and (max-width: 600px){
    html{
        max-width: 600px; /*used in main.js to check screen size*/
    }
    .page1{
        margin: 40px 10px;
    }
    .fletch_logo{
        width: 15vw;
    }
    .partner_logo{
        margin-left: 5vw;
        margin-right: 3vw;
    }
    .partner_logo{
        height: 4vw;
    }
    .partner_link{
        margin-right: 5px;
    }
    .fletch_logo{
        margin-bottom: 1.5vw;
    }
    .header{
        padding: 3vw 0;
    }
    .page1_header{
        font-size: 6vw;
        line-height: 7.2vw;
        margin-top: 2vw;
    }
    .page1_box1 {
        margin: 0 10px;
    }
    .page1_content1{
        margin: 2vw 0;
        font-size: 4vw;
        line-height: 5vw;
    }
    .page1_box2{
        padding: 2vw;
        font-size: 2.8vw;
        line-height: 3.2vw;
        margin-top: 10px;
    }
    .page2{
        padding: 8vw 8%;
    }
    .page2_header{
        font-size: 6.5vw;
        line-height: 7vw;
    }
    .page2_main_box{
        flex-direction: column;
        margin-top: 15vw;
    }
    .page2_box{
        width: 100%;
        margin-bottom: 10vw;
    }
    .page2_img{
        width: 40vw;
        height: 40vw;
    }
    .page2_subheader{
        margin: 4vw 0;
    }
    .page2_content{
        margin-bottom: 2vw;
    }
    .page2_subheader, .page2_content{
        font-size: 4vw;
        line-height: 5vw;
    }
    .footer{
        font-size: 2vw;
    }
    .footer_links{
        font-size: 1.7vw;
    }
}
.fadeInLeft{
    animation: fadeInLeft 1.2s both;
    -webkit-animation: fadeInLeft 1.2s both;
}
@-webkit-keyframes fadeInLeft{
    0%{
      opacity: 0;
      -webkit-transform: translateX(-20vw);
    }
    100%{
      opacity: 1;
      -webkit-transform: translateX(0vw);
    }
}
@keyframes fadeInLeft{
    0%{
      opacity: 0;
      transform: translateX(-20vw);
    }
    100%{
      opacity: 1;
      transform: translateX(0vw);
    }
} 
.fadeInRight{
    animation: fadeInRight 1.2s both;
    -webkit-animation: fadeInRight 1.2s both;
}
@-webkit-keyframes fadeInRight{
    0%{
      opacity: 0;
      -webkit-transform: translateX(20vw);
    }
    100%{
      opacity: 1;
      -webkit-transform: translateX(0vw);
    }
}
@keyframes fadeInRight{
    0%{
      opacity: 0;
      transform: translateX(20vw);
    }
    100%{
      opacity: 1;
      transform: translateX(0vw);
    }
} 
.fadeInBottom{
    animation: fadeInBottom 1.2s both;
    -webkit-animation: fadeInBottom 1.2s both;
}
@-webkit-keyframes fadeInBottom{
    0%{
      opacity: 0;
      -webkit-transform: translateY(20vw);
    }
    100%{
      opacity: 1;
      -webkit-transform: translateY(0vw);
    }
}
@keyframes fadeInBottom{
    0%{
      opacity: 0;
      transform: translateY(20vw);
    }
    100%{
      opacity: 1;
      transform: translateY(0vw);
    }
} 