* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'inter', sans-serif;
  background: url('../media/images/bg.png') no-repeat center center scroll;
  background-size: cover;
  color: #fda4c6;
}

html, body {
  overflow-x: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 70px;
  background:rgba(255, 197, 219, 0.364);
  gap: 20px;
  white-space: nowrap;
}

.logo {
  height: 55px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-shrink: 1;
}

.nav-links a {
  text-decoration: none;
  color: #DF7EA8;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
}

.title {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.subtitle {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}

.main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-container {
  width: 595px;
  height: 735px;
  background: rgba(255, 255, 255, 0.95);  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background-color: #FFE5F4;
  position: absolute;
  top: 30px;
  left: 40px;
}

.org-name {
  position: absolute;
  top: 100px;
  left: 245px;
  width: 330px;
  font-size: 28px;
  font-weight: 600;
  color: #df7ea8;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
  padding-right: 12px;
}

.tag {
  width: 245px;
  height: 47px;
  background: #FFE5F4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #df7ea8;
  position: absolute;
}

.tag-one {
  top: 226px;
  left: 37px;
}

.tag-two {
  top: 226px;
  left: 317px;
}

.description-box {
  position: absolute;
  top: 294px;
  left: 37px;
  width: 525px;
  height: 208px;
  border-radius: 16px;
  background: #FFE5F4;
  padding: 16px;
  text-align: left;
  font-size: 16px;
  color: #636061;
}

.update-box {
  position: absolute;
  top: 522px;
  left: 37px;
  width: 525px;
  height: 86px;
  border-radius: 16px;
  background: #FFE5F4;
  padding: 16px;
  text-align: left;
  font-size: 16px;
  color: #636061;
}

.card-count {
  position: absolute;
  top: 648px;
  left: 47px;
  font-size: 24px;
  font-weight: 600;
  color: #df7ea8;
}


.deck {
  position: relative;
  width: 595px;
  height: 735px;
}

.card {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
  touch-action: none;
  cursor: grab;
}

.card.dragging {
  transition: none;
  cursor: grabbing;
}

.site-footer {
  background-color: rgba(255, 197, 219, 0.364);
  color: #DF7EA8;
  font-family: 'Inter', sans-serif;
  padding: 30px 20px 10px;
  position: relative;
  width: 100%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  gap: 20px;
}

.footer-logo {
  width: 138px;
  height: 138px;
  object-fit: contain;
  margin-top: -18px
}

.footer-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 10px;
}

.footer-subtitle {
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 15px;
  margin-top: 6px;
}

.footer-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 3px;
  margin-left: 2px;
}

.footer-icons img {
  width: 38px;
  height: 38px;
  transition: transform 0.2s;
}

.footer-icons img:hover {
  transform: scale(1.1);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 3px;
}

.footer-heading {
  font-size: 36px;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 10px;
}

.footer-right a {
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
  color: #DF7EA8;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-right a:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  margin-top: 5px;
  font-size: 20px;
  font-weight: 600;
  line-height: 22px;
  color: #DF7EA8;
}



@media (max-width: 1024px) {
  html, body {
  overflow-x: hidden;
}
  .deck {
    transform: scale(0.8);
    transform-origin: top center;
  }
  .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .site-header {
    padding: 10px 20px;
    height: auto;
    flex-wrap: wrap;
    gap: 15px;
  }

  .logo {
    height: 50px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-links a {
    font-size: 16px;
    white-space: nowrap;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-left, .footer-right {
    align-items: flex-start;
    text-align: left;
  }
}


@media (max-width: 767px) {

  html, body {
  overflow-x: hidden;
  }
  
  .deck {
    transform: scale(0.65);
    margin-top: 0px;
  }

  .site-header {
    height: auto;
    padding: 15px;
    gap: 15px;
  }

  .logo {
    height: 42px;
  }

  .nav-links {
    flex-direction: row;
    gap: 7px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .title {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .main-content {
  padding-top: 30px;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-text {
    align-items: flex-start;
  }

  .footer-icons {
    margin-top: 2px;
    margin-left: 0;
    gap: 8px;
  }
  
  .footer-right {
    align-items: flex-start;
    text-align: left;
    margin-top: 2px;
    gap: 1px;
  }

  .footer-heading {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .footer-right a {
    font-size: 18px;
  }

  .footer-logo {
    width: 100px;
    height: 100px;
    margin-top: -20px;
  }

  .footer-title {
    font-size: 24px;
    margin-bottom: 2px;
  }

  .footer-subtitle {
    font-size: 18px;
    margin-top: 4px; 
    margin-bottom: 4px;
  }

  .footer-bottom {
    font-size: 16px;
    text-align: left;
  }

}

@media (max-width: 600px) {

  html, body {
  overflow-x: hidden;
  }
  
  .deck {
    transform: scale(0.55);      
    transform-origin: top center;
    margin-top: 0px;
  }

  .site-header {
    display: flex;
    flex-wrap: nowrap;            
    align-items: center;
    justify-content: flex-start; 
    padding: 10px 10px;
    gap: 6px;
  }

  .logo {
    height: 35px;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;            
    flex-shrink: 1;
  }

  .nav-links a {
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 1;               
    max-width: 100px;            
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .title {
    font-size: 28px;
    text-align: center;
  }

  .subtitle {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
  }
  .main-content {
  padding-top: 30px;
  }

  .footer-container {
    padding: 0;
    gap: 16px;
  }

  .footer-left {
    gap: 10px;
  }

  .footer-icons img {
    width: 30px;
    height: 30px;
  }

  .footer-title {
    font-size: 20px;
  }

  .footer-subtitle {
    font-size: 16px;
    margin-top: 2px; 
    margin-bottom: 2px;
  }

  .footer-right {
    margin-top: 2px;
    gap: 0px;
  }

  .footer-right a {
    font-size: 16px;
  }

  .footer-heading {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .footer-bottom {
    font-size: 14px;
    margin-top: 10px;
  }
}
