body, html{
    margin: 0;
    height: 100dvh;
    overflow: hidden;
    overflow-x: hidden;
      font-family: 'Boogaloo', sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
@font-face {
  font-family: 'Boogaloo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./kmK-Zq45GAvOdnaW6x1F.ttf') format('truetype');
}
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100dvh;
}
.content h1{
 color: #FD3FDD;
 font-size: 4.5rem;
 margin: 0;
 text-shadow: 2px 2px 2px rgb(255, 255, 255);
}
.content h3{
 color: #FD3FDD;
  font-size: 3.5rem;
  margin: 0;

 text-shadow: 2px 2px 2px rgb(255, 255, 255);

}
.content h4{
 color: white;
 font-size: 2rem;
 margin: 0;
 text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.492);

}
.main {
  background: url('./rooms/home.png') center/cover no-repeat;
  height: 100dvh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gym{
    background-image: url(./rooms/gym.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100dvh;
    width: 100vw;
}
.hall{
    background-image: url(./rooms/hall.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100dvh;
    width: 100vw;
}
.libr{
    background-image: url(./rooms/libr.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100dvh;
    width: 100vw;
}
.living{
    background-image: url(./rooms/living.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100dvh;
    width: 100vw;
}
.office{
    background-image: url(./rooms/office.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100dvh;
    width: 100vw;
}
@media (max-width: 768px) {
  .main {
  background: url('./rooms/home-m.png') center/cover no-repeat;
}
  .gym{
    background-image: url(./rooms/gym-m.png);
  }
  .hall{
    background-image: url(./rooms/hall-m.png);
}
.libr{
    background-image: url(./rooms/libr-m.png);
}
.living{
    background-image: url(./rooms/living-m.png);
}
}



.slider {
  display: flex;
  width: 600vw; 
  height: 100dvh;
  transition: transform 0.5s ease;
    touch-action: none; 
  user-select: none; 
}
.slide {
  flex: 0 0 100vw;
  height: 100dvh;
  max-width: 100vw;
  display: flex;
}
    .nav-buttons {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      z-index: 1;
      pointer-events: none;
    }

    .nav-buttons button {
    background: transparent;
      border: none;
      cursor: pointer;
        pointer-events: auto; 
    }

.nav-buttons button img {
  width: 120px;  
  height: 120px;
  object-fit: contain; 
}
@media (max-width: 768px) {
  .nav-buttons{
    display: none;
  }
}


.buttons-m{
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  gap: 20px;
}
.button-m{
  background: #FD3FDD9C;
   border: 1px solid #FD3FDD;
     backdrop-filter: blur(20px); /* само размытие */
  -webkit-backdrop-filter: blur(20px); 
 padding: 10px 20px 10px 20px;
 border-radius: 50px;
 font-size: 1.3rem;
}



.card-row {
  display: flex;
  gap: 10px;
  width: 50vw;
  margin: 20px auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: center;
}

.card {
  width: 10%;
  height: 450px;
  background: #fd3fdd36;
  backdrop-filter: blur(10px); /* само размытие */
  -webkit-backdrop-filter: blur(10px); 
  color: #fff;
  overflow: hidden;
  transition: width 0.4s ease;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;

}

.card.open {
  width: 60%;
}

.card-header {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 1.4vw;
  text-align: center;
  height: 100%;
  font-weight: bold;
}

.card-content {
  position: absolute;  
  display: flex;
  align-items: center;
  top: 0;
  left: 70px;
  padding-right: 65px;
  width: 95%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  max-height: 100%;
  overflow-y: auto;
  transition: opacity 0.3s ease max-height 0.3s ease;;
  scrollbar-width: none;
  -ms-overflow-style: none;
      display: flex;
  justify-content: center;
  align-items: center;
}

.card-content::-webkit-scrollbar {
  display: none;
}

/* Появление контента только после окончания анимации */
.card.open.ready .card-content {
  opacity: 1;
    max-height: 1000px;
  pointer-events: auto;
}

.contract-cont{
  padding-left: 15px;
  display: flex;
  justify-content: center; 
  align-items: center;      
  width: auto;
  color: white;
  background: #fd3fdd36;
  backdrop-filter: blur(10px); /* само размытие */
  -webkit-backdrop-filter: blur(10px); 
  border-radius: 30px;
  flex-direction: row;
  gap: 20px;
  font-size: 2rem;
}
.contract-cont p {
  margin-top: 10px;
  margin-bottom: 10px;
}
.copy-ca{
  color: white;
  background-color: #FD3FDD;
  width: auto;
  height: 70%;
  border-radius: 30px;
    display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
  padding: 15px;
  margin-right: 15px;
}
@media (max-width: 768px) {
  .card-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .card {
    width: 90% !important;
    max-height: 60px;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
  }

  .card.open {
    max-height: 300px;
  }

  .card-header {
  height: 20%;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
    padding: 10px;
  }

  .card-content {
    position: relative;
        align-items: flex-start;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    max-height: 0;
    opacity: 0;
    overflow-y: auto;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .card.open.ready .card-content {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
  }
  .contract-cont{
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .gym-h1{
    font-size: 2.5rem !important;
  }
  .gym-h4{
    font-size: 1.5rem !important;
  }
}




.gym-content h1{
  color: #FD3FDD;
 font-size: 4.5rem;
 margin: 0;

 text-shadow: 2px 2px 2px rgb(255, 255, 255);
 margin-bottom: 20px;
}
.gym-content p{
  color: white;
 font-size: 2rem;
 margin-top: 20px;
 margin-bottom: 20px;    
   overflow-y: auto;  
  max-height: 350px; 
    scrollbar-width: none;     
  -ms-overflow-style: none; 
}
.gym-content p::-webkit-scrollbar {
  display: none;
}
.gym-content{
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  padding: 3%;
  background: #fd3fdd36;
  backdrop-filter: blur(10px); /* само размытие */
  -webkit-backdrop-filter: blur(10px); 
  margin-right: auto;
  width: 40%;   
  justify-content: flex-end;
  align-self: flex-end;
  border-radius: 30px;
}

.buttons-g{
  display: flex;
  flex-direction: row;
  margin-top: 30px;
  margin-bottom: 20px;
  gap: 20px;
  justify-content: center;
}
.button-g{
  background: #FD3FDD9C;
   border: 1px solid #FD3FDD;
     backdrop-filter: blur(20px); /* само размытие */
  -webkit-backdrop-filter: blur(20px); 
 padding: 10px 20px 10px 20px;
 border-radius: 50px;
 font-size: 1.5rem;

}
@media (max-width: 768px) {
  .gym-content {
    width: 80%;   
    height: 85%;          /* 10% отступы слева и справа */
    margin: 0 auto;         /* центрирование по горизонтали */
    padding: 5%;
    align-self: center;
  }

  .gym-content h1 {
    font-size: 3rem;      /* уменьшение текста */
  }

  .gym-content p {
    font-size: 1.6rem;
    max-height: 60%;
    overflow-y: auto;
  }

  .button-g {
    font-size: 1rem;
    padding: 15px;
  }

  .buttons-g {
    align-items: center;
  }
}


.libr-cont{
  margin-left: 10%;
  margin-bottom: 5%;
  padding: 3%;
  display: flex;
  flex-direction: column;
  width: 800px;
  justify-content: flex-start;
  align-self: flex-start;
  margin-top: auto;
  background: #fd3fdd36;
  backdrop-filter: blur(10px); /* само размытие */
  -webkit-backdrop-filter: blur(10px); 
  border-radius: 20px;
}
.libr-cont h1{
  color: #FD3FDD;
 text-shadow: 2px 2px 2px rgb(255, 255, 255);
 font-size: 4.5rem;
 margin-top: 0px;
 margin-bottom: 10px;
}
.libr-cont p{
  color: white;
  font-size: 2rem;
   margin-top: 10px;
 margin-bottom: 10px;
}
.libr-buttons a{
 text-decoration: none;
}
.libr-buttons{
 display: flex;
 flex-direction: row;
 gap: 5%;
}
.libr-img{
  margin-top: 20px;
  height: 50px;
  width: auto;
}

@media (max-width: 768px) {
  .libr-cont{
  margin-left: auto;
  margin-bottom: 10%;
  margin-right: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  width: 80%;
  justify-content: flex-end;
  align-self: flex-end;
  margin-top: auto;
  border-radius: 20px;
}
.libr-cont h1{
 font-size: 3rem;
}
.libr-cont p{
  font-size: 1.6rem;
}
}

.living-cont{
  margin-left: auto;
  margin-right: 10%;
  margin-bottom: 5%;
  padding: 3%;
  display: flex;
  flex-direction: column;
  width: 800px;
  justify-content: flex-start;
  align-self: flex-start;
  margin-top: auto;
  background: #fd3fdd36;
  backdrop-filter: blur(10px); /* само размытие */
  -webkit-backdrop-filter: blur(10px); 
  border-radius: 20px;
}
.living-cont h1{
  color: #FD3FDD;
 font-size: 4.5rem;
 margin: 0;
 text-shadow: 2px 2px 2px rgb(255, 255, 255);
 margin-bottom: 20px;
}
.living-cont p{
  color: white;
 font-size: 2rem;
 margin-top: 20px;
 margin-bottom: 20px;
}
.living-buttons a{
 text-decoration: none;
}
.living-buttons{
 display: flex;
 flex-direction: row;
 gap: 5%;
}
.living-img{
  margin-top: 20px;
  height: 50px;
  width: auto;
}

@media (max-width: 768px) {
  .living-cont{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
  padding: 20px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  width: 80%;
  justify-content: flex-start;
  align-self: flex-start;
  margin-top: auto;
  border-radius: 20px;
}
.living-cont h1{
 font-size: 3rem;
}
.living-cont p{
  font-size: 1.6rem;
}
}
.office-cont{
    position: relative;
  z-index: 1;
  text-align: center;
  flex-direction: column;
        display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      width: 100vw;
}
#dexscreener-embed{
  position:relative;
  width:60%; 
}
@media(min-width:1400px){
  #dexscreener-embed{
    padding-bottom:65%;
      height:90%;
  left:0;

  top: 0;
  bottom: 0;
  }
}
@media(max-width:1400px){
  #dexscreener-embed{
    height: 100%;
      width:80%; 
  }
  #dexscreener-embed iframe{
  position:absolute;
  width:100%;
  top:0;
  height:80%;
  }
}
#dexscreener-embed iframe{
  position:absolute;
  width:100%;
  height:70%;
  left:0;
  top: 15%;
  border:0;
  border-radius: 30px;
  border: 2px solid #FD3FDD;

}