*{
  box-sizing: border-box;
}
body{
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
}
header#main{
  width: 100vw;
  background-color: white;
  color: white;
  display: flex;
  padding: 20px 20px;
  filter: drop-shadow(0 1px 3px black); 
  justify-content:center;
}
header#main .content-wrapper{
  display:flex;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  width: 100%;
}
header#main img{
  max-width: 100px;
  height: auto;
}
.logo-wrapper img.logo{
  height: 80px;
}

main#site-wrapper{
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
}

.puzzle-wrapper{
  display: flex;
  justify-content: center;
  overflow: hidden !important;
}

.box{
  width: 90%;
  opacity: 0;
  transform: scale(2);
  filter: drop-shadow(0 0 1.5rem #000);
  position: absolute;
  padding: 0;
  margin: 50px 0 0 0;
}

.box.new-site{
  z-index: 1000;
}

.box:not(.display){
  transition: all 1s;
  transition-delay:.5s;
}

.fade-in{
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 0 0 #000);
}

.display{
  opacity: 1!important;
  transform: scale(1)!important;
  filter: none !important;
}

.puzzle-piece{
  width:100%;
}

main.admin {
  max-width: 1100px;
  width: 80%;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
h1{
  font-size: 1.5em;
  color: #618dc1;
  text-align: center;
}
h2 {
  font-size: 1.2em;
  color: black;
  border-bottom: 2px solid #B3833D;
  padding-bottom: 10px;
}
h3{
  font-size: 1em;
  color: black;
  padding-bottom: 10px;
  text-align: center;
}
p{
  font-size: 1em;
  line-height: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
table th, table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}
table th {
  background-color: #f2f2f2;
  color: #333;
}

.container {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  max-width: 500px;
  width: 90%;
  margin: 50px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow-y:scroll;
}
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
input[type="email"], input[type="text"] {
  width: 65%;
  padding: 10px;
  margin: 10px auto 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
input[type="submit"] {
  background-color: #618dc1;
  width: fit-content;
  margin: 0 auto 20px;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
  background-color: #B3833D;
}
a.button{
  background-color: #618dc1;
  width: fit-content;
  margin: 0 auto 20px;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  text-decoration: none;
}
a.button:hover {
  background-color: #B3833D;
}
img.raffle-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  max-width: 1100px;
}
.name-form, .address-form{
  opacity:0;
  transition: all 1s;
  transition-delay:2s;
}
.form-fade-in{
  opacity: 1;
}
.show-name-form, .show-address-form{
  background-color: rgba(0, 0, 0, 0.4);
}
.name-form.hide-name-form, .address-form.hide-address-form{
  display:none;
}

.address-form{
  overflow-y:auto;
}
@media (max-width: 768px) {
  header#main .content-wrapper {
    justify-content: center;
    align-items:center;
  }
  header#main img {
    justify-content: center;
    align-items: center;
  }
}
