@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Rubik+Wet+Paint&display=swap');
:root {
    --main-color: #d9534f;
    --bg-color: #f8f9fa;
    --text-color: #fff;
    --accent-color: #0080ff;
}

body {
    margin: 0;
    background: url("../images/body-bg.jpg");
    background-size: cover;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    overflow: hidden;
}
.main-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 100px;
    box-sizing: border-box;
    border-radius: 20px;
}

.scream-text {
    font-size: 3rem;
    margin-bottom: 20px;
    min-height: 50px;
        font-family: "Rubik Wet Paint", system-ui;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.show {
    opacity: 1;
}

.normal {
    animation: bounce 1s ease;
}

.office {
    animation: shake 1s ease;
    color: #ff6600;
}

.zoom {
    animation: pulse 1s ease;
    color: #007bff;
}

.existential {
    animation: wobble 1s ease;
    color: #6f42c1;
}

.panic {
    animation: flash 1s ease;
    color: #20c997;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes wobble {
    0%,
    100% {
        transform: rotate(0);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

@keyframes flash {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
}

.button {
    background-color: var(--main-color);
    border: none;
    color: white;
    padding: 20px 40px;
    font-family: "Rubik Wet Paint", system-ui;
    font-size: 2rem;
    border: 2px solid #fff;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease-in-out;
    margin-bottom: 20px;
    animation: zoom-in-zoom-out 2s ease-out infinite;
}
@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.08, 1.02);
  }
  100% {
    transform: scale(1, 1);
  }
}

.button:active {
    transform: scale(0.98);
}

.counters,
.controls {
    margin-top: 20px;
}

.dropdown {
    padding: 10px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.counters p{
    font-family: "Outfit", sans-serif;
    font-size: 20px;
}
.controls label{
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    display: inline-block;
    margin-bottom: 10px;
}

select {
   -webkit-appearance:none;
   -moz-appearance:none;
   -ms-appearance:none;
   appearance:none;
   outline:0;
   box-shadow:none;
   border:0!important;
   background: #5c6664;
   background-image: none;
   flex: 1;
   padding: 0 .5em;
   color:#fff;
   cursor:pointer;
   font-size: 1em;
   font-family: 'Open Sans', sans-serif;
}
select::-ms-expand {
   display: none;
}
.select {
   position: relative;
   display: flex;
   width: 20em;
   height: 3em;
   line-height: 3;
   background: #5c6664;
   overflow: hidden;
   border-radius: .25em;
}
.select::after {
   content: '\25BC';
   position: absolute;
   top: 0;
   right: 0;
   padding: 0 1em;
   background: #2b2e2e;
   cursor:pointer;
   pointer-events:none;
   transition:.25s all ease;
}
.select:hover::after {
   color: #23b499;
}

.share-btn button {
    padding: 15px 25px;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    background-color: var(--accent-color);
    color: white;
    border: 2px solid #fff;
    border-radius: 30px;
    cursor: pointer;
    animation: up-down linear 4s;
    animation-iteration-count: infinite;

}
@keyframes up-down{
  0% {
    transform:  translate(1px,20px)  ;
  }
  24% {
    transform:  translate(1px,30px)  ;
  }
  50% {
    transform:  translate(1px,12px)  ;
  }
  74% {
    transform:  translate(1px,22px)  ;
  }
  100% {
    transform:  translate(1px,22px)  ;
  }
}

@-moz-keyframes up-down{
  0% {
    -moz-transform:  translate(1px,20px)  ;
  }
  24% {
    -moz-transform:  translate(1px,30px)  ;
  }
  50% {
    -moz-transform:  translate(1px,12px)  ;
  }
  74% {
    -moz-transform:  translate(1px,22px)  ;
  }
  100% {
    -moz-transform:  translate(1px,22px)  ;
  }
}

@-webkit-keyframes up-down {
  0% {
    -webkit-transform:  translate(1px,20px)  ;
  }
  24% {
    -webkit-transform:  translate(1px,30px)  ;
  }
  50% {
    -webkit-transform:  translate(1px,12px)  ;
  }
  74% {
    -webkit-transform:  translate(1px,22px)  ;
  }
  100% {
    -webkit-transform:  translate(1px,22px)  ;
  }
}

@-o-keyframes up-down {
  0% {
    -o-transform:  translate(1px,20px)  ;
  }
  24% {
    -o-transform:  translate(1px,30px)  ;
  }
  50% {
    -o-transform:  translate(1px,12px)  ;
  }
  74% {
    -o-transform:  translate(1px,22px)  ;
  }
  100% {
    -o-transform:  translate(1px,22px)  ;
  }
}

@-ms-keyframes up-down {
  0% {
    -ms-transform:  translate(1px,20px)  ;
  }
  24% {
    -ms-transform:  translate(1px,30px)  ;
  }
  50% {
    -ms-transform:  translate(1px,12px)  ;
  }
  74% {
    -ms-transform:  translate(1px,22px)  ;
  }
  100% {
    -ms-transform:  translate(1px,22px)  ;
  }
}


@media (max-width: 767px) {
    body{
        background-position: center right;
        box-sizing: border-box;
    }
    .main-content{
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        padding: 0;
        border-radius: 0;
    }
    .button {
        padding: 15px 30px;
        font-size: 1.5rem;
    }

    .scream-text {
        font-size: 2rem;
    }
}
