/* Place CSS styles here */
* {
    box-sizing: border-box;
}

body {
    background-color: #900404;
    color: #fff;
    font-family: "EB Garamond", serif;
    font-size: 16px;
}

@media (max-width: 480px) {
    body {
        font-size: 18px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px #000;
}

h1 {
    font-size: 2.5rem;
}

p {
    line-height: 1.5;
}

a {
    background: white;
    width: 100px;
    display: inline-block;
    padding: 8px 6px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}

a:hover {
    background-color: #bcbcbc;
}

a:focus {
    outline: 2px solid pink;
}

img {
    width: 100%;
}

.tt-row {
    display: flex;
}

.top-background-image {
    background-image: url(../img/giz2.jpg);
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.top-background-image-with-content {
    background-image: url(../img/giz2.jpg);
    padding-top: 200px;
    padding-bottom: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.top-background-image-with-content h2 {
    text-align: center;
}

.submit-button {
    padding: 8px;
    border-radius: 12px;
    border: none;
    background: black;
    color: white;
    border: 1px solid black;
}

.submit-button:hover {
    background-color: transparent;
}

.submit-button:focus-visible {
    outline-color: red;
}

.area {
    display: none;
}

.area.on {
    display: block;
}

.testing {
 width: 200px;
 padding: 20px;
 border: 5px solid black;
 box-sizing: border-box; /* Total width will still be 200px */
}

.content-box {
  box-sizing: content-box;
}

.red-wrappers {
    display: flex;
    gap: 20px;
    justify-content: center;
    background-color: green;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    width: 100%;
    border-radius: 20px;
    margin-top: 32px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .red-wrappers {
        flex-direction: column;
    }
}


/* Responsive setup with media queries when you know the columns that you want */

.menu-items {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
}


@media (max-width: 1200px) {
    .menu-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-items {
        display: grid;
        gap: 40px;
        grid-template-columns: repeat(2, 1fr);
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 480px) {
    .menu-items {
        background-color: #000000;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        padding-left: 20px;
        padding-right: 20px;
    }
}


.menu-item p {
    padding-left: 6px;
    padding-right: 6px;
}

main {
    height: 100vh;
    overflow: hidden;
}

.star {
    width: 50px;
}

.star-1 {
    position: absolute;
    top: 60px;
    left: 50px;
}


.star-2 {
    position: absolute;
    top: 70px;
    left: 100px;
}

.star-3 {
    position: fixed;
    top: 70px;
    right: 20px;
}

.star-4 {
    position: fixed;
    top: 70px;
    left: 90%;
}

/* .star-5 {
    position: fixed;
    top: 70px;
    left: 200px;
} */

.night {
    background-color: #000;
}

.ba-fish-1 {
    position: absolute;
    top: 33%;
    left: 16%;
    width: 225px;
    transition: all .5s ease;
}

.bl-fish-1 {
    position: absolute;
    bottom: 20%;
    right: 17%;
    width: 200px;
}

.ba-fish-2 {
    position: absolute;
    width: 200px;
    top: 50%;
    left: 48%;
}

.tank {
    position: relative;
}

/* STATES */
/* Bob */
@keyframes hvr-bob {
  0% {
    -webkit-transform: translateY(-18px);
    transform: translateY(-18px);
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px);
  }
  100% {
    -webkit-transform: translateY(-18px);
    transform: translateY(-18px);
  }
}
@keyframes hvr-bob-float {
  100% {
    -webkit-transform: translateY(-18px);
    transform: translateY(-18px);
  }
}
.hvr-bob {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-bob {
  -webkit-animation-name: hvr-bob-float, hvr-bob;
  animation-name: hvr-bob-float, hvr-bob;
  -webkit-animation-duration: .3s, 1.5s;
  animation-duration: .3s, 1.5s;
  -webkit-animation-delay: 0s, .3s;
  animation-delay: 0s, .3s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}

@keyframes horizontal-hvr-bob {
  0% {
    transform: translateX(100%) scale(1.25);
    transform: translate3d(100%, 0px, 0) scale(1.25);
  }
  50% {
    -webkit-transform: translateX(-9px) scale(1);
    transform: translate3d(-9px, 0px, 0) scale(1);
  }
  100% {
    transform: translate3d(-18px, 0px, 0) scale(1.25);
  }
}
@keyframes horizontal-hvr-bob-float {
  100% {
    transform: translate3d(-18px, 0px, 0) scale(1.25);

  }
}
.swim {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.swim {
  -webkit-animation-name: horizontal-hvr-bob-float, horizontal-hvr-bob;
  animation-name: horizontal-hvr-bob-float, horizontal-hvr-bob;
  -webkit-animation-duration: .3s, 1.5s;
  animation-duration: .3s, 1.5s;
  -webkit-animation-delay: 0s, .3s;
  animation-delay: 0s, .3s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
}


.pink {
    background-color: #ffc0cb;
}

.flipped {
    transform: rotateY(540deg);
}

.invert-colors {
    filter: invert();
}


/* COWMOON */
.cow-moon {
    background-color: #000;
}

.moon {
    width: 130px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cow-wrapper {
    animation: cowRotate 4s ease infinite;
    position: absolute;
    top: 30%;
    left: 20%;
    width: 55%;
    height: 200px;
}

.cow {
    /* animation: cow-moon ease 4s infinite; */
    width: 250px;
    top: 50%;
    position: fixed;
    transform: scaleX(-1);
}

@keyframes cowRotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes cow-moon {
  0% {
    transform: rotate(0deg) scale(-1);
  }
  50% {
    transform: rotate(90deg) scale(-1);
  }
  100% {
    transform: rotate(180deg) scale(-1);
  }
}
