@import "images.css";

:root {
    --color-primary: #c02351;
    --color-secondary: #FFF9EB;
    --color-tertiary: #C4C4C4;
    --color-button-hover: #9a181f;
    --color-text: #444444;
    --color-text-secondary: #601e29;
    --color-white: #FFFFFF;
}

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

body {
    height: 100vh;
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-animation {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-animation: snowy 9s linear infinite;
  -moz-animation: snowy 9s linear infinite;
  -o-animation: snowy 9s linear infinite;
  -ms-animation: snowy 9s linear infinite;
  animation: snowy 9s linear infinite;
}
@-moz-keyframes snowy {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }
  75% {
    background-position: 325px 750px, 275px 600px, -5px 150px;
  }
  100% {
    background-position: 500px 1000px, 400px 800px, 0px 300px;
  }
}
@-webkit-keyframes snowy {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }
  75% {
    background-position: 325px 750px, 275px 600px, -5px 150px;
  }
  100% {
    background-position: 500px 1000px, 400px 800px, 0px 300px;
  }
}
@-o-keyframes snowy {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }
  75% {
    background-position: 325px 750px, 275px 600px, -5px 150px;
  }
  100% {
    background-position: 500px 1000px, 400px 800px, 0px 300px;
  }
}
@keyframes snowy {
  0% {
    background-position: 0px 0px, 0px 0px, 0px 0px;
  }
  75% {
    background-position: 325px 750px, 275px 600px, -5px 150px;
  }
  100% {
    background-position: 500px 1000px, 400px 800px, 0px 300px;
  }
}
.nav-bar {
    color: var(--color-secondary); 
    padding: 10px 20px; 
}
  
  .nav-content {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
  }
  
  .nav-content h2 {
    font-size: 1.2rem; 
    margin: 0; 
    font-weight: normal; 
  }
  
  .nav-content span {
    font-weight: bold; 
    color: var(--color-secondary); 
  }
  
  @media (max-width: 768px) {
    .nav-content {
      flex-direction: column; 
      text-align: center; 
    }
  
    .nav-content h2 {
      margin-bottom: 5px; 
    }
  }
  
.main-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.header-banner {
    flex: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0;
}

  .banner-content {
    flex: 1;
    margin: 0 200px;
  }
  
  .participants-title {
    font-size: 1.5rem; 
    margin-bottom: 10px; 
    color: var(--color-white); 
  }
  
  .participants-list {
    border: 1px solid #3b3737; 
    border-radius: 5px; 
    padding: 10px; 
    max-height: 200px; 
    overflow-y: auto; 
    font-size: 1rem; 
    color: var(--color-white); 
  }
  
  .banner-image {
    flex-shrink: 0; 
  }
  
 img{
  filter: drop-shadow(
   0 0 10px rgba(0, 0, 0, 0.8)
  );
} 
  .img_santa {
    width: 20%;
    border-radius: 10px; 
   
  }

  .img_writing_santa {
    width: 40%;
    border-radius: 10px; 
  }
  
  @media (max-width: 768px) {
    .header-banner {
      flex-direction: column; 
      align-items: center; 
    }
  
    .banner-content {
      margin-right: 0; 
      margin-bottom: 20px; 
    }
  }
  
.input-section {
    flex: 60%;
    background-color: var(--color-secondary);
    border: 1px solid #000;
    border-radius: 64px 64px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    margin-top: 30px;
}

.main-title {
    font-size: 58px;
    font-family: "Merriweather", serif;
    font-weight: 900;
    font-style: normal;
    color: var(--color-white);
    
    padding-right: 250px;
}
.subtitle {
    margin-top: 10px;
    display: block;
    font-size: 35px;
}
  
.section-title {
    font-family: "Inter", serif;
    font-size: 26px;
    font-weight: 700;
    color: var( --color-text-secondary);
    margin: 10px 0;
    text-align: center;
}

.input-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

.title_popup{
    margin-bottom: 30px;
}

.input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #000;
    border-radius: 25px 25px;
    font-size: 16px;
}

.button-container {
    width: 300px;
    justify-content: center;
    margin-top: 30px;
}

.input-title {
    flex: 1;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #333;
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-family: "Merriweather", serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


button {
    padding: 15px 30px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    border: 2px solid #601e29;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    margin: 14px;
    color: var(--color-text-secondary);
}

button:hover{
  background-color: var(--color-primary);
  color: var(--color-white);
}


.button-draw {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 40px;
    color: var(--color-white);
    background-color: var(--color-primary);
    font-size: 16px;
}

.button-draw img {
    margin-right: 40px;
}

.button-draw:hover {
    background-color: var(--color-button-hover);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100; 
}

.modal-content {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.card {
  width: 50%;
  height: 65px;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 10px 15px;
  background-color: var(--color-white);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 15px;
  top: 10px;
}
.wave {
  position: absolute;
  transform: rotate(90deg);
  left: -31px;
  top: 32px;
  width: 80px;
  fill: #ffa30d3a;
}
.icon-container {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffa30d48;
  border-radius: 50%;
  margin-left: 8px;
}
.icon {
  width: 17px;
  height: 17px;
  color: #db970e;
}
.message-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
}
.message-text,
.sub-text {
  margin: 0;
  cursor: default;
}
.message-text {
  color: #db970e;
  font-size: 17px;
  font-weight: 700;
}
.sub-text {
  font-size: 18px;
  color: #555;
  margin-top: 8px;
}

.cross-icon {
  width: 28px;
  height: 28px;
  color: #555;
  cursor: pointer;
}

.secretSantaIcon {
  width: 200px;
  margin: 20px 0px;
}
.center{   
  align-items: center;
}

.section-secret-santa {
  color: var( --color-text-secondary);
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  span{ 
    color: var( --color-primary);
  }
}

