* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

/** fonts **/
@font-face {
    font-family: 'Gotham';
    src: url('font/Gotham Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('font/Gotham Medium.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Assegnazione */
h1 {
    font-family: 'Gotham', sans-serif;
    font-weight: 900;
    /* Black */
    letter-spacing: 2px;
    letter-spacing: -.3rem;
    line-height: 90%;
}

h4 {
    font-family: 'Gotham', sans-serif;
    font-weight: 300;
    /* Medium */
    letter-spacing: -.04rem;

}


/** Colori **/
:root {
    --primary: #002bff;
    --white: #ffffff;
}


.container {
    max-width: 100vw;
    height: 100vh;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
}

.row {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.col-12 {
    width: 100%;
    height: calc(100% / 3);
    display: flex;
    justify-content: center;
    padding: rem;

}

.col-12.top {
    align-items: top;
    padding-top: 0;
}


.col-12.center {
    align-items: center;
    flex-direction: column;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    gap: 1rem;
}

.col-12.bottom {
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

h1 {
    font-size: calc(100vw / 10);
    text-transform: uppercase;
    font-weight: bolder;
    line-height: 90%;

}

h4 {
    font-size: calc(100vw / 32);
    margin-bottom: 1.2rem;
}

h6 {
    font-size: calc(60vw / 36);
    margin-bottom: 1.5rem;
    font-weight: 200;
}

@media only screen and (max-width: 600px) {
    .col-12 {
        padding: .7rem;
    }

    h1 {
        font-size: calc(100vw / 10);
        text-transform: uppercase;
        font-weight: bolder;
    }

    h4 {
        font-size: calc(100vw / 17);
        margin-bottom: 1.2rem;
    }

    h6 {
        font-size: calc(60vw / 14);
        margin-bottom: 1.5rem;
        font-weight: 200;
    }
}


.videocustom {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;

}

.videocustom video {

    width: 100%;
    height: 100%;
    object-fit: 100%;
    transition: opacity 1s ease;
}

.top-logo {
    max-width: 80%;
}

.videocustom video.fade-out,
.videocustom.fade-out {
    opacity: 0;
    pointer-events: none;
}

.typing {

    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid;
    width: 0ch;
    /* parte da 0 caratteri */
    animation: typing 5s steps(11) infinite;
    /* 11 caratteri */
}

/* Keyframes con typing, pausa, untyping, pausa */
@keyframes typing {
    0% {
        width: 0ch;
    }

    50% {
        width: 10ch;
    }

    80% {
        width: 10ch;
    }

    100% {
        width: 0ch;
    }
}