@font-face {
  font-family: "u-regular";
  src: url("font/uttara-regular.woff") format("woff");
  src: url("font/uttara-regular.woff2") format("woff2");
}

@font-face {
  font-family: "u-semibold";
  src: url("font/uttara-semibold.woff") format("woff");
  src: url("font/uttara-semibold.woff2") format("woff2");
}

@font-face {
  font-family: "u-bold";
  src: url("font/uttara-bold.woff") format("woff");
  src: url("font/uttara-bold.woff2") format("woff2");
}

:root {
  --text: #333333;
  --beige: #f5f2e9;
  --green: #8bf1c7;
}

html{
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body{
  font-family: "u-regular";
  font-size: 15px;
  line-height: 19px;
  color: var(--text);
  background-color: var(--beige);
  counter-reset: h2counter;
}

body a{
  color: var(--text);
  text-decoration: none;
}

body a:hover, body a:focus{
  color: #000;
}

strong{
  font-weight: normal;
  font-family: "u-semibold";
}

#header{
  padding: 20px 0;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
}

#header .bg{
  background: rgb(245,242,233);
  background: linear-gradient(0deg, rgba(245,242,233,0) 0%, rgba(245,242,233,1) 100%);
  pointer-events: none;
  height: 120px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .2s;
}

#header.has-bg .bg{
  opacity: 1;
}

#header .container-fluid{
  position: relative;
  z-index: 1;
}

#header .logo{
  height: 30px;
  width: auto;
}

.container, .container-fluid{
  padding: 0 20px;
}

.content{
  position: relative;
  padding: 0 0 0 40px;
}

.side{
  position: sticky;
  top: 0;
  left: 0;
  height: 100vh;
  width: 40px;
  margin-left: -40px;
  float: left;
}

#sidetext{
  transform-origin: 0 0;
  transform: rotate(270deg);
  white-space: nowrap;
  line-height: 20px;
  padding-top: 20px;
  text-transform: uppercase;
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100vh;
  text-align: center;
  font-family: "u-bold";
  transition: opacity .6s , color 0s linear .6s;
  opacity: 1;
}

#sidetext.inverse-side{
  color: var(--beige);
}

#sidetext.changing{
  opacity: 0;
}

p{
  margin: 0 0 20px;
}

section#terms, section#forms{
  padding-top: 100px;
}

.terms-title{
  font-family: "u-semibold";
  font-size: 36px;
  line-height: 36px;
  margin: 0 0 60px;
}

.terms-title small{
  display: block;
  font-size: 14px;
  font-family: "u-regular";
}

h2{
  font-family: "u-semibold";
  font-size: 24px;
  line-height: 24px;
  margin: 60px 0 20px;
}

ul{
  margin: 20px 0 0 0;
  padding-left: 30px;
}

ul li{
  list-style-type: "→  ";
  margin: 0 0 20px;
}

#aside{
  font-size: 14px;
  line-height: 18px;
  padding: 60px 0;
}

#footer{
  background-color: var(--text);
  color: var(--beige);
  font-size: 14px;
  line-height: 18px;
  padding: 15px 0;
}

#footer .footer-link{
  color: var(--beige);
  display: block;
}

#footer .footer-link:hover, #footer .footer-link:focus{
  color: var(--green);
  filter: blur(.6px);
}

#footer .studio{
  margin-top: 15px;
}

#footer .studio-link{
  display: inline-block;
}

#footer .studio-img{
  height: 20px;
  margin-left: 10px;
}

#hero{
  height: 100vh;
  background-image: url("img/hero.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}

#hero .hero-title{
  color: var(--beige);
  padding-top: 70vh;
  margin: 0;
  font-size: 60px;
  line-height: 70px;
  font-family: "u-bold";
}

#hero .hero-text{
  color: var(--beige);
}

.content-homepage .invisible-title{
  font-size: 0.1px;
  margin: 0;
  line-height: 0.1px;
}

#about{
  padding: 120px 0 0;
}

.about-title{
  font-family: "u-semibold";
  font-size: 24px;
  line-height: 24px;
  margin: 20px 0;
}

#services{
  padding-top: 140px;
}

.btn{
  border: 1px solid var(--text);
  color: var(--text);
  border-radius: 21px;
  padding: 0;
  position: relative;
  transition: border .2s;
}

.btn-inner{
  padding: 10px 30px;
  line-height: 22px;
  font-size: 16px;
  text-transform: uppercase;
  display: inline-block;
  z-index: 1;
  position: relative;
}

.blur-hover::after{
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--green);
  width: 100%;
  height: 100%;
  border-radius: 21px;
  z-index: 0;
  filter: blur(4px);
  opacity: 0;
  transition: opacity .2s;
}

.btn:hover, .btn:focus{
  border-color: transparent;
  outline: none;
  box-shadow: none;
}

.blur-hover:hover::after, .blur-hover:focus::after, .nav-link.active::after{
  opacity: 1;
}

#services .service:not(:last-of-type){
  margin-bottom: 80px;
}

img{
  width: 100%;
}

.service-title{
  font-family: "u-semibold";
  font-size: 27px;
  line-height: 27px;
  margin: 30px 0 20px;
}

#reviews{
  text-align: center;
  padding: 140px 0 0;
}

.reviews-title{
  font-family: "u-semibold";
  font-size: 27px;
  line-height: 27px;
  margin: 0 0 60px;
}

.carousel-cell{
  width: 100%;
}

.review{
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
  padding: 0 15px;
}

.review-text{
  align-self: center;
  padding: 50px 0;
  text-align: left;
  margin: 0;
}

.review-name{
  font-family: "u-semibold";
  position: absolute;
  left: 15px;
  bottom: 0;
}

#reviews-carousel{
  position: relative;
}

#reviews-carousel::before{
  content: "";
  width: 116px;
  height: 66px;
  position: absolute;
  left: -15px;
  top: 0;
  background-image: url("img/review-border.svg");
  background-size: contain;
  background-position: center;
  display: inline-block;
  pointer-events: none;
}

#reviews-carousel::after{
  content: "";
  width: 116px;
  height: 66px;
  position: absolute;
  right: -15px;
  bottom: 0;
  background-image: url("img/review-border.svg");
  background-size: contain;
  background-position: center;
  display: inline-block;
  transform: rotate(180deg);
  pointer-events: none;
}

.flickity-prev-next-button{
  background-color: transparent;
  width: 32px;
  height: 32px;
  background-image: url("img/arrow-left.svg");
}

.flickity-prev-next-button svg{
  display: none;
}

.flickity-prev-next-button:hover{
  background-color: transparent;
  background-image: url("img/arrow-left.svg");
}

.flickity-prev-next-button:focus{
  box-shadow: none;
}

.flickity-prev-next-button.previous{
  left: -20px;
}

.flickity-prev-next-button.next{
  right: -20px;
  background-image: url("img/arrow-right.svg");
}

.flickity-prev-next-button.next:hover{
  background-image: url("img/arrow-right.svg");
}

#faq{
  padding: 140px 0 0;
}

#accordionFAQ{
  border-top: 1px solid var(--text);
}

.accordion-item{
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0 !important;
}

.accordion-button{
  padding: 20px 0;
  font-family: "u-semibold";
  font-size: 18px;
  line-height: 24px;
  background-color: transparent;
  border: 0;
}

.accordion-button::after{
  display: none;
}

.accordion-button:focus{
  box-shadow: none;
}

.accordion-button:not(.collapsed), .accordion-button:hover{
  box-shadow: none;
  color: var(--green);
  background-color: transparent;
  filter: blur(1px);
}

.accordion-collapse{
  padding-bottom: 20px;
}

#collab{
  padding-top: 140px;
}

#contact{
  color: var(--beige);
  background-color: var(--text);
  padding: 100px 0 60px 40px;
  margin-top: 100px;
  margin-left: -40px;
}

#contact .logo{
  height: 30px;
  width: auto;
}

.contact-addresses{
  margin: 40px 0 15px;
}

.contact-addresses .contact-address{
  color: var(--beige);
  display: block;
  font-size: 21px;
  line-height: 24px;
}

.social-links{
  margin: 0 0 50px;
}

.social-link{
  color: var(--beige);
  font-size: 16px;
  line-height: 20px;
  margin-right: 10px;
}

.contact-addresses .contact-address:hover, .social-link:hover{
  color: var(--green);
  filter: blur(1.5px);
}

#contact .info{
  font-size: 14px;
  line-height: 16px;
  margin-top: 80px;
}

#contact .info-small{
  margin-bottom: 40px;
  display: inline-block;
}

#contact .form-title{
  font-size: 24px;
  line-height: 28px;
  margin: 50px 0 40px;
}

#contact .form-title.pulse{
  animation-name: pulse;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes pulse {
  0% {color: var(--beige); filter: blur(0);}
  50% {color: var(--beige); filter: blur(0);}
  100% {color: var(--green); filter: blur(1.5px);}
}

.input-holder{
  border-bottom: 1px solid var(--text);
  position: relative;
  margin-bottom: 15px;
}

.text-input{
  width: 100%;
  font-size: 16px;
  line-height: 18px;
  padding: 10px 2px;
  border: 0;
  background-color: transparent;
  position: relative;
  z-index: 1;
  height: 44px;
}

textarea.text-input{
  height: auto;
  padding: 16px 2px;

}

.text-input:focus{
  box-shadow: none;
  outline: none;
}

.text-input::placeholder{
  opacity: 0;
}

.label{
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  line-height: 18px;
  padding: 13px 2px;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  transition: font-size 0.2s, top 0.2s;
  opacity: .63;
}

.label-sup{
  text-transform: uppercase;
  font-size: 0.6em;
}

.text-input:not(:placeholder-shown) + .label, .label-small{
  font-size: 10px;
  top: -18px;
  z-index: 0;
}

#contact .text-input{
  color: var(--beige);
}

.radio-box{
  border-bottom: 1px solid var(--text);
  margin-bottom: 20px;
  padding: 0 2px 13px 2px;
  font-size: 16px;
  line-height: 18px;
}

.radio-box-label{
  display: inline-block;
  margin-bottom: 10px;
}

#contact .input-holder, #contact .radio-box{
  border-bottom-color: var(--beige);
}

.radio-input{
  opacity: .1;
  height: 1px;
  width: 1px;
  position: absolute;
  left: -10000px;
}

.radio-label{
  position: relative;
  margin-left: 24px;
}

.radio-label:before{
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid var(--text);
  border-radius: 50%;
  position: absolute;
  left: -22px;
  top: 2px;
}

.error-label {
  color: red;
}

.error-label:before {
  border: 1px solid red;
}

.radio-input:checked + .radio-label:after{
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--text);
  border-radius: 50%;
  position: absolute;
  left: -18px;
  top: 6px;
}

#contact .radio-label:before{
  border-color: var(--beige);
}

#contact .radio-label:after{
  background-color: var(--beige);
}

.radio-box .radio-label{
  margin-right: 35px;
  margin-bottom: 3px;
}

.select{
  appearance: none;
  width: 100%;
  font-size: 16px;
  line-height: 18px;
  border: 0;
  padding: 13px 0;
  background-color: transparent;
  color: var(--text);
}

.select:focus{
  outline: none;
}

.select-holder{
  position: relative;
}

.select-holder::after{
  width: 16px;
  height: 16px;
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  top: 11px;
  background-image: url("img/dropdown-arrow.svg");
  pointer-events: none;
}

#contact .select-holder::after{
  background-image: url("img/dropdown-arrow-light.svg");
}

#contact .select{
  color: var(--beige);
}

.select option{
  font-family: "u-regular", sans-serif;
  font-size: inherit;
  line-height: inherit;
  color: var(--text);
}

.select-label{
  pointer-events: none;
}

.gdpr-box{
  position: relative;
}

.gdpr-label{
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 20px;
}

#contact .btn{
  color: var(--beige);
  border-color: var(--beige);
  margin-top: 2px;
}

#contact .btn:hover{
  border-color: transparent;
}

.btn-form-submit .btn-inner{
  text-transform: none;
}

.btn-form-submit:hover .btn-inner{
  color: var(--text);
}

.logo-link{
  position: relative;
  z-index: 11;
}

.navbar{
  background-color: transparent;
  padding: 0;
  display: inline-block;
}

.navbar-toggler{
  width: 33px;
  height: 33px;
  padding: 0;
  border: 0;
  border-radius: 0;
  margin: -3px 0;
  z-index: 11;
  position: relative;
}

.navbar-toggler:focus{
  box-shadow: none;
}

#navbar{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  text-align: center;
  align-content: center;
  justify-content: center;
  background-color: var(--beige);
  z-index: 10;
  transition: opacity .2s;
}

#navbar.collapsing{
  transition:  opacity .2s;
  display: flex;
}

#navbar.show{
  display: flex;
  transition:  opacity .2s;
  opacity: 1;
}

#navbar:not(.show){
  opacity: 0;
}

.navbar-nav{
  display: block;
  width: auto;
}

.nav-link{
  color: var(--text);
  font-family: "u-bold";
  font-size: 15px;
  text-transform: uppercase;
  position: relative;
  display: block;
  width: max-content;
  padding: 0;
  margin: 0 auto;
}

.nav-link:hover, .nav-link:focus{
  color: var(--text);
}

.radio-box-gdpr{
  margin-bottom: 20px;
}

.radio-box-gdpr .gdpr-label{
  margin-bottom: 5px;
  display: block;
}

.form-title{
  font-size: 24px;
  font-family: "u-regular";
  font-weight: normal;
  margin-bottom: -30px;
}

.form-subtitle{
  font-size: 14px;
  font-family: "u-semibold";
  font-weight: normal;
}

#input-photos{
  display: none;
}

#label-photos{
  font-size: 16px;
  position: static;
}

@media(min-width: 360px){
  .content{
    padding: 0 40px;
  }

  #contact{
    margin-right: -40px;
    padding-right: 40px;
  }
}

@media(min-width: 576px){
  #reviews-carousel{
    max-width: 600px;
    width: 80%;
    margin: 0 auto;
  }

  .review{
    padding: 0 40px;
  }

  .flickity-prev-next-button.previous{
    left: -50px;
  }

  .flickity-prev-next-button.next{
    right: -50px;
  }

  .review-name{
    left: 40px;
  }
}

@media(min-width: 768px){
  .numbered:before{
    content: counter(h2counter, decimal-leading-zero) " ";
    counter-increment: h2counter;
    font-size: 24px;
    font-family: "u-semibold";
    margin: 0 20px 0 -50px;
    width: 30px;
    display: inline-block;
    float: left;
  }

  #aside{
    padding-top: 0;
    top: 140px;
    position: sticky;
  }

  section#terms, section#forms{
    padding-top: 140px;
    padding-bottom: 70px;
  }

  #contact .form-title{
    margin-top: 0;
    margin-bottom: 80px;
  }

  #hero .hero-title{
    font-size: 100px;
    line-height: 110px;
    padding-top: 65vh;
  }

  #hero .hero-text{
    font-size: 24px;
  }

  .about-img{
    box-shadow: 30px 30px 6px var(--green);
  }

  .about-button{
    margin-top: 20px;
  }

  .sticky-img{
    position: sticky;
    top: 40%;
  }

  #services, #faq, #collab{
    padding-top: 200px;
  }

  .service-title{
    margin-top: 0;
  }

  .service-button{
    margin-top: 20px;
  }

  #reviews{
    padding-top: 240px;
  }

  .accordion-collapse{
    margin: 20px 0;
    padding-bottom: 0;
  }

  #contact{
    margin-top: 140px;
  }

  .service-img{
    padding-right: 10px;
  }

  #contact .info{
    margin-top: -440px;
    margin-bottom: 100px;
  }

  #contact .contact-form{
    margin-bottom: 60px;
  }
}

@media(min-width: 992px){
  body{
    font-size: 18px;
    line-height: 23px;
  }

  #footer .footer-link{
    display: inline-block;
    margin-left: 30px;
  }

  #footer .studio{
    margin-top: 0;
  }

  #footer .studio-link{
    margin-left: 0;
  }

  .contact-addresses{
    margin: 100px 0 15px;
  }

  .contact-addresses .contact-address{
    font-size: 38px;
    line-height: 46px;
  }

  .social-links{
    margin: 0 0 90px;
  }

  .social-link{
    font-size: 21px;
    line-height: 24px;
    margin-right: 20px
  }

  #navbar{
    position: static;
    background-color: transparent;
    height: auto;
  }

  #navbar:not(.show){
    opacity: 1;
  }

  .navbar-nav{
    display: flex;
  }

  .nav-item .btn-inner{
    padding: 4px 10px;
  }

  .review{
    padding: 0 60px;
  }

  .review-text{
    padding: 70px 0;
  }

  .flickity-prev-next-button.previous{
    left: -120px;
  }

  .flickity-prev-next-button.next{
    right: -120px;
  }

  .review-name{
    left: 60px;
  }

  .accordion-button{
    font-size: 27px;
    line-height: 32px;
  }

  #navbar.collapsing{
    overflow: visible;
    height: 30px !important;
  }

  #contact .info{
    margin-top: -300px;
    margin-bottom: 60px;
  }
}

@media(min-width: 1200px){
  .container, .container-fluid{
    padding: 0 40px;
  }

  .content{
    padding: 0 60px;
  }

  .side{
    width: 60px;
    margin-left: -60px;
  }

  .side .text{
    padding-top: 40px;
    bottom: -60px;
  }

  .numbered:before{
    margin: 0 30px 0 -80px;
  }

  .radio-box-label{
    margin-bottom: 3px;
    margin-top: 10px;
  }

  .radio-box .radio-label{
    margin-bottom: 3px;
    margin-top: 10px;
  }

  #contact{
    margin: 140px -60px 0;
    padding: 100px 60px 40px;
  }

  .sticky-img{
    top: 20%;
  }

  .service-img{
    padding-right: 30px;
  }

  #contact .info{
    margin-top: -240px;
    margin-bottom: 40px;
  }
}

@media(min-width: 1400px){

  #hero .hero-title{
    font-size: 170px;
    line-height: 200px;
    padding-top: 60vh;
  }

  #hero .hero-text{
    font-size: 32px;
    line-height: 36px;
    margin-top: 10px;
  }

  #about{
    padding-top: 220px;
  }

  .about-title{
    margin-bottom: 40px;
  }

  .about-p{
    font-size: 24px;
    line-height: 29px;
  }

  .about-button{
    margin-top: 40px;
  }

  .service-title{
    font-size: 38px;
    line-height: 44px;
    margin-bottom: 30px;
  }

  #services, #collab{
    padding-top: 240px;
  }

  .service-img{
    padding-right: 60px;
  }

  #services .service:not(:last-of-type){
    margin-bottom: 100px;
  }

  #reviews, #faq{
    padding-top: 300px;
  }

  .reviews-title{
    margin-bottom: 100px;
    font-size: 38px;
  }

  .accordion-button{
    font-size: 38px;
    line-height: 44px;
    padding: 40px 0;
  }

  .accordion-collapse{
    margin: 40px 0;
  }
}

[data-aos="show-anim"]{
  width: 100%;
  opacity: 0;
}

[data-aos="show-anim"].aos-animate{
  opacity: 100%;
}
