#navbar{
    --nav-opacity: 0;
}
.nav-spacer{
    height: 0;
}
body{
    background-image: none;
}
#home-bg{
    min-height: 100vh;
    /* background-image: url('/images/tunel.jpeg'); */
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}
#hero-img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    object-position: center bottom;
    z-index: -10;
}
@media (min-width: 1700px) {
    #hero-img{
        object-position: center -450px;
    }
}
#hero-container{
    padding-top: 15vh;
}
@media (max-width:992px){
    #hero-container{
        min-height: 100vh;
    }
}
#hero-spacer1{
    height: 37vh;
}
@media (min-width: 768px){
    #hero-container{
        padding-top: 20vh;
    }
    #hero-spacer1{
        height: 27vh;
    }
}
@media (min-width: 992px){
    #hero-container{
        padding-top: 20vh;
    }
}
#hero-description{
    font-family: "ObjectiveMedium";
    font-size: clamp(0.6rem, 3.5vw, 1.2rem);
    color: white;
    text-shadow: 0 0 3px white;
}
@media(min-width: 992px){
    #hero-description > span{
        background-color: rgba(0,0,0,0.7);
    }
}

.article{
    min-height: 5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: box-shadow 100ms, transform 70ms;
    text-decoration: none;
}
@media (min-width: 992px){
    .article{
        aspect-ratio: 16 / 9;
    }
}

.article:hover{
    box-shadow: 0 0 3px 3px white;
    cursor: pointer;
    transform: scale(1.025);
}

.article-thumbnail{
    width: 25%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: var(--bs-border-radius-xl) !important;  
    border-bottom-left-radius: var(--bs-border-radius-xl) !important;
}
.article-title{
    height: 100%;
    width: 75%;
    background-color: #37373e;
    color: white;
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-family: 'ObjectiveExtraBoldItalic';
    border-bottom-right-radius: var(--bs-border-radius-xl) !important;
    border-top-right-radius: var(--bs-border-radius-xl) !important;
}

@media (min-width: 992px){
    .article-thumbnail{
        width: 100%;
        height: 60%;
        object-fit: cover;
        border-top-right-radius: var(--bs-border-radius-xl) !important;
        border-bottom-left-radius: 0 !important;
    }
    .article-title{
        height: 40%;
        width: 100%;
        background-color: #37373e;
        color: white;
        font-size: clamp(1rem, 1vw, 1.25rem);
        font-family: 'ObjectiveExtraBoldItalic';
        border-bottom-left-radius: var(--bs-border-radius-xl) !important;
        border-top-left-radius: var(--bs-border-radius-xl) !important;
    }
}

.articles-hr{
    border-width: 3px;
    opacity: 1;
    border-color: red;
    box-shadow: 0 0 3px 1px red;
    height: 0;
}

#articles-title{
    display: block;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: red;
    text-shadow: 0 0 5px red;
    font-family: 'ObjectiveBold';
    text-decoration: none;
    transition: transform 80ms;
}
#articles-title:hover{
    transform: scale(1.05);
}

#motto{
    color: white;
    text-shadow: 0 0 5px white;
    font-size: clamp(1rem, 7vw, 2.7rem);
    font-family: 'ObjectiveBold';
}

#countdown-container{
    background-color: rgba(128, 128, 128, 0.8);
    color: white;
    font-family: 'ObjectiveBoldItalic';
    height: fit-content;
    width: clamp(1%, 20rem, 100%);
}
#countdown-title{
    font-size: 1.35rem;
}
#countdown-date{
    font-size: 1.5rem;
}
.countdown-digits{
    font-size: 1.5rem;
}
.countdown-hint{
    font-size: 1rem;
}

#discover-more{
    font-family: 'ObjectiveMedium';
    font-size: clamp(1rem, 5vw, 1.1rem);
    text-decoration: none;
    transition: text-shadow 150ms, transform 70ms;
}
#discover-more > a{
    color: rgb(256, 256, 256);
    text-decoration: none;
}

#discover-more:hover{
    color: rgb(256, 256, 256);
    text-shadow: 0 0 3px white;
    transform: scale(1.025);
}











#entrants{
    margin-top: 1.5rem;
    background-color: rgb(48, 48, 48);
}
@media (min-width:768px) {
    #entrants{
        margin-top: 5rem;
    }   
}
#entrants-title{
    color: white;
    text-shadow: 0 0 3px white;
    font-family: 'ObjectiveBold';
    text-decoration: none;
}
#entrants-carousel{
    gap: 8rem;
    scroll-behavior: smooth;
}
.entrant{
    min-width: 5rem;
    width: 100vw;
    flex: 0 0 auto;
}

.team-scene {
    position: relative;
    width: clamp(50vw,65rem,100vw);
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;    
    display: flex;
    justify-content: center; 
}

.drivers-wrapper {
    position: absolute;
    bottom: 0;
    width: clamp(50vw, 100%, 90vw);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0px;
    z-index: 1;
}

.driver {
    height: 95%;
    width: auto;
    object-fit: cover;    
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}
.driver:not(:first-child) {
    margin-left: -12%;
}
@media(min-width:1700px){
    .driver:not(:first-child) {
        margin-left: -13%;
    }
}

/* .driver:hover {
    transform: scale(1.025); 
    z-index: 100; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
} */

.team-image{
    position: absolute;
    aspect-ratio: 1 / 1;
    width: 25%;
    left: 0%;
    bottom: 100%;
    z-index: 11;
    margin-left: -1rem;
}
@media (min-width: 992px){
    .team-image{
        width: 15%;
        margin-left: 2rem;
    }
}
.kart-image{
    position: absolute;
    bottom: 0;
    left: 52.5%;
    transform: translateX(-50%);
    z-index: 10;
    width: clamp(40vw, 45rem, 75vw);
    max-width: 90%;
    height: auto;
}

.team-information{
    width: clamp(70vw, 50rem, 90vw);
    margin-left: auto;
    margin-right: auto;
    /* font-family: 'Objective'; */
    text-decoration: none;
    color: white;
}
.team-name{
    background-color: var(--siedlce-blue);
    font-size: clamp(1.25rem, 5vw, 2rem);
    text-shadow: 0 0 3px white;
}
.team-name .number{
    font-family: 'ObjectiveExtraBold';
}
.team-name .name{
    font-family: 'ObjectiveMedium';
}
.team-drivers{
    /* background: linear-gradient(0deg, var(--siedlce-blue), var(--light-blue)); */
    background-color: var(--siedlce-blue);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    border-bottom-left-radius: var(--bs-border-radius-xl) !important;
    border-bottom-right-radius: var(--bs-border-radius-xl) !important;
    font-family: 'ObjectiveMediumItalic';

}
.team-specs{
    color: var(--siedlce-blue);
}


#sponsors-container{
    margin-top: 5rem;
    margin-bottom: 5rem;
    background-color: rgba(128, 128, 128, 0.7);
    color: white;
}
#main-sponsors{
    min-height: 10rem;
    font-family: 'ObjectiveBold';
    text-shadow: 0 0 2px white;
}
#sponsors{
    min-height: 4rem;
    font-family: 'ObjectiveBold';
    text-shadow: 0 0 2px white;
}
#partners{
    min-height: 3rem;
    font-family: 'ObjectiveBold';
    text-shadow: 0 0 2px white;
}
#main-sponsors .sponsor-anchor {
    height: 6rem;

}
#sponsors .sponsor-anchor {
    height: 5rem;

}
#partners .sponsor-anchor {
    height: 7rem;

}
.sponsor-anchor {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
    text-decoration: none; 
}

.sponsor-anchor:hover {
    transform: scale(1.05);
}

.sponsor-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}