html{
  overflow-x: hidden;
}
.setheight{
  height:1330px !important
}
.slider-container {
  position: relative;
  /* width: 80%; */
  /* max-width: 800px; */
  display: flex;
  align-items: center;
  justify-content: end;
  height: 200px;
  top: -464px;
}

.slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.slider img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
  transition: transform 0.3s, opacity 0.3s;
}

.slider img.active {
  width: 150px;
  height: 150px;
  opacity: 1;
  transform: scale(1.2);
}

.details {
  margin-top: 20px;
  text-align: center;
}

.details img {
  /* width: 1200px; */
  height: 1200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.details h3 {
  margin: 5px 0;
}

.details p {
  margin: 0;
  color: #555;
}

.controls {
  margin-top: 20px;
  display: flex;
  justify-content: end;
  gap: 20px;
  position: relative;
  top: -472px;
  right: 230px;
  z-index: 1;
}

.controls button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background-color: #800214;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.controls button:hover {
  background-color: #5d020f;
}

.details {
  margin-top: 20px;
  text-align: center;
}

.details-content {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 300px; /* Adjust as needed */
  height: 300px; /* Adjust as needed */
  margin: 0 auto;
  border-radius: 20px; /* Optional: gives rounded corners */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white; /* Text color contrasts the background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Makes the text pop */
}

.details-content h3 {
  font-size: 32px;
  font-family: 'Arial Black', sans-serif;
  margin: 0;
}

.details-content p {
  font-size: 18px;
  /* font-family: 'Roboto', sans-serif; */
  margin: 5px 0 0;
  font-style: italic;
}

.backgroundsname{
  font-size: 200px;
  /* text-spacing-trim: normal; */
  font-weight: 700;
  color: #d8d8d8;
  letter-spacing: 25px;
  position: relative;
  top: 202px;
  z-index: -1;
  text-align: center;
}

.backgroundrole{
  font-size: 42px;
  /* text-spacing-trim: normal; */
  font-weight: 700;
  color: #a17c7c;
  letter-spacing: 10px;
  position: relative;
  top: 343px;
  z-index: -1;
  text-align: end;
}




/* Card */


.flexbox {
  /* display: flex; */
  flex-direction: row;
  justify-content: space-around;
  /* width: 100%; */
  flex-wrap: wrap;
  position: relative;
  top: -931px;
  /* left: 53px; */
  
}

.flexcard {
  /* display: flex; */
  flex-direction: column;
  justify-content: flex-start;
  width: 20%;
  align-items: baseline;
  /* height: 400px; */
  border-radius: 20px;
}

.flexcardNumber {
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  margin: 10px 0px;
  border-radius: 0px 50px 50px 0px;
  font-family: 'Jost', sans-serif;
  color: white;
  text-shadow: 0px 3px 5px black;
  font-weight: 500;
  font-size: 20px;
  position: relative;
}

.flexcardTitle {
  /* font-family: 'Jost', sans-serif; */
  text-transform: uppercase;
  font-size: 26px;
  font-weight: 400;
}

.flexcardText {
  /* font-family: 'Jost', sans-serif; */
  text-align: justify;
  font-weight: 300;
  /* padding: 8px; */
  padding: 20px;
}

.flexcardNumber:before {
  content: '';
  width: 34px;
  height: 90px;
  position: absolute;
  left: -33px;
  top: 0px;
  border-radius: 50px 0px 0px 50px;
  z-index: -1;
/* background: #95B7A2; *//* background: -webkit-linear-gradient(bottom, #95B7A2, #AED2BC); */
  background: -moz-linear-gradient(bottom, #95B7A2, #AED2BC);
/* background: linear-gradient(to top, #95B7A2, #AED2BC); */;
}

.flexcardNumber:after {
  content: '';
  width: 25px;
  height: 40px;
  position: absolute;
  left: -25px;
  bottom: -40px;
  border-radius: 50px 0px 0px 50px;
  z-index: -1;
}

.flex {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 10px auto;
}

img.flexcardimgItem {
  width: 50%;
}

.flexcardGreen {
  background: #f9fbfa;
  box-shadow: 4px 4px 4px #AED2BC;
}

.flexcardNumberGreen {
  background: #FCFCFC;
  background: -webkit-linear-gradient(right, #FCFCFC, #AED2BC);
  background: -moz-linear-gradient(right, #FCFCFC, #AED2BC);
  background: linear-gradient(to left, #FCFCFC, #AED2BC);
  box-shadow: 0px 2px 2px #AED2BC;
}

.flexcardNumberGreen:before {
  background: #AED2BC;
}

.flexcardNumberGreen:after {
  background: #95b7a2;
}

/* PİNK CARD */

.flexcardPink {
  background: #ffffff;
  position: relative;
    box-shadow: 2px 2px 1px #800214 ;
    border-radius: 20px 20px 0px 20px;
    width: 30%;
}
.flexcardPink:before {
    content: '';
    width: 0px;
    height: 50px;
    /* background: red; */
    position: absolute;
    bottom: 0;
    right: 0;
    border-left: 100px solid transparent;
    border-bottom: 90px solid #800214;
}
.flexcardNumberPink {
  background: #FDFFFE;
  background: -webkit-linear-gradient(right, #FDFFFE, #800214);
  background: -moz-linear-gradient(right, #FDFFFE, #800214);
  background: linear-gradient(to left, #FDFFFE, #800214);
  box-shadow: 0px 2px 2px #800214;
}

.flexcardNumberPink:before {
  background: #800214;
}

.flexcardNumberPink:after {
  background: #ad626c;
}
.flexcardText p{
  font-size: 16px;
}
.details img {
visibility: hidden;
}


/* RESPONSİVE */

@media only screen and (max-width: 800px) {

  .flexcard {
    width: 35%;
    margin-top: 20px;
  }

  img.flexcardimgItem {
    width: 30%;
  }

}

@media only screen and (max-width: 500px) {

  .flexcard {
    width: 70%;
  }

}

@media only screen and (max-width: 500px) {
  .backgroundsname {
    font-size: 40px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #d8d8d8;
    letter-spacing: 6px;
    position: relative;
    top: 68px;
    z-index: -1;
    text-align: center;
  }
  .backgroundrole {
    font-size: 22px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #a17c7c;
    letter-spacing: 0px;
    position: relative;
    top: 68px;
    z-index: -1;
    text-align: end;
  }
  .flexbox {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    top: -550px;
    left: 0px;
  }
  .flexcardText p {
    font-size: 9px;
  }
  .details img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
  }
  .slider img.active {
    width: 97px;
    height: 97px;
    opacity: 1;
    transform: scale(1.2);
  } 
  .controls {
    margin-top: 20px;
    display: flex;
    justify-content: end;
    gap: 20px;
    position: relative;
    top: -106px;
    right: 108px;
    z-index: 1;
  }
  .slider-container {
    position: relative;
    /* width: 80%; */
    /* max-width: 800px; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    top: -70px;
  }
  .slider img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.6;
    transition: transform 0.3s, opacity 0.3s;
  }
  .controls button {
    padding: 6px 11px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    background-color: #800214;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .slider {
    display: flex;
    gap: 5px;
    transition: transform 0.5s ease-in-out;
  }
  .flexcard {
    width: 95%;
    margin-top: 32px;
    /* height: 212px; */
  }
  .details {
    margin-top: -48px;
    text-align: center;
  }
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .setheight {
    /* height: 1000px !important; */
    height: 650px !important;
  }
}


@media only screen and (min-width: 500px) {
  .backgroundsname {
    font-size: 64px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #d8d8d8;
    letter-spacing: 6px;
    position: relative;
    top: 202px;
    z-index: -1;
    text-align: center;
  }
  .backgroundrole {
    font-size: 35px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #a17c7c;
    letter-spacing: 2px;
    position: relative;
    top: 240px;
    z-index: -1;
    text-align: end;
  }
  .flexbox {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    /* position: relative;
    top: -820px;
    left: 53px; */
    padding-top: 110px;
    padding-left: 75px;
  }
  .flexcardText p {
    font-size: 8px;
  }
  .details img {
    /* width: 1200px; */
    height: 700px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
  }
  .slider img.active {
    width: 97px;
    height: 97px;
    opacity: 1;
    transform: scale(1.2);
  } 
  .controls {
    margin-top: 20px;
    display: flex;
    justify-content: end;
    gap: 20px;
    position: relative;
    top: -494px;
    right: 141px;
    z-index: 1;
  }
  .slider img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.6;
    transition: transform 0.3s, opacity 0.3s;
  }
  .controls button {
    padding: 6px 15px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background-color: #800214;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .slider {
    display: flex;
    gap: 5px;
    transition: transform 0.5s ease-in-out;
  }
  .flexcard {
    width: 31%;
    margin-top: 32px;
    /* height: 350px; */
  }
  .details {
    margin-top: -48px;
    text-align: center;
  }
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .setheight {
    height: 900px !important;
  }
}


@media only screen and (min-width: 600px) {
  .backgroundsname {
    font-size: 70px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #d8d8d8;
    letter-spacing: 6px;
    position: relative;
    top: 202px;
    z-index: -1;
    text-align: center;
  }
  .backgroundrole {
    font-size: 35px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #a17c7c;
    letter-spacing: 2px;
    position: relative;
    top: 300px;
    z-index: -1;
    text-align: end;
  }
  .flexcardText p {
    font-size: 9px;
  }
  .details img {
    /* width: 1200px; */
    height: 800px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
  }
  .slider img.active {
    width: 97px;
    height: 97px;
    opacity: 1;
    transform: scale(1.2);
  } 
  .controls {
    margin-top: 20px;
    display: flex;
    justify-content: end;
    gap: 20px;
    position: relative;
    top: -494px;
    right: 141px;
    z-index: 1;
  }
  .slider img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.6;
    transition: transform 0.3s, opacity 0.3s;
  }
  .controls button {
    padding: 6px 15px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background-color: #800214;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .slider {
    display: flex;
    gap: 5px;
    transition: transform 0.5s ease-in-out;
  }
  .flexcard {
    width: 31%;
    margin-top: 32px;
    /* height: 350px; */
    /* height: 430px; */

  }
  .details {
    margin-top: -48px;
    text-align: center;
  }
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .setheight {
    height: 900px !important;
  }
}

 
@media only screen and (min-width: 768px) {
  .backgroundsname {
    font-size: 110px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #d8d8d8;
    letter-spacing: 0px;
    position: relative;
    top: 202px;
    z-index: -1;
    text-align: center;
  }
  .flexcardText p {
    font-size: 11px;
  }
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .details {
    margin-top: -33px;
    text-align: center;
  }
  .slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    height: 200px;
    top: -464px;
    /* left: 15px; */
  }
  .backgroundrole {
    font-size: 36px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #a17c7c;
    letter-spacing: 0px;
    position: relative;
    top: 343px;
    z-index: -1;
    text-align: end;
  }
  .slider img.active {
    width: 115px;
    height: 115px;
    opacity: 1;
    transform: scale(1.2);
  }
  .controls {
    margin-top: 20px;
    display: flex;
    justify-content: end;
    gap: 20px;
    position: relative;
    top: -494px;
    right: 141px;
    z-index: 1;
  }
  .slider img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.6;
    transition: transform 0.3s, opacity 0.3s;
  }
  .controls button {
    padding: 6px 15px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background-color: #800214;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .slider {
    display: flex;
    gap: 5px;
    transition: transform 0.5s ease-in-out;
  }
  .details img {
    /* width: 1200px; */
    /* height: 981px; */
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
  }
 
} 


@media only screen and (min-width: 992px) {
  .backgroundsname {
    font-size: 135px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #d8d8d8;
    letter-spacing: 0px;
    position: relative;
    top: 202px;
    z-index: -1;
    text-align: center;
  }
  .flexcardText p {
    font-size: 12px;
  }
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .details {
    margin-top: 0px;
    text-align: center;
  }
} 


@media only screen and (min-width: 1200px) {
  .backgroundsname {
    font-size: 168px;
    /* text-spacing-trim: normal; */
    font-weight: 700;
    color: #d8d8d8;
    letter-spacing: 0px;
    position: relative;
    top: 202px;
    z-index: -1;
    text-align: center;
  }
  .flexcardText p {
    font-size: 14px;
  }
}