@font-face {
    font-family: "Beatrice-Light";
    src: url("fonts/Beatrice Light.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
  }

@font-face {
  font-family: "Beatrice-Regular";
  src: url("fonts/Beatrice-Regular.woff2") format("woff2"),
    url("fonts/Beatrice-Regular.woff") format("woff"),
    url("fonts/Beatrice-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Beatrice-SemiBold";
  src: url("fonts/Beatrice-SemiBold.woff2") format("woff2"),
    url("fonts/Beatrice-SemiBold.woff") format("woff"),
    url("fonts/Beatrice-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "BeatriceDisplay-Bold";
  src: url("fonts/Beatrice Display Bold.woff2") format("woff2"),
    url("fonts/Beatrice Display Bold.woff") format("woff"),
    url("fonts/Beatrice Display Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
}

/* LAYOUT */
* {
    box-sizing: border-box;
}

body {
  overflow: hidden; /* Hide scrollbars */
}

.section {
  width: 100vw;
  height: 100vh;
}

/* COMPONENTS */

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px #f3f3f3 solid;
  background-color: #f3f3f3;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 4px;
}

button {
  -webkit-appearance: none;
  border-radius: 8px;
  border: none;
  padding: 5px 24px;
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

#seo {
  display: none;
}

body {
    display: block;
}

/* HEADER AND NAV CLASSES */
.lighten {
  -webkit-transition: 0.25s -webkit-filter ease-in-out;
  -moz-transition: 0.25s -moz-filter ease-in-out;
  -moz-transition: 0.25s filter ease-in-out;
  -ms-transition: 0.25s -ms-filter ease-in-out;
  -o-transition: 0.25s -o-filter ease-in-out;
  transition: 0.25s filter ease-in-out;
}

.lighten:hover {
  filter: invert(0.45);
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.header__content {
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: auto;
    padding-top: 12px; 
}

.top-left-logo {
  width: 12vw;
  min-width: 130px;
  z-index: 5;
}

.top-right-logo {
  width: 8vw;
  min-width: 88px;
  z-index: 5;
}

.bottom-right-logo {
    display: inline-block;
  width: 9vw;
  min-width: 92px;
  z-index: 5;
}

.content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.home {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 64px;

    opacity: 0;
    transition: 0.45s opacity ease-in-out;
}

.home__video {
    background: url(/site/themes/tatil/img/asterisco/destaque/parentese.svg) no-repeat;
    background-size: contain;
    background-position: center;
    
    position: relative;
    width: 45%;
    margin-left: 1.5%;
}

.home__caption {
    padding-left: 56px;
    padding-top: 8px;
    width: 42%;
    margin: auto 0;
    position: relative;
    /* font-size: 3vw; fallback size */
    line-height: 3.5vw;
}

.home__caption img {
    position: absolute;
    top: -4vw;
    left: 0.4vw;
    width: 6vw;
    margin-left: -2vw;
    margin-top: -5vh;
    padding-bottom: 5vh;
}

.footer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #e9e9e9;
    display: flex;
    margin: 0 auto;
    margin-bottom: 6px;
    width: 95%;
}

.social-links {
    position: fixed;
    left: 8px;
    top: 25vh;
    width: 3.8vw;
    display: flex;
    flex-direction: column;
}

.social-link__line {
    display: block;
    height: 160px;
    width: 1px;
    margin: auto;
}

/* .social-link {
    min-width: 16px;
} */

.newsletter-form__check {
    display: inline-block;
    width: 32px;
    vertical-align: middle;
    display: none;
    opacity: 0;

    transition: 0.3s opacity ease-in-out;
}

.main {
    text-align: center;
}

.center-img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 45%;
}

.vimeo-open {
    width: 16vw;
}

.newsletter-form {
    padding-top: 4px;
    display: inline-block;
    padding-bottom: 8px;
    font-size: 1.2em;
    position: relative;
    line-height: 1.8em;
}

.newsletter-form strong {
    font-size: 1.75vw;
    margin: 12px 0;
}

.newsletter-form p {
    font-size: 1.25vw;
}

.quem-somos {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 64px;
    margin-top: 10vh;
    opacity: 0;

    transition: 0.45s opacity ease-in-out;
}

.quem-somos__titulo {
    margin-right: 3vw;
    font-size: 6vw;
}

.quem-somos__descritivo {
    width: 55%;
}

.quem-somos__descritivo h2 {
    font-size: 3vw;
    margin-bottom: 32px;
}

.quem-somos__descritivo p {
    font-size: 1.6vw;
    line-height: 2.2vw;
    margin-bottom: 12px;
}

@media only screen and (orientation: portrait) {
    .header__content {
        padding-top: 12px;
    }

    .home {
        flex-direction: column;
        justify-content: flex-start;
    }

    .content {
        padding-top: 6vh;
    }
    
    .home__video {
        align-self: center;
        background: url(/site/themes/tatil/img/asterisco/destaque/parentese_asterisco.svg) no-repeat;
        background-size: contain;
        background-position: center;
        width: 90%;
        height: 30vh;
        margin: 0;
    }

    .center-img {
        transform: translateX(-6.2vw) translateY(-1vh);
    }

    .video-back {
        width: 40%;
    }

    .vimeo-open {
        width: 24vw;
    }
    
    .home__caption {
        width: 100%;
        margin: 0;
        padding: 0;
        padding-top: 8px;
        padding-left: 12px;
        line-height: 8.5vw;
    }

    .home__caption img {
        display: none;
    }

    .footer {
        padding-bottom: 8px;
    }

    .footer a {
        display: inline-block;
        vertical-align: top;
    }

    .social-links {
        margin-top: 0.25em;
        position: static;
        flex-direction: row;
        align-items: flex-end;
        transform: translateY(2px);
        width: 100%;
    }

    .social-link {
        width: 12vw;
        display: inline-block;
        vertical-align: bottom;
    }

    .social-link__line {
        display: none;
    }

    .newsletter-form {
	line-height: 1.3em;
        padding: 0;
    }

    .newsletter-form strong {
        font-size: 5vw;
    }
    
    .newsletter-form p {
        font-size: 4vw;
        transform: translateY(1px);
    }

    input {
        width: 28%;
        margin: 0px;
        display: inline-block;
    }

    .submit-form {
        display: inline;
        padding: 4px 12px;
    }

    .quem-somos {
        flex-direction: column;
        margin-top: 0;
        padding-top: 0;
    }

    .quem-somos__titulo {
        width: 100%;
        margin-top: 0;
        margin-right: 3vw;
        font-size: 15vw;
        padding: 1% 8%;
    }
    
    .quem-somos__descritivo {
        width: 100%;
        padding: 0;
        padding-left: 4%;
        padding-right: 1.5%;
    }
    
    .quem-somos__descritivo h2 {
        font-size: 6vw;
        margin-bottom: 8px;
        line-height: 8vw;
    }
    
    .quem-somos__descritivo p {
        font-size: 4.5vw;
        line-height: 6vw;
        margin-bottom: 8px;
    }
}

/* IPHONE 5 AND BEFORE */
@media only screen and (orientation: portrait) and (max-width: 360px) {
    .quem-somos__titulo {
        margin-top: 36px;
    }
}

/* TABLETS */
@media only screen and (orientation: portrait) and (min-width: 768px) and (max-width: 1440px) {
    .content {
        padding-top: 6vh;
    }
    
    .home__video {
        align-self: center;
        background: url(/site/themes/tatil/img/asterisco/destaque/parentese_asterisco.svg) no-repeat;
        background-size: contain;
        background-position: center;
        width: 90%;
        height: 30vh;
        margin: 0;
    }

    .home__caption {
        padding-top: 3vh;
        padding-left: 1.5%;
        width: 92%;
        margin: 0 auto;
        line-height: 7.8vw;
    }

    .newsletter-form {
        line-height: 1.8em;
    }

    .newsletter-form p {
        font-size: 1.2em;
    }

    .newsletter-form strong {
        font-size: 1.6em;
    }

    .center-img {
        transform: translateX(-6.2vw) translateY(-1vh);
    }

    .video-back {
        width: 35%;
    }

    .vimeo-open {
        width: 24vw;
    }

    .social-link {
        width: 64px;
    }

    .top-left-logo {
        min-width: 220px;
    }

    .top-right-logo, .bottom-right-logo {
        min-width: 128px;
    }

    .quem-somos {
        margin-top: 24px;
    }

    .quem-somos__titulo {
        font-size: 12vw;
        padding: 2% 8%;
    }
    
    .quem-somos__descritivo {
        padding: 0 3.5%;
    }
    
    .quem-somos__descritivo h2 {
        font-size: 5vw;
        line-height: 6vw;
        margin-bottom: 16px;
    }
    
    .quem-somos__descritivo p {
        font-size: 4vw;
        line-height: 5.5vw;
        margin-bottom: 12px;
    }
  }

/* LANDSCAPE */
@media only screen and (orientation: landscape) and (max-width: 900px) {

    input {
        width: 30%;
    }

    section {
        overflow: scroll;
    }

    .home {
        padding-top: 72px;
    }

    .home__video {
        margin-left: 4%;
        width: 38%;
    }

    .home__caption {
        padding-left: 24px;
    }

    .video-back {
        width: 40%;
    }

    .newsletter-form {
        line-height: 1.1em;
        padding: 0;
    }

    .newsletter-form div {
        padding-left: 12px;
    }

    .newsletter-form p {
        margin: 0;
        font-size: 1.8vw;
        transform: translateY(4px);
    }

    .newsletter-form strong {
        font-size: 2.5vw;
        margin: 0;
    }

    .social-links {
        top: 32vh;
        width: 32px;
        left: 0;
    }

    .newsletter-form div {
        padding: 0;
    }

    .social-link__line {
        height: 16px;
    }

    .submit-form {
        display: inline;
    }

    .footer {
        margin-bottom: 0;
    }

    .quem-somos {
	height: 120vh;
        padding-top: 10vh;
    }

    .quem-somos__titulo {
        font-size: 6vw;
        padding: 0;
        margin: 0;
    }
    
    .quem-somos__descritivo {
        width: 65%;
        padding: 0 3.5%;
    }
    
    .quem-somos__descritivo h2 {
        font-size: 3vw;
        line-height: 3.5vw;
        margin-bottom: 36px;
    }
    
    .quem-somos__descritivo p {
        font-size: 2.5vw;
        line-height: 2.75vw;
        margin-bottom: 8px;
    }
}

@media only screen and (orientation: landscape) and (max-width: 1440px) {
    .newsletter-form p {
        margin: 0;
    }

    .quem-somos__titulo {
        font-size: 7vw;
        padding: 0;
        margin: 0;
        margin-left: 40px;
    }
    
    .quem-somos__descritivo {
        width: 60%;
        padding-right: 0;
        padding-left: 3%;
    }
    
    .quem-somos__descritivo h2 {
        font-size: 3.5vw;
        line-height: 3.5vw;
        margin-bottom: 12px;
    }
    
    .quem-somos__descritivo p {
        font-size: 2.1vw;
        line-height: 3vw;
        margin-bottom: 12px;
    }
}

/* VIMEO */
#vimeo-player {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 5;
}

#vimeo-player .vimeo-close {
  position: fixed;
  top: 8%;
  right: 1%;
  width: 100px;
  height: auto;
  cursor: pointer;
  z-index: 5;
}

#vimeo-player iframe {
  width: 90vw;
  height: 45vw;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000;
}

/* UTILITY CLASSES */
.fnt-beatrice {
  font-family: "Beatrice-Regular";
}

.fnt-beatrice-l {
    font-family: "Beatrice-Light", "Beatrice-Regular";
}

.fnt-beatrice-sb {
  font-family: "Beatrice-SemiBold";
}

.fnt-beatrice-display {
  font-family: "BeatriceDisplay-Bold";
}
