@charset "UTF-8";
/* CSS Document */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* FONTS */

@font-face {
  font-family: 'Avenir Next Variable';
  src: url('fonts/AvenirNext_Variable.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Serif Variable';
  src: url('fonts/SourceSerifVariable-Roman.ttf') format('truetype');
}

@font-face {
  font-family: 'Source Code Variable';
  src: url('fonts/SourceCodeVariable-Roman.ttf') format('truetype');
}

@font-face {
  font-family: 'Kairos Sans Variable';
  src: url('fonts/KairosSans_Variable.ttf') format('truetype');
}

@font-face {
	src: url('fonts/MutatorSans.woff2');
	font-family:'Mutator Sans';
	font-style: normal;
}


/* GENERAL FORMATTING */

h1{
    font-family: 'Avenir Next Variable', serif;
    font-variation-settings: "wdth" 0, "wght" 800;
    text-transform: uppercase;
	font-size: 25vh;
    margin:0 0 0 0;
    line-height: 1;
    overflow:hidden;
    white-space:nowrap;
    display:block;
}


    #second{
    font-family: 'Source Serif Variable', serif;
    font-variation-settings: "wght" 900;
    }
    
    #third{
    font-family:'Mutator Sans', serif;
    font-variation-settings: "wght" 900;
    }
    
    
    #fourth{
    font-family: 'Kairos Sans Variable', serif;
    font-variation-settings: "wght" 900, "wdth" 200;
    }

    
    p{
    font-family: 'Avenir Next Variable', sans-serif;
    font-size: 17px;
    display: block;
    position:relative;
    width: 30vw;
    left: 40vw;
    line-height: 1.3;
    }

body{
    background-color:yellow;
    }


/* MOBILE */
@media screen and (max-width: 500px){


html, body {
    line-height: 0;
	margin: 0;
	padding: 0;
	font-family: 'Avenir Next Variable', sans-serif;
	display: block;
	position: relative;
}

h1{

    letter-spacing:-3px;
    word-spacing: -2px;
}
    
    
h1:not(:first-child) {
    margin:-5vh 0 0 0;
}
    
    #third{
    word-spacing: -40px;
    }
    
    
    #fourth{
    word-spacing: -20px;
    letter-spacing: 10px;
    }
    
    .text_container{
    /* temporary margin / a centrar vertically */
    margin-top:5vh;
    }   

    .marquee{
    overflow: hidden;
    }
    
    
}

/* DESKTOP */
@media screen and (min-width: 500px){

body{
width:100vw;
}
    
    #first{
    width:60vw;     
letter-spacing: -1px;
word-spacing: 5px;
font-size: calc(2vh + 70px);
margin:calc(2vh + 15px) 0 0 5vw;
    }
  
    #second{
    width:70vw;
    font-size: calc(2vh + 80px);
    letter-spacing: -2px;
    margin:calc(2vh + 25px) 0 0 10vw;
    }
    
    
    #third{
    width: 50vw;
    margin:calc(2vh + 20px) 0 0 10vw;
    font-size: calc(2vh + 70px);
    }
    
    #fourth{
    width: 60vw;
    font-size: calc(2vh + 70px);
    margin:calc(2vh + 30px) 0 0 40vw;
    float:left;

    }  

    .text_container{
    margin-top:calc(5vh + 50px);
    }


    #description{
    display: block;
    margin-top: calc(10vh + 80px);
    animation-name: fadeIn;
    animation-duration: 4s;
    }
    
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
    
    
}

/* DESCRIPTION BEGONE */
@media screen and (max-height: 780px){
    #description{
    display:none;
 
}
    

}


/*

    wght: "Weight"
    wdth: "Width"
    opsz: "Optical size"
    ital: "Italic"
    slnt: "Slant"

	eg. font-variation-settings: "wdth" 200, "wght" 200;
	More info: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide

*/