main {
    background: #EEEEEE;
    background: linear-gradient(92deg,rgba(118, 173, 235, 1) 0%, rgba(238, 238, 238, 1) 50%);
}

h1 {
    text-align: center;
}

th {
    border-bottom: 2px solid #674018;
    font-family: monospace;
}
td {
    font-family: monospace;
    font-size: 0.8rem;
    padding: 6px 10px;
}
tr > td:first-of-type {
    white-space: nowrap;
}
tr:nth-of-type(2n) {
    background-color: #ebebeb;
}
@media screen and (max-width: 960px){
    td {
        padding: 3px 5px;
    }
}

.interior-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5vw;
    justify-content: center;
    min-height: 90vh;
    overflow: hidden;
    padding: 7em 5vw 5em 10vw;
}
@media screen and (max-width: 960px){
    .interior-wrapper {
        align-items: center;
        flex-direction: column;
        justify-content: flex-start;
        padding-left: 5vw;
    }
}

.interior-wrapper > div:first-of-type {
    flex-grow: 2;
    max-width: 100vw;
    min-width: 50vw;
    position: relative;
}
.interior-wrapper > div:first-of-type h1 {
    border-bottom: 4px solid #674018;
}
.interior-wrapper > div:first-of-type section {
    border-left: 4px solid #674018;
}
.interior-wrapper > div:last-of-type {
    flex-grow: 0.5;
    margin-top: calc(200px + 5vh);
    max-width: 420px;
    min-width: 420px;
    position: relative;
}
.interior-wrapper > div:last-of-type ul {
    list-style-type: none;
    padding: 0;
}
.interior-wrapper > div:last-of-type ul .button {
    font-size: 1em;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5em 1em;
    width: 70%;
}
@media screen and (max-width: 960px){
    .interior-wrapper > div:last-of-type ul .button {
        animation-delay: 0.1s !important;
    }
}
.interior-wrapper > div:last-of-type section {
    border-top: 4px solid #674018;
}


.interior-wrapper section, .interior-wrapper h1 {
    background-color: var(--background);
    box-shadow: 0px 0px 6px #222;
    margin-bottom: 3rem;
    padding: 1rem 1rem;
    position: relative;
    z-index: 10;
}
.interior-wrapper section > h2:first-of-type {
    margin-top: 0;
}

.watering-schedule li {
    list-style-image: url('../images/water-drop.svg');
    padding-bottom: 0.4em;
}


/* Lawn Animation */
.lawn, .lawn-green, .sprinkler, .droplets {
    max-width: 100%;
    position: absolute;
    top: 0;
    z-index: 5;
}
.lawn {
    transform: translateY(-100%);
    z-index: 6;
}
.activate ~ .lawn {
    animation: lawn-animation 5s linear;
    animation-fill-mode: forwards;
    animation-play-state: running;
}
.lawn-green {
    opacity: 0;
    transform: translateY(-100%);
    z-index: 7;
}
.activate ~ .lawn-green {
    animation: lawn-green-animation 5s linear;
    animation-fill-mode: forwards;
    animation-play-state: running;
}
.sprinkler {
    left: 35%;
    top: -50px;
    z-index: 4;
}
.activate ~ .sprinkler {
    animation: sprinkler-animation 5s linear;
    animation-play-state: running;
}
.droplets {
    opacity: 0;
    top: -360px;
    transform: scale(0.2, 0.2);
    z-index: 2;
}
.activate ~ .droplets {
    animation: droplets-animation 5s linear;
    animation-play-state: running;
}


@keyframes sprinkler-animation {
  0% {
    top: -50px;
  }
  10% {
    top: -50px;
  }
  15% {
    top: -200px;
  }
  95% {
    top: -200px;
  }
  100% {
    top: -50px;
  }
}

@keyframes droplets-animation {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0;
    top: -360px;
    transform: scale(0.2, 0.2);
  }
  25% {
    opacity: 1;
    top: -300px;
    transform: scale(1, 1);
  }
  35% {
    opacity: 0.7;
    top: -120px;
    transform: scale(1, 1);
  }
  45% {
    opacity: 0;
    top: 0px;
    transform: scale(1, 1);
  }
  100% {
    opacity: 0;
    top: 0px;
    transform: scale(1, 1);
  }
}

@keyframes lawn-green-animation {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  35% {
    opacity: 0.2;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

@keyframes lawn-animation {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  35% {
    opacity: 0.9;
  }
  85% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
  }
}