#header {
    position: relative;
    height: 100vh;
    display: flex;
}

#header-left {
    position: relative;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-left: 13vw;
}

#header-left > span {
    background-image: linear-gradient(to right bottom, white, var(--orange));
    background-size: 300% 300%;
    background-position: 35% 35%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 6rem;
    font-family: font-black;
    animation: move-bg 1500ms linear infinite alternate;
}

#header-left div span {
    font-size: 6rem;
    font-family: font-black;
}

#header-left div {
    position: relative;
    overflow: hidden;
}

#header-left div span {
    position: relative;
    top: -100%;
    animation: move-down 700ms ease-in-out forwards 1200ms;
}

@keyframes move-down {
    100% {
        opacity: 1;
        top: 0;
    }
}

#header-left > span::before {
    content: '';
    animation: write 1200ms forwards 500ms;
}

@keyframes write {
    0% {
        content: '|';
    }
    9% {
        content: 'A|';
    }
    18% {
        content: 'Al|';
    }
    27% {
        content: 'Alu|';
    }
    36% {
        content: 'Alum|';
    }
    45% {
        content: 'Alumi|';
    }
    54% {
        content: 'Alumin|';
    }
    63% {
        content: 'Alumini|';
    }
    72% {
        content: 'Aluminiu|';
    }
    81% {
        content: 'Aluminium|';
    }
    90% {
        content: 'Aluminium';
    }
    100% {
        content: 'Aluminium';
    }
} 

@keyframes move-bg {
    0% {
        background-position: 45% 45%;
    }
    100% {
        background-position: 95% 95%;
    }
}

#header-right {
    position: relative;
    width: 40%;
    padding-left: 5rem;
    padding-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-right-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#header-right-container p {
    position: relative;
    width: 70%;
    font-size: 1.2rem;
    font-family: font-regular;
    text-align: left;
    color: #c9c9c9;
}

#header-right-container p span {
    color: white;
}

#header_button {
    cursor: pointer;
    color: white;
    text-decoration: none;
    margin-top: 1.5rem;
    background-color: transparent;
    border: transparent;
    font-size: 1rem;
}

#header_button span {
    color: var(--orange);
}

@media screen and (max-width: 1100px) {
    #header-left {
        padding-left: 8vw;
    }

    #header-left span {
        font-size: 4.5rem;
    }

    #header-left div span {
        font-size: 4.5rem;
    }

    #header-right {
        padding-left: 2rem;
    }

    #header-right-container h1 {
        font-size: 2rem;
    }

    #header-right-container p { 
        font-size: 1rem;
    }
    
}

@media screen and (min-width: 800px) and (max-width: 950px) {
    #header-left span {
        font-size: 4.5rem;
    }

    #header-left div span {
        font-size: 4.5rem;
    }
    
}

@media screen and (max-width: 800px) {
    #header {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #header-left {
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 3rem;
    }

    #header-left span {
        font-size: 4.5rem;
    }

    #header-left div span {
        font-size: 4.5rem;
    }


    #header-right {
        padding-left: 8vw;
    }

    #header-right-container p { 
        width: 70%;
    }
    

    #header-right {
        width: 100%;
    }
    
}

@media screen and (max-width: 500px) {
    #header-left span {
        font-size: 3.5rem;
    }

    #header-left div span {
        font-size: 3.5rem;
    }
    
}


@media screen and (max-width: 400px) {
    #header-left span {
        font-size: 3rem;
    }

    #header-left div span {
        font-size: 3rem;
    }
    
}

/* ABOUT */

#about {
    position: relative;
    height: 100vh;
}

#about-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#about-numbers {
    position: relative;
    width: 75%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 5rem;
}

#about-numbers > h1 { 
    position: relative;
    width: 100%;
    text-align: center;
    font-family: font-black;
    font-size: 2.3rem;
}

#about-numbers-list {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

#about-numbers-list div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2rem;
}

#about-numbers-list div h1 {
    font-size: 3rem;
    font-family: font-black;
}

#about-numbers-list div p {
    font-size: 1.1rem;
    font-family: font-regular;
    color: #c9c9c9;
}

#about-info {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#about-info-container {
    position: relative;
    width: 70%;
}

#about-info-buttons {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

#about-info-buttons button {
    position: relative;
    width: 8.5rem;
    height: 4rem;
    background-color: transparent;
    border: solid 3px white;
    color: white;
    margin: 2rem;
    font-family: font-black;
    font-size: 1.5rem;
    filter: brightness(.5);
    cursor: pointer;
}

#about-info-buttons button.active {
    filter: none;
    border: solid 3px var(--orange);
}

.about-info-list {
    position: relative;
    margin-left: 3rem;
    display: none;
}

.about-info-list.active {
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px);
    animation: slide-in 800ms forwards;
}

@keyframes slide-in {
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-info-list div {
    position: relative;
    width: 37rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-info-list li span {
    font-size: 1.1rem;
    color: #c9c9c9;
}

@media screen and (max-width: 1350px) {
    #about-numbers-list div h1 {
        font-size: 3rem;
    }

    #about-numbers-list div p {
        text-align: center;
        font-size: 1rem;
    }
}

@media screen and (max-width: 880px) {
    #about-numbers-list div p {
        font-size: .8rem;
    }
}

@media screen and (max-width: 850px) {
    #about {
        height: 70vh;
        margin-bottom: 10rem;
    }

    #about-numbers-list {
        justify-content: space-around;
    }

    #about-numbers-list div {
        width: 25%;
        margin: .8rem;
    }

    #about-container {
        align-items: center;
    }

    #about-numbers {
        width: 100%;
        padding-right: 0rem;
    }

    #about-info-container {
        width: 100%;
    }

    #about-info {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }
}

@media screen and (max-width: 520px) {
    #about {
        margin-top: 5rem;
    }

    #about-number {
        align-items: center;
    }

    #about-numbers > h1 { 
        margin-bottom: 2rem;
    }

    #about-numbers-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 2rem;
    }

    #about-numbers-list div {
        justify-self: center;
        margin: 0;
        width: 100%;
    }

    #about-numbers-list div h1 {
        font-size: 2.5rem;
    }

    #about-info-buttons {
        margin-bottom: 2rem;
    }

    #about-info-buttons button {
        width: 8rem;
        height: 4rem;
        font-size: 1rem;
        margin: 1rem;
    }

    .about-info-list {
        margin-left: 2rem;
    }

    .about-info-list li span {
        font-size: 1rem;
    }
}

#about-map {
    position: absolute;
    top: 0;
    right: 5rem;
}

#about-map-info {
    position: absolute;
    width: 20rem;
    height: 10rem;
    top: 5rem;
    right: 8rem;
    z-index: 5;
    display: none;
}

#about-map-info div { 
    position: relative;
    display: flex;
    align-items: center;
}

#about-map-info div h1 {
    position: relative;
    font-family: font-black;
    margin-right: 1rem;
}

#about-map-info div div {
    width: 10px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: solid 1px white;
    border-radius: 100vw;
    animation: wave 1500ms linear infinite;
}

#about-map-info div div div {
    width: 10px;
    height: 10px;
    border-radius: 100vw;
    border: solid 1px transparent;
    background-color: var(--orange);
    opacity: 0;
    animation: pulsee 1500ms linear infinite;
}    

@keyframes pulsee {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes wave {
    100% {
        border: solid 1px transparent;
        width: 25px;
        height: 25px;
        transform: translateX(-7px);
    }
}

#about-map-info p {
    position: absolute;
    width: 100%;
    top: 3rem;
    right: 4.5rem;
    color: #c9c9c9;
    text-align: right;

}

#about-map img {
    position: relative;
    width: 18rem;
}

#about-map.active #about-map-info {
    display: inline;
}

@media screen and (max-width: 1350px) {
    #about-map {
        right: 0rem;
    }
}

@media screen and (max-width: 1150px) {

    #about-map-info {
        top: 6rem;
        right: 2rem;
    }

    #about-map-info div h1 {
        margin-left: 1rem;
        font-size: 1rem;
    }

    #about-map-info p { 
        top: 2rem;
        right: 10.5rem;
        font-size: .8rem;
    }
}

@media screen and (max-width: 850px) {
    #about-map {
        display: none;
    }
}

/* Partnerships */

#partnerships {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    overflow-x: hidden;
}

#partnerships h1 {
    font-size: 2.3rem;
    font-family: font-black;
    margin-bottom: 1rem;
}

#partnerships-list {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#partnerships-list img {
    width: 13vw;
}   

@media screen and (max-width: 900px) {
    #partnerships {
        margin-top: 3rem;
    }
    
    #partnerships-list {
        display: grid;
        grid-template-areas: 
        "img1 img2 img2"
        "img3 img4 img5";
    }    

    #partnerships-list img {
        width: 7rem;
    }   
}

@media screen and (max-width: 500px) {

    #partnerships-list {
        display: grid;
        grid-template-areas: 
        "img1"
        "img2"
        "img3"
        "img4"
        "img5"
    }      
}



.reveal {
    opacity: 0;
    transition: All 400ms ease-in;
}

.reveal.horizontal.left {
    transform: translateX(50px);
}

.reveal.horizontal.right {
    transform: translateX(-50px);
}

.reveal.vertical {
    transform: translateY(50px);
}

.reveal.vertical {
    transform: translateY(50px);
}

.reveal.active {
    opacity: 1;
}

.reveal.horizontal.active {
    transform: translateX(0);
}

.reveal.vertical.active {
    transform: translateY(0);
}
