@font-face {
    font-family: Triumph Brokman;
    src: url(img/TriumphBrokman-Bold.otf);
    font-weight: bold;
}
@font-face {
    font-family: Triumph Brokman;
    src: url(img/TriumphBrokman-Regular.otf);
    font-weight: normal;
}

*{
    box-sizing: border-box;
}

html, body, .main{
    height: 100%;
    width: 100%;
    margin: 0;background: black;
}

.main{
    display: flex;
    flex-direction: column;
    background: url(img/WEBPAGE_TRIUMPH_TAE2023_SFONDO_01.jpg);
    background-size: cover;
    color: white;
    max-height: 100%;
    font-family: "Triumph Brokman";
    font-weight: bold;
    color: white;
}


.header{
    background-color: black;
    width: 100%;
    height: 60px;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    grid-template-rows: 100%;
    align-items: center;
    padding: 0 2%;
    font-weight: bold;
    font-size: 14px;
}

.title{
    align-self: center;
    justify-self: center;
    margin: 0 auto;
    font-size: 2vw;
}
.logo{
    height: 56%;
    width: auto;
}

.learn-more{
    margin-left: auto;
}
.learn-more button{
    background-color: #cd192d;
    color: white;
    border: none;
    padding: 6px 14px;
    font-size: 14px;
    margin-left: 7px;
    cursor: pointer;
    font-weight: bold;
}


.content{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.iframe-container{
    width: 64%;
}


.footer, .footer-mobile{
    flex: 1;
    height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 200px;
    margin-top: auto;
}
.footer-grid{
    width: 100%;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    grid-template-rows: 100%;
}
.footer-mobile{
    display: none;
}
.footer-mobile img{
    width: 10.5%;
}

.categories{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
}
.categories span{
    border-bottom: solid 8px;
    padding: 0 .5vw;
    margin: 0 1.2vw;
    font-size: 2.6vw;
}
.categories p{
    font-size: 1.5vw;
    margin: 0;
}

.text-container{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info{
    justify-self: center;
}
.info > p, .info > h3{
    text-align: center;
}
.info p {
    font-size: 1vw;
    margin: 0 0 1%;
}
.info h3{
    font-size: 1.2vw;
    margin-bottom: 2%;
    margin-top: 0;
}
.info a {
    text-decoration: none;
    color:#cd192d;
}


/* TABLET PORTRAIT */
@media screen and (max-width: 1024px) and (orientation: portrait){
    .header, .footer{
        display: none;
    }       
    .footer-mobile{
        display: flex;
    }
    .heading{
        width: 80%;
        font-size: 2vw;
        margin: 1.5em 0;
    }
    .iframe-container{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
}

/* MOBILE PORTRAIT */
@media screen and (max-width: 480px) and (orientation: portrait){
    .header, .sidebar, .footer{
        display: none;
    }       
    .footer-mobile{
        display: flex;
    }
    .main{
        background: black;
    }
    .iframe-container, .content{
        width: 100%;
        margin-left: 0;
    }
}

/* MOBILE/TABLET/FRAME LANDSCAPE */
@media screen and (max-width: 1280px) and (orientation: landscape){
    .header, .sidebar, .footer{
        display: none;
    }
    .main{
        background: black;
    }
    .iframe-container, .content{
        width: 100%;
        height: 100%;
        margin-left: 0;
    }
    .iframe-container{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}