/*############ CSS VARIABLES ###########*/
:root {
    --color-bg: #222831;
    --color-bg-light: #aeaeaf92;
    --color-font: #EEEEEE;
    --color-h1: #14FFEC;
    --color-navbar: #FFC93C;
    --transition: all 400ms ease;
}

html {
    scroll-behavior: smooth;
}

/*Removed the scrollbar*/
::-webkit-scrollbar {
    display: none;
}

/*############ TEXT & BACKGROUND COLORS ###########*/
.my-background-color {
    background-color: var(--color-bg);
}

.my-background-color-light {
    background-color: var(--color-bg-light);
}

.my-navbar-text-color {
    color: var(--color-h1);
}

.my-normal-text-color {
    color: var(--color-font);
}


/*############ NAVBAR SECTION ###########*/

.body-index {
    font-family: 'Titillium Web', sans-serif;
}

.my-nav-bar {
    background-color: var(--color-navbar);
    margin: 0;
    padding: 0;
}

.navbar-brand {
    height: 55px;
}

.sticky {
	position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
}

/*############ NAVBAR ICON ###########*/
#icon {
    color: #14FFEC;
}

.navbar-item img {
   max-height: 55px;
} 

.navbar-item img:hover {
    transform: scale(1.2);
 } 
 
a.active {
  border-bottom: 3px solid var(--color-h1); 
}

.navbar-burger {
    height: none;
}

/*############ HEADER IMAGE SECTION ###########*/
.header-image {
    background-image: url(../Images/formula1-car.jpg);
    width: 100%;
    height: 55em;
    position: relative;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.header-image h1 {
    padding-top: 8%;
    margin-top: 0px;
    text-align: center;
    font-size: 50px;
    color: var(--color-h1);
}

/*############ HOW TO USE THIS PAGE SECTION ###########*/
.background-yellow {
    background-color: var(--color-bg);
}

.h1 {
    color: var(--color-h1);
}

.subtitle {
    color: var(--color-font);
    margin-top: 25px;
}

.title:not(.is-spaced)+.subtitle {
    margin-top: 25px;
}

.subtitle strong {
    color: var(--color-font);
    font-weight: 700;
}

.section {
    padding-bottom: 0px;
}

ul {
    list-style-type:circle;
    padding-left: 2.5rem;
  }

li {
    padding-top: 5px;
    padding-bottom: 5px;
} 

/* User Selection Section */
.dropdown-menu {
    position: inherit;
}

/*############ ABOUT US PAGE ###########*/
.body-about-us {
    min-height:100vh;
    height: 100%;
    font-family: 'Titillium Web', sans-serif;
}

.authors a, p, strong {
    color: var(--color-font);
}

.text-center {
    text-align: center;
}

.h2 {
    font-size: 21px;
    font-weight: 550;
}

.my-normal-text-color a {
    font-size: 21px;
    text-decoration: none;
    color: var(--color-h1);
}

a:hover {
    color:var(--color-h1)
}
.white {
	color:white;
}

.columns {
    line-height: 150%;
    margin-top: 25px;
}

body {
    line-height: 1.5;
}
  
div.clip-path-container {
    display: inline-block;
    position: relative;
    height: 215px;
    width: 215px;
    margin: 15px ;
    padding: 3px;
    cursor: pointer;
    transition: all .2s ease-in-out;
    overflow: hidden;  
    border-radius: 50%;
    border-collapse: separate; 
    background-color: #222;
}
  
.clip-path-container:focus,
.clip-path-container:active,
.clip-path-container:hover {
    border-radius: 50%;
    outline: none;
    transform: scale(1.1);
} 
  
.bio {
    height: 215px;
    width: 215px;
    background-size: cover;
    transition: all .2s ease-in-out; 
    outline: none;
    transform: scale(1.1);
    overflow: hidden;  
    clip-path: polygon(0 100%, 0 0, 100% 0, 100% 100%);
    clip-path: polygon(0 100%, 0 0, 100% 0, 100% 100%);
}
  
  
.clip-path-container:hover .bio {
    clip-path: polygon(100% 100%, 100% 0, 100% 0, 100% 100%);    
}
  
.clip-path-container:hover .description-holder { 
    left: 20px;
    opacity: 1;
}
  
.description-holder {
    position: absolute;
    top: 35px;
    height: 300px;
    width: 250px;
    transition: all .4s ease-in-out;
    transition-delay: .1s;
    opacity: 0;
    text-align: center;
}
  
.description-holder p {
    font-size: 12px;
    margin-top: 25px;
    max-width: 170px;
    text-transform: none;
    color: aliceblue;
}

/*############ ABOUT US PROFILE PICTURES ###########*/
.espinosa {
    background-image: url('https://avatars.githubusercontent.com/u/105081149?v=4');
    background-position: 50% 90%;
}
  
.besnier {
    background-image: url('https://avatars.githubusercontent.com/u/96966964?v=4');
    background-position: 50% 90%;
}
  
.torres {
    background-image: url('https://avatars.githubusercontent.com/u/71146674?v=4');
    background-position: 50% 90%;
}


/*############ CURRENT STANDINGS TABLE ###########*/
.body-live {
    font-family: 'Titillium Web', sans-serif;
}

.header-table {
    height: 55px;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 21px;
    border-radius: 25px;
    background-color: var(--color-bg);
    margin-bottom: 21px;
}

.table th, .table td {
    height: 37px; 
    border: none;
    margin-top: 45px;
    background-color: rgba(220, 217, 217, 0.208);
    vertical-align: middle;
}

.table tr:hover {
    background-color: var(--color-bg);
    color: white;
}

/* User Selection */
.my-columns {
    text-align: center;
}

.my-ul {
    list-style-type:none;
}

.my-button:hover {
    transition: var(--transition);
    background-color: var(--color-font);
}

figure {
    margin: auto;
    display: block;
}

/*############ FOOTER ###########*/

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 35px;
    width: 100%;
    bottom: 0;
    padding: 35px;
}

.footer a {
    font-size: inherit;
}

.footer-background-color {
    background-color: #1B2430;
}

.line-height {
    line-height:normal;
}

.image-width {
    max-width: 150px;
}

.logo-height {
    max-height: 100px;
}


/*############ RESPONSIVENESS ###########*/
@media (max-width: 700px){ 
    .h1 {
        color: var(--color-h1);
        text-align: center;
    }

    .subtitle {
        text-align: center;
    }

    ul {
        list-style-type:none;
        padding-left: 0rem;
        text-align: center;
    }

    /* Dropdown */
    .my-select{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .select:not(.is-multiple):not(.is-loading)::after {
        right: 2em
    }

    .navbar-link:not(.is-arrowless)::after, .select:not(.is-multiple):not(.is-loading)::after {
        position: inherit;
        top: 0px;
    }

    /* button for the user selection */
    .my-button {
        left: 35%;
    }

    figure {
        margin: auto;
        display: block;
    }
	
	a.active {
    border-bottom: none; 
	}
}
  
#nextRace {
    text-align: center;
    vertical-align: middle;
    margin-top: 25px;
}


/* SlideShow */
.mySlides {
    display:none;
    width:100%;
    border-radius: 15px;
}

.w3-content {
    max-width:500px;
    margin-left: auto;
    margin-right: auto; 
}


.w3-left, .w3-right, .w3-badge {
    cursor:pointer
}
 
.live-button {
  background-color: #e74c3c; /* Red background */
  color: white;
  padding: 3px 20px;
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
}

.live-indicator {
  width: 10px;
  height: 10px;
  background-color: white; /* White dot */
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.5s infinite ease-in-out; /* Apply pulse animation */
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.donate-button {
  background-color: var(--color-h1); /* Green */
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
  margin: 5px;
  width: 215px;
}

.donate-button:hover {
  background-color: #16d9c9; /* Darker green on hover */
  transform: scale(1.05); /* Slightly enlarge on hover */
}

.donate-button {
  /*animation: pulse 2.5s infinite; /* Apply pulse animation */
}

.testimonial {
  border: 2px solid var(--color-h1);
  background-color: #333a4a;
  border-radius: 5px;
  padding: 16px;
  margin: 16px 30px;
}

.testimonial::after {
  content: "";
  clear: both;
  display: table;
}

.testimonial img {
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

.testimonial span {
  font-size: 20px;
  margin-right: 10px;
}

span {
  font-size: 20px;
}

#newsTicker1 .ent_label span {
  font-size: 20px!important;
}

#newsTicker1 .ent_label {
    padding: 8px!important;
}

#newsTicker1 .ent_prev_news, #newsTicker1 .ent_next_news {
    border-color: var(--color-h1)!important;
}

.inline-paragraph {
        display: inline;
      }

@media (max-width: 500px) {
  .testimonial {
      text-align: center;
	  margin: 16px 20px;
  }
  .testimonial img {
      margin: auto;
      float: none;
      display: block;
  }
 .ent_navigation {
 display:none!important;
 }
}