@import url("bulma.css");

@font-face {
   font-family: Open Sauce Sans Light;
   src: url('font/OpenSauceSans-Light.ttf');
}

@font-face {
   font-family: Open Sauce Sans Regular;
   src: url('font/OpenSauceSans-Regular.ttf');
}

@font-face {
   font-family: Open Sauce Sans Italic;
   src: url('font/OpenSauceSans-Italic.ttf');
}

@font-face {
   font-family: Open Sauce Sans SemiBold;
   src: url('font/OpenSauceSans-SemiBold.ttf');
}


@font-face {
   font-family: Open Sauce Sans Bold;
   src: url('font/OpenSauceSans-Bold.ttf');
}

@font-face {
   font-family: Open Sauce Sans Black;
   src: url('font/OpenSauceSans-Black.ttf');
}


* {
   font-family: "Open Sauce Sans Regular", sans-serif;
}

html {
  scroll-behavior: smooth;
}

strong {
    font-family: "Open Sauce Sans Black", sans-serif;
}

a{
    color: #ff5758;
}

a:hover{
    text-decoration: underline;
}

.text-black {
    color: #282828;
}

h1 {
    font-family: "Open Sauce Sans Bold", sans-serif;
    font-size: 3.81em;
    line-height: 4em;
    color:#363D46;
    }

h2 {
    font-family: "Open Sauce Sans Bold", sans-serif;
}

p {
    margin-bottom: 1em;
    color:#363D46;
}

iframe{
    width: 90%;
}

.text-white {
   color: white; 
}

.hero {
    background-color: #FFFFFF;
    border: 16px solid #ff5758;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:row;
}

.contact-link {
    position: fixed;
    right: 32px;
    top: 32px;
    z-index: 9;
}

#scroll{
    position: absolute;
    margin: 0 auto;
    bottom: 30px;
}

.container {
    margin: 0 auto;
    max-width: 1200px;
}

.portfolio {
    padding: 128px 0;
}

.swiper-img {
    max-height: 700px;
}

.airy-inbox {
    border: 16px solid #1578D4;
}

.airy-admin {
    background-color: #F5F8FA;
}

.funding-circle {
    border: 16px solid #75227d;
    color: #FFFFFF
}

.sesame {
    border: 16px solid #5921cf;
}

/*background for each internalpage*/
.fc-rebrand {
    background-image: url(../internalpages/bundles/rebrand/header.jpg);
    background-size: cover;
}


.investor-xp{
    border: 16px solid #ff6b00;
}

.borrower-app {
    border: 16px solid #029ee9;
}

.sou {
    background-color: #FFF;
    border: 16px solid #D5398B;
}

.natura {
    border: 16px solid #CD5755;
}

section.portfolio.chevrolet-sms {
    border: 16px solid #282828;
}

section.portfolio.logofolio {
    border: 16px solid rebeccapurple;
}

.case-study-image {
    border: 1px #d8d8d8 solid;
    border-radius: 4px;
}


/*Text sizes: base 16px, scale: 1.25*/

.white-link {
    color: white;
}

.white-link:hover {
    color: #5DACF7;
    font-weight: 700;
    text-decoration: underline;
}

.text-s {
    font-size: 1.23em;
    line-height: 1em;
}

.text-m {
    font-size: 1.25em;
    line-height: 32px;   
}

.text-l {
    font-size: 1.56em;
    line-height: 32px;   
}

.text-xl {
    font-size: 31px;
    line-height: 40px;   
}

.text-xxl {
    font-size: 2.43em;
    line-height: 48px;   
}

.text-3xl {
    font-size: 3.06em;
    line-height: 56px;   
}

.text-4xl {
    font-size: 3.81em;
    line-height: 64px;   
}

.text-5xl {
    font-size: 4.75em;
    line-height: 80px;   
}

.text-6xl {
    font-size: 5.93em;
    line-height: 96px;   
}

.text-7xl {
    font-size: 7.43em;
    line-height: 120px;   
}

/*spacers*/
.spacer-16 {
    margin-top: 16px;
}

.spacer-24 {
    margin-top: 24px;
}

.spacer-32 {
    margin-top: 32px;
}

.spacer-40 {
    margin-top: 40px;
}

.spacer-48 {
    margin-top: 48px;
}


.footer {
    background: #F5F8FA;
}


/*Case Study pages*/
.case-study {
    padding: 64px 0;
    margin: 0 auto;
    max-width: 968px;
}

.case-hero{
    padding: 128px 0;
}

.case-hero-container {
    max-width: 968px;
    margin: 0 auto;
}

.case-hero h1.text-7xl {
    color: white;
}

.arrow-back {
    width: 16px;
}

.back-button {
    margin-top: 24px;
    transition: 0.3s;
}

.back-button:hover {
    margin-left: -4px;
}

.prototype-viewer {
    border: none;
    width: 100%;
    height: 100%;
    position: relative;
}


/*slider*/
    .swiper-container {
      width: 100%;
      height: 696px;
    }

    .swiper-slide {
      text-align: center;

      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
    }

#slide{
    width: 80px;
    margin: auto 50%;
}


/* Extra small devices (phones small screen, 768px and down) */
@media only screen and (max-width: 768px) {
    
    .hero {
        padding-top: 64px;
        padding-bottom: 64px;
        height: auto;
    }
    
    .portfolio {
        padding: 64px 0;
    }
    
    .container{
        margin: 0 auto;
        padding: 0 16px;
    }
    
    .text-m {
        font-size: 16px;
        line-height: 24px;
    }
    
    .text-3xl {
        font-size: 31px;
        line-height: 40px;   
    }
    
    .text-5xl {
        font-size: 49px;
        line-height: 54px;   
    }
    
    .text-7xl {
        font-size: 61px;
        line-height: 64px;   
    }
    
    .case-study {
        padding: 64px 0;
        margin: 0 32px;
    }
    
    .case-hero-container {
        margin: 0 32px;
    }
    
    /*slider*/
    .swiper-container {
      width: 100%;
      height: 496px;
    }
    
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 768px) {
        .hero {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    
    .portfolio {
        padding: 64px 0;
    }
    
    .container{
        margin: 0 auto;
        padding: 0 32px;
    }
    
    
    .text-3xl {
        font-size: 31px;
        line-height: 40px;   
    }
    
    .text-5xl {
        font-size: 61px;
        line-height: 64px;   
    }
    
    .text-7xl {
        font-size: 95px;
        line-height: 96px;   
    }
}


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {...}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}