/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@import url("https://fonts.googleapis.com/css?family=Fira+Sans:200,300,400,500,600,700,800,900&display=swap");


body{
  background-color: black;
  /* font-family: "roboto", sans-serif; */
  color:#fff;
}

a{
  color: hsl(120, 20%, 99%);
}

a:hover{
  color:#F3BE16;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.5);
}

p{
  /* font-weight: lighter; */
  font-size:16px;
}

.social-link a{
  /* background-color: rgba(0, 0, 0, 0.5); */
  color: hsl(120, 20%, 99%);
  font-size: 1.7rem;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: inline-block;
  line-height: 0;
  padding-top: 0.5rem;
  /* margin: 0 0.2rem; */
}

.social-link :hover{
  color: #F3BE16;
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/

.navbar-nav .nav-item .nav-link:hover {
  color:#F3BE16;
}

.ftimg{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.imm{
  flex-shrink: 0;
  width: 150px;
  object-fit: contain;
}

.navbar .dropdown ul{
  background-color: #000;
}
.navbar .dropdown ul a {
  color: #F3BE16;
}
.navbar .dropdown ul :hover{
  background-color: darkgrey;
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/

.carousel{
  background: -moz-linear-gradient(left, hsla(0,0%,0%,0) 0%, hsla(0,0%,0%,0.75) 30%, hsla(0,100%,0%,0.75) 70%, hsla(0,43%,2%,0) 100%);
  background: -webkit-linear-gradient(left, hsla(0,0%,0%,0) 0%,hsla(0,0%,0%,0.75) 30%,hsla(0,100%,0%,0.75) 70%,hsla(0,43%,2%,0) 100%);
  background: linear-gradient(to right, hsla(0,0%,0%,0) 0%,hsla(0,0%,0%,0.75) 30%,hsla(0,100%,0%,0.75) 70%,hsla(0,43%,2%,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00050202',GradientType=1 );
}

.carousel h2{
  font-weight: bold;
  font-size: 42px;
  text-shadow: 2px 2px 20px #000;
  letter-spacing: 1.5px;
  white-space:nowrap;
}

.carouselc1 h3{
  font-weight: bold;
  font-size: 42px;
  text-shadow: 2px 2px 20px #000;
  padding-left: 500px;
  letter-spacing: .5px;
  white-space:nowrap;
}

.carouselc1 p{
  font-weight: bold;
  font-size: 36px;
  text-shadow: 2px 2px 20px #000;
  padding-left: 600px;
  padding-bottom: 50px;
  padding-bottom: 350px;
  white-space:nowrap;
  
}

.carouselc12 h3{
  font-weight: bold;
  font-size: 42px;
  text-shadow: 2px 2px 20px #000;
  padding-right: 500px;
  white-space:nowrap;
  
}
.carouselc12 p{
  font-weight: bold;
  font-size: 36px;
  text-shadow: 2px 2px 20px #000;
  padding-right: 500px;
  padding-bottom: 350px;
  white-space:nowrap;
}

.carouselc2 h3{
  font-weight: bold;
  font-size: 42px;
  text-shadow: 2px 2px 20px #000;
  padding-left: 0px;
  letter-spacing: .5px;
  white-space:nowrap;
}

.carouselc2 p{
  font-weight: bold;
  font-size: 36px;
  text-shadow: 2px 2px 20px #000;
  padding-left: 0px;
  white-space:nowrap;
}

/* .slide{
  padding-top: 75px;
} */

figure {
  margin: 0 0 0rem;
}

/*--------------------------------------------------------------
# Welcome
--------------------------------------------------------------*/

.welcome{
  width: 100%;
  margin: 0 auto;
  text-align: center;

}

.welcome h3{
  font-size: 42px;
}

.welcome p{
  font-size: 22px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
  
}

.welcomeBG1{ 
  background-image: url(../images/bg-metalmesh1980x1080.jpg);
  background-attachment: fixed;
  background-position: center center;
  padding: 200px;
}

.welcome hr{
border-top: 2px solid #b4b4b4;
width: 100%;
margin-top: .2px;
margin-bottom: 3px;

}

/*--------------------------------------------------------------
# Time
--------------------------------------------------------------*/

.timepadding {
  padding-top: 100px;
  padding-bottom: 120px;
}

.cnountdow{
  background-color: rgb(0, 0, 0);
  padding-top: 50px;
  padding-bottom: 50px;
  background-attachment: fixed;
  text-align: center;
  color: aliceblue;
  
  
}

.countdown h3{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 60px;
    margin: 20px;
    margin-top: 0;
    letter-spacing: 8px;
    text-align: center;
   
  }
  
.countdown hr{
    border-top: 2px solid #F3BE16;
    width: 95%;
    margin-top: .2px;
    margin-bottom: 3px;
  }
  
.count{
    padding: 10px;
    display: inline-block;
    
  }
  
.countd{
    text-align: center;
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 2px solid #F3BE16;
    font-size: 15px;
    border-radius: 20%;
    overflow: hidden;
  }
  
.countd span{
    display: block;
    font-size: 23px;
    margin-top: 10px;
    
  }

.card{
  border: none;
}

.driverBG1{ background-image: url(../images/Maro-Engel.jpg);}
.driverBG2{ background-image: url(../images/Raffaele-Marciello.jpg);}
.driverBG3{ background-image: url(../images/Maximilan-Buhk.jpg);}
.driverBG4{ background-image: url(../images/product-4.jpg);}

.bg-images{
  background-size: cover;
  background-position: center center;
}

.text-content{
  padding: 30px;
}

@media screen and (max-width:991px){
  .bg-images {
    height: 100vh;
    width: 100%;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important; 
  }
  .race h3{
    font-size: 38px !important;
    font-weight: normal;
    text-shadow: 2px 2px 20px #000 !important;
    letter-spacing: .5px;
    color: rgb(247, 244, 244);
    padding-left: 50px !important; 
    padding-right: 400px !important;
    
  }
}
@media screen and (max-width: 768px) {
  .bg-images {
       height: 100vh;
    width: 100%;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }
  .race h3{
    font-size: 28px !important;
    font-weight: normal;
    text-shadow: 2px 2px 20px #000 !important;
    letter-spacing: .5px;
    color: rgb(247, 244, 244);
    padding-left: 40px !important; 
    padding-right: 300px !important;
    
  }
}
@media screen and (max-width: 680px) {
  .bg-images {
    height: 100vh;
    width: 100%;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important; 
  }
  .race h3{
    font-size: 28px !important;
    font-weight: normal;
    text-shadow: 2px 2px 20px #000 !important;
    letter-spacing: .5px;
    color: rgb(247, 244, 244);
    padding-left: 10px !important; 
    padding-right: 300px !important;
    
  }
}

.section-bgi-1{ background-image: url(../images/carbon-background.jpg); padding: 200px 20px; background-attachment: fixed;}
.section-bgi-2{ background-image: url(../images/bg-metalmesh1980x1080.jpg); padding: 1px 20px; background-attachment: fixed;}
.section-bgi-3{ background-image: url(../images/carbon_gradient_down.jpg); padding: 200px 20px; background-attachment: fixed;}
.section-bgi-4{ background-image: url(../images/carbon_gradient_top.jpg); padding: 200px 20px; background-attachment: fixed;}
.section-bgi-5{ background-image: url(../images/gt3-car-racing-carousel6.jpg); padding: 300px 20px; background-attachment: fixed;}
.section-bgi-6{ background-image: url(../images/2024-bg-1.png); padding: 300px 20px; margin-top: 5rem;background-attachment: fixed;}
.section-bgi-7{ background-image: url(../images/engine.jpg); padding: 300px 20px; background-attachment: fixed;}
.section-bgi-8{ background-image: url(../images23/DTM821_08171JS_BU.jpg); padding: 300px 20px; background-attachment: fixed;}
.section-bgi-9{ background-image: url(../images23/DTM621_26045JS_JS.jpg); padding: 300px 20px; background-attachment: fixed;}
.section-bgi-10{ background-image: url(../images23/DTM521_23134PK_PK.jpg); padding: 300px 20px; background-attachment: fixed;}
.section-bgi-11{ background-image: url(../images18/DTM321_07296JS_JS.jpg); padding: 300px 20px; background-attachment: fixed;}

.video{
  position: relative;
}

.video-container {
  background-color: black;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  margin-top: 80px;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.aboutvideo{
  position: relative;
}

.aboutvideo-container {
  background-color: rgb(0, 0, 0);
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.aboutvideo-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}




/*Blog posts */
 .blog-post {
  display: block;
  background-attachment: fixed;
  margin: 0px;
  width: 100%;
  color: rgb(255, 255, 255);
  /* padding-left: 100px;
  padding-right: 100px; */
  padding: 50px;
}

.blog-post-title {
  margin-bottom: .25rem;
  font-size: 45px;
}

.blog-post-meta {
  margin-bottom: 1.25rem;
  color: rgb(199, 197, 197);
}

.partner{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 200px;
}

.partner h3{
  text-transform: uppercase;
  font-weight: normal;
  font-size: 48px;
  margin: 20px; 
}

.partner hr{
  border-top: 2px solid #b4b4b4;
  width: 100%;
  margin-top: .10px;
  margin-bottom: 5px;
}

/* drivers */
.drivers{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  /* padding-top: 50px;
  padding-bottom: 60px; */
  }
  
.drivers hr{
border-top: 2px solid #b4b4b4;
width: 100%;
margin-top: .10px;
margin-bottom: 5px;
}

.drivers h3{
  text-transform: uppercase;
  font-weight: normal;
  font-size: 48px;
  margin: 20px;
  
}

.drivers li{
  font-size: 20px;
  font-weight: normal;
  white-space:nowrap;
}

.drivers img{
  padding-left: 50px;
}

.drivers h4{
  font-size: 38px;
  text-align: center;
  padding: 20px;
}

.news{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  }

.news h3{
    text-transform: uppercase;
    font-weight: normal;
    /* font-size: 60px; */
    margin: 20px;
    margin-top: 100px;
    letter-spacing: 6px;
  }

.news hr{
border-top: 2px solid #b4b4b4;
width: 100%;
margin-top: .2px;
margin-bottom: 3px;
}

.nowrap {
  white-space:nowrap;
  }

.about{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 50px;
  }

.about p{
  font-size: 22px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  
}

.about h3{
    text-transform: uppercase;
    font-weight: normal;
    /* font-size: 60px; */
    margin: 20px;
    margin-top: 100px;
    letter-spacing: 6px;
  
}

.about hr{
  border-top: 2px solid #b4b4b4;
  width: 100%;
  margin-top: .2px;
  margin-bottom: 3px;
  padding-bottom: 30px;
  }

.contact {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  
  }

.contact p{
  font-size: 32px;
  font-weight: normal;
  width: 100%;
  margin: 0 auto;
  text-align: center;
 
  
}
.contact h3{
  font-size: 48px;
  text-align: center;
  font-weight: normal;
  
}

.contact a{
  font-size: 32px;
  font-weight: normal;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 50px;
}

.contact hr{
  border-top: 2px solid #b4b4b4;
  width: 85%;
  margin-top: .2px;
  margin-bottom: 3px;
  }

.contact a{
  color: hsl(120, 20%, 99%);

}

.ccontactinfo:hover {
  color: rgb(250, 213, 1);
  border-color: rgb(255,230,6);
}
  
.flex-column { 
      max-width : 260px;
}


.gallery {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  }

.galleryhr{
    border-top: 2px solid #b4b4b4;
    width: 80%;
    margin-top: .10px;
    margin-bottom: 5px;
}

.gallery h3{
  text-transform: uppercase;
  font-weight: normal;
  font-size: 60px;
  margin: 20px;
  letter-spacing: 6px;
}

.gallery h5{
  text-transform: uppercase;
  font-weight: normal;
  font-size: 40px;
  margin: 5px;
  letter-spacing: none;
}

.galleryhr1{
  border-top: 2px solid #b4b4b4;
  width: 80%;
  margin-top: .10px;
  margin-bottom: 5px;
}


.team{
 padding: 150px;
 
}
.team hr{
  border-top: 2px solid #b4b4b4;
  width: 100%;
}


.calender h3{
  font-size: 48px;
  text-align: center;
}

.calender hr{
  border-top: 2px solid #b4b4b4;
  width: 100%;
}

.calender h4{
  font-size: 38px;
  text-align: center;
}

.calender h5{
  font-size: 16px;
}

.racecar{
  width: 100%;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 200px;
  text-align: center;
  }

.racecar li{
    font-size: 20px;
}
  
.racecar h3{
  font-size: 48px;
  font-weight: normal;
}

.racecar hr{
  border-top: 2px solid #b4b4b4;
  width: 85%;
  margin-top: .2px;
  margin-bottom: 3px;
  }
  
.racecar p{
    font-size: 22px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
    
  }

.carresult{
  font-size: 36px;
  padding: 10px;
}

.carresult h4{
  font-size: 40px;
}

.carresult p{
  font-size: 36px;
  font-weight: bolder;
  color: rgb(0, 0, 0);
  background: rgb(252, 194, 2);
  border: double 5px rgb(247, 244, 244);
}

.uparea{
  margin-top: 4rem;
}

.drivers{
  padding-left: 35px;
}

.driversarea{
  width: 350px;
}

.carresult ul{
  font-size: 24px;
  font-weight: bolder;
  color: rgb(0, 0, 0);
  background: rgb(248, 193, 14);
  border: double 5px rgb(247, 244, 244);
  border-radius: 20px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.carresult a{
  text-align: center;
  padding-right: 35px;
}

.carresultbtn {
  display: inline-block;
  font-weight: 24px;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  
}

.carresultbtninfo {
  color: rgb(0, 0, 0);
  /* background-color: #5a5a5a; */
  /* border-color: #ffffff; */
}
.carresultbtninfo:hover {
  color: rgb(250, 1, 1);
  background-color: #F3BE16;
}
.carresultbtninfo:focus, .carresultbtninfo.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0,);
}

.carresultbtninfo.disabled, .carresultbtninfo:disabled {
  color: #fff;
  background-color: #242424;
  border-color: #272929;
}

.carresultbtninfo-info:not(:disabled):not(.disabled):active, .carresultbtninfo:not(:disabled):not(.disabled).active,
.show > .carresultbtninfo.dropdown-toggle {
  color: #fff;
  background-color: #000000;
  border-color: #fafafa;
}

.carresultbtninfo:not(:disabled):not(.disabled):active:focus, .carresultbtninfo:not(:disabled):not(.disabled).active:focus,
.show > .carresultbtninfo.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(36, 36, 36, 0.5);
}

.calendarcard{
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.race h3{
  font-size: 52px;
  font-weight: normal;
  text-shadow: 1px 1px 10px #000;
  letter-spacing: .5px;
  color: rgb(247, 244, 244);
  padding-left: 80px;
}

.aboutvideo{
  padding: 300px;
  margin: 0px;
  background-color: rgb(0, 0, 0);
}

.footer{
  background: rgb(0, 0, 0)!important;
  border-top: 2px solid #F3BE16;
  padding-top: 50px;
  padding-bottom: 20px;
  /* margin-top: 80px; */
  color: #fff;
  font-size: 14px;
  color: #fff;
}

.yellow{
  color: #F3BE16;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  /* padding-bottom: 30px; */
  font-size: 15px;
  font-weight: bold;
}
.pseudo{
  padding: .62em 1.5em;
  color: black;
  text-decoration: none;
  background: #fff;
  transform: skew(-13deg);
  margin-left: 1em;
  p{
    transform: skew(13deg);
    font-weight: 700;
    line-height: 60px;
    margin: 0;
  }
}
.pseudo:hover{
  color: white;
  /* background-color:#000; */
  background: linear-gradient(to top,#1e6c70 0%, #195C5F 20%, #00777B 40%,#36DFDA 100%);
}
/* 彈窗式樣 */
.swal2-custom-popup{
  h2{
    font-weight: 600;
    width: 60%;
    margin: auto;
  }
  h3{
    font-weight: 600;
    text-align: left;
  }
  p{
    font-weight: 400;
    text-align: start;
    font-size: 17px;
  }
  span{
    font-weight: 800;
  }
  img{
    width: 100%;
  }
  
}





