/* BootStrap Icons CDN */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

@font-face {
  font-family: SquadaOne;
  src: url(fonts/SquadaOne-Regular.ttf);
}





/* 
first: 06213e
second: fff8da

*/

body {
  background-color: #06213e;
  font-family: SquadaOne;
  overflow-x: hidden;
}

.parallax-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 130%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  z-index: 99;
}

.parallax-bg-black-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 990;
}

.swiper {
  width: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 700px;
  height: 400px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
}






.navbar-color {
  background-color: #fff8da;
  color: #06213e;
}

.navbar-bb {
  border-bottom: 2px solid #06213e;
}

.bg-photo {
  background-size: cover;
  background-position: 0px;
  /* CHANGE IT SO THAT THE PHOTO FITS */
}

.mySlides img {
  height: inherit;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

.w-inherit {
  width: inherit;
}

.w-1000 {
  width: 1200px;
}

.over {
  z-index: 9999;
}

.bumpier {
  border-radius: 0px;
  background: linear-gradient(145deg, #062342, #051e38);
  box-shadow: 39px 39px 77px #051a32,
    -39px -39px 77px #07284a;
}


.text-shadow {
  text-shadow: 0px 0px 10px black;
}

.text-shadow-heavier {
  text-shadow: 0px 0px 10px black, 0px 0px 10px black;
}





.slider {
  background: #fff8da;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
  height: 75px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: auto;
  padding: 5px 0;
}

.slider img {
  /*width: auto;*/
  width: auto;
  height: auto;

  /*min-height: 40px;*/
  max-height: 60px;
  /*min-width: 80px;*/
  max-width: 120px;

}

.slider::before,
.slider::after {
  background: linear-gradient(to right, #fff8da 0%, rgba(255, 255, 255, 0) 30%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.slide-track:hover {
  animation-play-state: paused;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  animation: scroll 30s linear infinite;
  display: flex;
  align-content: center;
  align-items: center;
  width: calc(300px * 20);
  /* se devi cambiare il numero  dopo "*" allora devi cambiare anche a riga 200 */
  height: 100%;
}

.slide {
  max-height: 75px;
  max-width: 250px;
  margin: 5px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-300px * 10))
      /*cioe' qui, pero' e' la meta' del numero che hai messo*/
  }
}


.pub,
.pub2 {
  width: 100%;
  height: 75px;
  background-color: white;
  color: rgb(11, 11, 11);
  display: flex;
  justify-content: space-evenly;
  font-weight: bolder;
  font-style: italic;
  align-items: center;
  border-top: 2px solid #06213e;
  border-bottom: 2px solid #06213e;
}


.pub2 {
  background-color: #06213e;
  min-height: 200px;
  color: white;
  font-size: 25px;
  border-bottom: none;
}

.pub2 img {
  height: 100%;
  max-height: 150px;
}

.pub2 h2 {
  font-size: 40px;
  color: #ffcd00;
  text-decoration: underline;
  text-shadow: 0px 0px 10px black, 0px 0px 10px black;
}

.pub2 p {
  margin-top: -10px;
  text-shadow: 0 0 5px black, 0 0 5px black, 0 0 5px black;
}



.pub p {
  font-size: 35px;
}

.pub span {
  font-size: 20px;
}

.pub img {
  height: inherit;
  padding: 5px 0px;
}


.tournament-rules {
  color: white;
  padding: 20px 20px;
  background-image: url("images/reg.png");
  background-color: #05213e;
  background-size: 225px 150px;
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
}

.tournament-rules::before {
  background: linear-gradient(to right, #05213e 10%, rgba(255, 255, 255, 0) 40%);
  content: "";
  height: 142.5px;
  position: absolute;
  right: 1px;
  width: 225px;
  margin-top: -13px;
  z-index: 2;
}

.t-r-up {
  font-size: 40px;
  text-decoration: underline;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.btn-not-allowed {
  cursor: not-allowed;
  user-select: none;
}

.t-r-down {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 25px;
  text-align: center;
  color: rgb(255, 113, 113);
  line-height: 25px;
  position: relative;
  z-index: 99;
}

.t-r-down a {
  font-size: 30px;
  text-decoration: underline;
  color: rgb(236, 50, 50);
}



.register-button {
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: right;
  text-decoration: underline;
  align-items: center;
  font-size: 40px;
  padding: 30px 20px;
  overflow: hidden;
  background-image: url("images/iscr.jpg");
  background-size: 200px 125px;
  background-position: left;
  background-repeat: no-repeat;
  position: relative;
  background-color: #fff8da;
  color: black;
}

.register-button::before {
  background: linear-gradient(to left, #fff8da 10%, rgba(255, 255, 255, 0) 40%);
  content: "";
  height: 122.5px;
  position: absolute;
  left: 0px;
  width: 200px;
  margin-top: -10px;
  z-index: 2;
}

.register-button p {
  position: relative;
  z-index: 2;
}

.register-button img,
.tournament-rules img {
  width: 50px;
}


.footer {
  background-color: #06213e;
  color: white;
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #fff8da;
}

.footer a {
  color: rgb(161, 255, 255)
}


.text-shadow-sharper {
  text-shadow: 0px 0px 4px #000000, 0px 0px 4px #000000, 0px 0px 4px #000000;
}



#feedback-form {
  max-width: 500px;
  width: auto;
  margin: 10px;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  right: 0;
  top: 10%;
  margin-left: auto;
  margin-right: auto;
  background-color: #06213e;
  padding: 10px;
  z-index: 10000;
  box-shadow: 0px 0px 30px 10px #000000;
}

#feedback-button {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 5px;
  margin: 10px;
  z-index: 5;
}



/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px
  }
}



@media (max-width: 800px) {

  .slider::before,
  .slider::after {
    background: none
  }

  .w-1000 {
    width: 100%;
  }

  .w-inherit {
    width: 100%;
  }

  .t-r-up {
    justify-content: center;
  }

  .t-r-down {
    font-size: 20px;
  }



  .pub2 {
    background-color: #06213e;
    height: auto;
    color: white;
    font-size: 15px;
    border-bottom: none;
  }

  .pub2 img {
    width: auto;
    height: 100%;
    max-height: 130px;
  }

  .pub2 h2 {
    font-size: 22px;
    line-height: 22px;
    text-shadow: 0px 0px 10px black;
  }


  .pub2 p {
    margin-top: 5px;
    line-height: 18px;
    text-shadow: 0px 0px 10px black;
  }


  .pub {
    padding: 7px;
  }

  .pub p,
  .pub span {
    font-size: 18px;
    text-align: center;
  }

  .pub span {
    font-size: 15px;
  }

  .pub img {
    margin: 0px 20px;
    padding: 0;
    width: 150px;
    height: auto;
  }

  .register-button p {
    font-size: 25px;
    line-height: 25px;
  }

  .tournament-rules a {
    padding: 10px 0;
  }


  .tournament-rules::before {
    margin-top: -10px;
    height: 180px;
  }

}











/* width */
::-webkit-scrollbar {
  width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5)
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.8);
}