/* General Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Roboto Serif", serif !important;
}

/* Index Section */
.index {
  margin-top: 10vh;
}
.yt-embed-holder {
  width: 100%;
  background-color: transparent;
  pointer-events: none;
  /* Tıklanamaz hale getir */
}

.yt-embed-holder:hover {
  pointer-events: none;
  /* Tıklanamaz hale getir */
}

/* İframe'in boyutunu duyarlı hale getirmek için */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  pointer-events: none;
  /* 16:9 oranı */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.video-container iframe:hover {
  pointer-events: visible;
}

/* Second Place Section */
.secondPlace {
  background-color: #efede8;
  padding: 5vh 10vw;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.secondPlace h1 {
  font-size: 3rem;
}

.secondPlace p {
  color: #686767;
  margin: 0 10%;
}

/* Zig-Zag Line */
.zig-zag-line {
  --angle: 110deg;
  --size: 15px;
  --border: 4px;
  margin: 5% 0 3%;
  background: #bdb8b5;
  height: calc(var(--border) + var(--size) / (2 * tan(var(--angle) / 2)));
  width: 10%;
  --gradient: var(--size) repeat-x
    conic-gradient(
      from calc(var(--angle) / -2) at bottom,
      #0000,
      #000 1deg calc(var(--angle) - 1deg),
      #0000 var(--angle)
    );
  mask: 50% calc(-1 * var(--border)) / var(--gradient) exclude,
    50% / var(--gradient);
}

/* Flexbox Row and Column Styles */
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  justify-content: center;
}

.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  width: 30%;
}

/* Card Styles */
.card {
  background-color: #e4dfd9;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 16px 0;
  padding: 16px;
  text-align: center;
  transition: transform 0.3s;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
}

/* Third Place Section */
.thirdPlace {
  display: flex;
  background-color: #202020;
  padding: 12vh 5vw;
}

.thirdPlace-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thirdPlace-left img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}

.thirdPlace-right {
  flex: 1;
  color: #e4dfd9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5%;
}

.basketball .icon-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.basketball .icon-text i {
  color: #f1c761;
  font-size: 2rem;
}

.basketball .icon-text p {
  color: white;
  font-size: 1rem;
}

/* Fourth Place Section */
.fourthPlace {
  background-color: #efede8;
  height: 15vh;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
  .container-margin {
    margin-top: -7vh;
  }
}
@media screen and (min-width: 1025px) {
  .container-margin {
    margin-top: -10vh;
  }
}

@media screen and (max-width: 768px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }

  .thirdPlace {
    flex-direction: column;
    align-items: center;
  }

  .thirdPlace-left {
    margin-bottom: 2rem;
  }

  .thirdPlace-right {
    padding-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .secondPlace h1 {
    font-size: 2rem;
  }

  .basketball .icon-text p {
    font-size: 0.9rem;
  }
}

/* Fourth Place Section */
.fourthPlace {
  background-color: #efede8;
  padding: 5vh 10vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fourthPlace-header {
  font-size: 2.5rem;
  color: #202020;
}

/* Fourth Place Content - Left and Right Headers and Text */
.fourthPlace {
  min-height: fit-content;
}
.fourthPlace-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin: 4vh 0;
}

.left-side,
.right-side {
  flex: 48%;
  text-align: left;
  padding: 1vh 0;
}

.left-side h2,
.right-side h2 {
  font-size: 1.8rem;
  color: #202020;
}

.left-side p,
.right-side p {
  color: #686767;
  font-size: 1rem;
}

/* Button Styles */
.yellow-button {
  background-color: #f1c761;
  color: #202020;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.yellow-button:hover {
  background-color: #ffd700;
  color: #000;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .fourthPlace-content {
    flex-direction: row;
  }

  .left-side,
  .right-side {
    flex: 100%;
    text-align: center;
  }
  .container-margin {
    margin-top: -8vh;
  }
}
