/* styles.css */

body {
    height: auto;
    text-align: center;
    font-family: Arial, sans-serif;
    margin: 0;
    position: relative;
    padding: 0;
}

header {
    position: relative;
    background-image: url('./static/images/header5.webp');
    background-size: cover;
    background-position: center;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 90;
}
html, body {
    height: 100%;
}
    #dtblogo {
        padding-top:30px;
    }

    #driverTable {
        border-collapse: collapse;

    }

    #driverTable th, #driverTable td {
        padding-left: 10px;
        padding-right:10px;
        padding-top:0px;
        padding-bottom:0px;
        border: 1px solid #000; /* Set border color to black */
        text-align: left;
    }
    .table{
        font-size: 14px;
    }

h2 {
    text-align: center;
    font-size:large;
}
h3 {
    text-align: center;
    font-size:large;
}
.top-banner {
    padding:10px;
    background-color: black;
    color: white;
    font-size:20px;
}
.top-banner .banner_link a:link,
.top-banner .banner_link a:visited {
    color: white;
    text-decoration: underline;
}

.merryxmas {
    display:flex;
    justify-content: center;
    align-items:center;
    gap:20px;
}
.merry img{
    max-width:100%;
    height:auto;
}
.xmas img{
    max-width:100%;
    height:auto;
}
.santa {
  width:20vw;
  min-width:175px;
  z-index: 600;
  cursor: default;
  -webkit-animation: FlyingSanta 38s infinite linear;
  -moz-animation: FlyingSanta 38s infinite linear;
  -ms-animation: FlyingSanta 38s infinite linear;
  -o-animation: FlyingSanta 38s infinite linear;
  animation: FlyingSanta 38s infinite linear;
  bottom: 0%;
  left: 0%;
  position: absolute;
}
@keyframes FlyingSanta {
  25% {
    bottom: 80%;
    left: 85%;
    transform: rotateY(0deg);
  }
  26% {
    transform: rotateY(180deg);
  }
  50% {
    bottom: 60%;
    left: 0%;
    transform: rotateY(180deg);
  }
  51% {
    transform: rotateY(0deg);
  }
  75% {
    bottom: 40%;
    left: 85%;
    transform: rotateY(0deg);
  }
  76% {
    bottom: 40%;
    left: 85%;
    transform: rotateY(180deg);
  }
  99% {
    transform: rotateY(180deg);
  }
}

#snow {
  background: none;
  z-index: 200;
  background-image: url("./static/images/flake1.png"),
    url("./static/images/flake2.png"),
    url("./static/images/flake3.png");
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
pointer-events: none;
  -webkit-animation: snow 10s linear infinite;
  -moz-animation: snow 10s linear infinite;
  -ms-animation: snow 10s linear infinite;
  animation: snow 10s linear infinite;
}
@keyframes snow {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }
  50% {
    background-position: 500px 500px, 100px 200px, -100px 150px;
  }
  100% {
    background-position: 500px 1000px, 200px 400px, -100px 300px;
  }
}
@-moz-keyframes snow {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }
  50% {
    background-position: 500px 500px, 100px 200px, -100px 150px;
  }
  100% {
    background-position: 400px 1000px, 200px 400px, 100px 300px;
  }
}
@-webkit-keyframes snow {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }
  50% {
    background-position: 500px 500px, 100px 200px, -100px 150px;
  }
  100% {
    background-position: 500px 1000px, 200px 400px, -100px 300px;
  }
}
@-ms-keyframes snow {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }
  50% {
    background-position: 500px 500px, 100px 200px, -100px 150px;
  }
  100% {
    background-position: 500px 1000px, 200px 400px, -100px 300px;
  }
}


#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -60px;
}

#footer {
    height: 60px;
}

h1 {
    margin-top: 20px;
}

img.logo,
img.social-icon {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.title{
    font-size: 50px;
}

.fnl {
    max-width: 100%;
    height: 250px;
    max-height: 250px;
}

.dtb {
    max-height: 100%;
    width: auto;
    max-width: 500px;
}

.gy6rn{
    margin-top: 10px;
}

.iframe-container {
    width: 50%;
    margin: 10px;
}

.thumbnail {
    width: 100%;
    height: auto;
    max-width: 200px;
    max-height: 250px;
}
.thumbnail a:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

iframe {
    height: 900px;
}
.dtb{
    max-height: 100%;
    width: auto;
    max-width: 500px;
}
.container {
    display: flex;
   flex-wrap:wrap;
justify-content: space-around;
}

.social-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    max-width: 200px;
    max-height: 200px;
    display: flex;
    align-items: center;
    z-index: 101;
}

.social-icons a {
    margin-left: 10px;
    display: block;
}

.social-icons a:hover img {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.main {
    font-weight: bold;
    font-size: 20px;
    color: black;
    padding-top: 10px;
    margin-top: 10px;
}


.season-standings img {
    max-width: 100%;
    height: 250px;
    max-height: 250px;
}

.icons img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.11), 0 2px 2px rgba(0, 0, 0, 0.11), 0 4px 4px rgba(0, 0, 0, 0.11), 0 6px 8px rgba(0, 0, 0, 0.11), 0 8px 16px rgba(0, 0, 0, 0.11);
    padding: 5px;
    margin-right: 0px;
    background-color: #fff;
}

.icons img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.schedule img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
}

hr {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.logos-container {
    display: flex;
    justify-content:center;
    column-gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo {
    text-align: center;
    margin-right: 0px;
}

a {
    text-decoration: none;
}

.logo-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

.background1-div {
    background-image: url('./static/images/flag.webp');
    background-size: 50%;
    background-position: top;
    background-repeat: no-repeat;

}

.background2-div {
    background-image: url('./static/images/flag.webp');
    background-size: 50%;
    background-position: bottom;
    background-repeat: no-repeat;

}

.icon-1,
.icon-2,
.icon-3 {
    position: absolute;
    left: 25%;
    top: 50%;
    width: 32px;
    height: 3px;
    background-color: black;
    transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
}

.icon-1 {
    transform: translateY(-8px);
    animation-delay: 100ms;
}

.icon-3 {
    transform: translateY(8px);
    animation-delay: 250ms;
}

.hamburger-icon {
    position: fixed;
    height: 60px;
    width: 60px;
    top: 10px;
    left: 10px;
    z-index: 1000;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    background: rgba(255, 255, 255, 0.4);
}

.hamburger-icon:hover {
    transform: scale(1.2);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}

.icon-1.a {
    transform: rotate(40deg);
}

.icon-3.b {
    transform: rotate(-40deg);
}

.icon-2.c {
    opacity: 0;
}

.clear {
    clear: both;
}

@keyframes slideIn {
    0% {
        width: 0%;
        opacity: 0;
    }

    100% {
        width: 50%;
        opacity: 1;
    }
}

nav {
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    height: 1600px;
    width: 0%;
    z-index: 125;
    opacity: 0;
    transition: all 600ms cubic-bezier(.62, .04, .3, 1.56);
    transition-delay: 100ms;
}

nav ul {
    margin: 0;
    position: absolute;
    top: 100px;
    left: 15px;
    text-align: left;
    z-index: 5;
}

nav ul li {
    list-style: none;
    font-size: 1px;
    color:black;
    line-height: 0.1;
    text-transform: uppercase;
    letter-spacing: 0.1px;
}

.navlink:link,
.navlink:visited {
    color: white;
}


.navlink:hover {
    color: dimgray;
}

.navlink-small {
    font-size: 24px;
    line-height: 2.2;
    letter-spacing: 1.7;
}

nav.show {
    width: 30%;
    opacity: 1;
}

.dark-blue {
    position: absolute;
    top: 0;
    left: 0;
    background: black;
    height: 100%;
    width: 0%;
    transition: all 500ms cubic-bezier(.62, .04, .3, 1.8);
    transition-delay: 50ms;
    z-index: 110;
    opacity: 1;
}

.dark-blue.slide {
    width: 30%;
    opacity: 1;
}

.flag {
    position: relative;
    left: 100;
    height: auto;
    width: 100px;
    z-index: 0;
}

#videos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-gap: 20px;
    margin-top: 20px;
    z-index:124;
}

.video {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    width: 450px;
    max-width: 100%;
    z-index:124;
}

.video:hover {
    transform: scale(1.05);
}

.video iframe {
    width: 100%;
    height: 253px;
    border: none;
}

.video-content {
    padding: 16px;
}

.video-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.video-date {
    font-size: 14px;
    color: #888;
}

.mission_text {
    max-width: 1000px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: black;
    margin:0 auto;
    padding-left:20px;
    padding-right: 20px;
}

.mission a:hover img {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
.welcome_text{
    max-width: 1200px;
    text-align: center;

    margin:0px auto;
    padding-left:20px;
    padding-right: 20px;
} 


@keyframes shotup {
    0% {
        transform: translateY(300%);
        opacity: 0;
    }

    90% {
        transform: translateY(-50px);
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@media (max-width: 1014px) {
    .iframe-container {
        width: 100%;
    }
    .merryxmas {

    font-size: 25px;
}
.top-banner {
    padding-left:50px;
    font-size:10px;
}
}
@media (max-width: 700px) {
    .main {
        font-size: 14px;
}
    .table{
        font-size: 12px;
    }
    


        #driverTable th, #driverTable td {
        padding-left: 5px;
        padding-right:5px;
        padding-top:0px;
        padding-bottom:0px;
        border: 1px solid #ddd; /* Add borders to cells */
        text-align: left;
    }
    nav.show {
        width: 50%;
        opacity: 1;
    }

    .social-icons {
        max-width: 125px;
        max-height: 125px;
    }

    .hamburger-icon {
        height: 45px;
        width: 45px;
    }

    .icon-1,
    .icon-2,
    .icon-3 {
        position: absolute;
        left: 25%;
        top: 50%;
        width: 24px;
        height: 3px;
        background-color: black;
        transition: all 400ms cubic-bezier(.84, .06, .52, 1.8);
    }

    .season-standings img {
        max-width: 100%;
        height: auto;
        max-height: 125px;
    }
}

@media (max-width: 528px) {
    .logos-container {
    column-gap: 5px;

}
}   
@media (max-width: 441px) {
    .title {
        font-size: 30px;
    }
    .table{
        font-size: 10px;
    }
    



        #driverTable th, #driverTable td {
        padding-left: 2px;
        padding-right:2px;
        padding-top:0px;
        padding-bottom:0px;
        border: 1px solid #ddd; /* Add borders to cells */
        text-align: left;
    }
    
.merryxmas {
    gap:0px;
    font-size: 14px;
}

    nav.show {
        width: 75%;
        opacity: 1;
    }
}

