@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");
html,
body {
  margin: 0px;
  padding: 0px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.slideshow_container {
  width: 100%;
  background-color: black;
  height: 50vw;
}

.slideshow img {
  vertical-align: middle;
}

.slideshow {
  box-sizing: border-box;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  /* padding-top: 3vw; */
  margin-left: auto;
  margin-right: auto;
}

.slides {
  position: relative;
  width: 100%;
  height: 47vw;
  overflow-x: hidden;
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 2s ease;
}

.slide img {
  width: 100%;
  height: 100%;
}

.slide_prev,
.slide_next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.slide_next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.slide_prev:hover,
.slide_next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slide_caption {
  text-align: center;
  background-color: #002342;
  padding: 2px 16px;
  color: white;
}

.slide_row {
  overflow-x: scroll;
  white-space: nowrap;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slides_row::-webkit-scrollbar {
  display: none;
}

.slide_column {
  display: inline-block;
  width: 25%;
  height: 10vw;
}

.slide_column img {
  width: 100%;
  height: 95%;
}

.slide_thumb {
  opacity: 0.5;
}

.slide_active,
.slide_thumb:hover {
  opacity: 1;
  border-style: solid;
  border-width: 5px;
  border-color: white;
}

#caption {
  padding: 5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0px;
  font-family: "Quicksand", sans-serif;
}

html,
body {
  margin: 0px;
  padding: 0px;
}

.gallery {
  height: 800vh;
  position: relative;
  z-index: -1000;
}

/* .content123{
  z-index: -2000;
  position: relative;
} */

.gal-imgs {
  /* position: fixed; */
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  background-image: radial-gradient(rgb(44, 44, 44), black);
  z-index: -999;
}

.gal-img {
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  left: 50%;
  top: 50%;
  position: absolute;
}

@media screen and (max-width: 1024px) {
  .slides {
    height: 54vw;
  }
  .slideshow_container {
    height: 60vw;
  }
}

@media screen and (max-width: 500px) {
  .slides {
    height: 50vw;
  }
}

#events {
  background-color: white;
}

.tooltip .tooltiptext {
  visibility: visible;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.allteamcards {
  /* margin-left: auto;
    margin-right: auto;
    width: 80%; */
  display: flex;
  flex-wrap: wrap;
  flex-direction: unset;
  background-color: #00305b;
  justify-content: center;
  font-family: "Quicksand", sans-serif;
}

.allteamcards .card {
  width: 19vw;
  height: 19vw;
  overflow: hidden;
  text-align: center;
  margin: 0.5vw;
}

.allteamcards .card-img-overlay {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.555);
  transition: opacity 0.4s ease;
  padding: 1.5vw;
}

.allteamcards .card:hover .card-img-overlay {
  opacity: 1;
}

.allteamcards .teamlink {
  width: 4vw;
  height: 4vw;
  display: inline-block;
  margin: 0.5em;
  transition: opacity 0.1s ease;
  opacity: 0.82;
}

.allteamcards .teamlink img {
  width: 100%;
  height: 100%;
}

.teamlink:hover {
  opacity: 1;
}

.allteamcards .card-title {
  font-size: 2vw;
  font-weight: 600;
  margin-top: 1vw;
  margin-bottom: 1vw;
}

.allteamcards .card-text {
  margin-top: 1vw;
  font-size: 1.5vw;
}

.allteamcards .links {
  position: relative;
  /* top: 3em; */
}

img.Resize {
  width: fit-content;
  height: -webkit-fill-available;
}

/* #noticeboard {
    height: 10rem;
    width: 100%;
    background-color: darkkhaki;
    margin-top: -100px;
}

#p_event_name {
    margin-top: 100px;
    padding-top: 65px;
    font-size: 25px;
    text-align: center;
    font-style: italic;
    text-decoration: underline wavy cornflowerblue;
}

#p_event_desc {
    text-align: center;
    padding-top: 10px;
} */

/* #carouselExampleCaptions {
    display: block;
    margin-top: 50px;
    margin-bottom: 50px;
    z-index: 20;
    background-color: aquamarine;
    padding-top: 50px;
    padding-bottom: 50px;
}

.carousel-inner {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}
 */

/* .first-page {
    margin-top: 100px;
} */

/* #myCarousel {
    height: 60rem;
    width: 100%;
    margin-bottom: 10%;
    position: absolute;
} */

/* .carousel-inner {
    height: 40rem;
    width: 100%;
    margin-top: 2%;
    position: relative;
} */

.carousel-item {
  height: 32rem;
  background: #777;
  color: white;
  position: relative;
}

.container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 50px;
}

/* .container h1 {
    margin-top: 100px;
    padding-top: 65px;
    font-size: 25px;
    text-align: center;
    font-style: italic;
    text-decoration: underline wavy cornflowerblue;
}

.container p {
    text-align: center;
    padding-top: 10px;
} */

/* Noticeboard Code 3 */

/* #slider {
    margin: 0 auto;
    width: 800px;
    max-width: 100%;
    text-align: center;
}

#slider input[type=radio] {
    display: none;
}

#slider label {
    cursor: pointer;
    text-decoration: none;
}

#slides {
    padding: 10px;
    border: 3px solid #ccc;
    background: #fff;
    position: relative;
    z-index: 1;
}

#overflow {
    width: 100%;
    overflow: hidden;
}

#slide1:checked~#slides .inner {
    margin-left: 0;
}

#slide2:checked~#slides .inner {
    margin-left: -100%;
}

#slide3:checked~#slides .inner {
    margin-left: -200%;
}

#slide4:checked~#slides .inner {
    margin-left: -300%;
}

#slides .inner {
    transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.00);
    width: 400%;
    line-height: 0;
    height: 300px;
}

#slides .slide {
    width: 25%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff
}

#slides .slide_1 {
    background: #00171F;
}

#slides .slide_2 {
    background: #003459;
}

#slides .slide_3 {
    background: #007EA7;
}

#slides .slide_4 {
    background: #00A8E8;
}




.slide-content h2 {
    padding-top: 10px;
}

.slide-content p {
    padding-top: 30px;
}

#controls {
    margin: -180px 0 0 0;
    width: 100%;
    height: 50px;
    z-index: 3;
    position: relative;
}

#controls label {
    transition: opacity 0.2s ease-out;
    display: none;
    width: 50px;
    height: 50px;
    opacity: .4;
}

#controls label:hover {
    opacity: 1;
}

#slide1:checked~#controls label:nth-child(2),
#slide2:checked~#controls label:nth-child(3),
#slide3:checked~#controls label:nth-child(4),
#slide4:checked~#controls label:nth-child(1) {
    float: right;
    margin: 0 -60px 0 0;
    display: block;
    background: url(./img/iconmonstr-angel-right-thin.svg) no-repeat;
}

#slide1:checked~#controls label:nth-last-child(1),
#slide2:checked~#controls label:nth-last-child(4),
#slide3:checked~#controls label:nth-last-child(3),
#slide4:checked~#controls label:nth-last-child(2) {
    float: left;
    margin: 0 0 0 -60px;
    display: block;
    background: url(./img/iconmonstr-angel-left-thin.svg) no-repeat;
}

#bullets {
    margin: 150px 0 0;
    text-align: center;
}

#bullets label {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 10px;
    border-radius: 100%;
    background: #ccc;
}

#slide1:checked~#bullets label:nth-child(1),
#slide2:checked~#bullets label:nth-child(2),
#slide3:checked~#bullets label:nth-child(3),
#slide4:checked~#bullets label:nth-child(4) {
    background: #444;
}

@media screen and (max-width:900px) {
    #slide1:checked~#controls label:nth-child(2),
    #slide2:checked~#controls label:nth-child(3),
    #slide3:checked~#controls label:nth-child(4),
    #slide4:checked~#controls label:nth-child(1),
    #slide1:checked~#controls label:nth-last-child(2),
    #slide2:checked~#controls label:nth-last-child(3),
    #slide3:checked~#controls label:nth-last-child(4),
    #slide4:checked~#controls label:nth-last-child(1) {
        margin: 0;
    }
} */
#myScrollBtn {
  display: none;
  position: fixed;
  background-color: black;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 16px;
  line-height: 48px;
  width: 48px;
  bottom: 50px;
  right: 50px;
  z-index: 2;
}
@media screen and (max-width: 1440px) {
  .smhide {
    display: none;
  }
}
