body {
    margin: 2rem;
    padding: 0;
    background-color: #3e2719;
    background-image: url(/img/background-img-1.svg);
    background-size: 50% 30px;
    color: #ffffff;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-style: italic;
    color: gold;
    margin-top: 10px;
    margin-bottom: 0;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: gold;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Today */
#now {
    padding: 4rem 0 2rem 0;
}
#today {
    font-size: 12rem;
    margin: 0;
}
#date {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 1rem;
}

#warning {
    margin: 0 auto;
    margin-bottom: 32px;
    font-style: italic;
    max-width: 12rem;
    border-radius: 6px;
    padding: .2rem;
}

.weekend {
    background-color: red;
    color: #ffffff;
}
.friday {
    background-color: green;
    color: #ffffff;
}
.monday {
    background-color: darkorange;
    color: #000000;
}

/* Yesterday and Tomorrow */
.yesterday-tomorrow {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    height: 50px;
    margin-bottom: .6rem;
}
.yesterday-tomorrow span {
    text-transform: lowercase;
}

/* Yesterday animation */
#yesterday {
    position: absolute;
    left: -100%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    transition: left 1s cubic-bezier(1, 0.01, 0, 0.99);
}
.previous {
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-image: url("/svg/left-arrows.svg");
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: center left;
}
.previous:hover #yesterday {
    left: 32px;
}

/* Tomorrow animation */
#tomorrow {
    position: absolute;
    right: -100%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    transition: right 1s cubic-bezier(1, 0.01, 0, 0.99);
}
.next {
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-image: url("/svg/right-arrow.svg");
    background-repeat: no-repeat;
    background-size: 2rem;
    background-position: center right;
}
.next:hover #tomorrow {
    right: 32px;
}

/* Why is this website? */
.action {
    background-color: #655247;
    padding: 2rem;
    border-radius: 1rem;
    width: 80%;
    max-width: 650px;
    margin: 0 auto;
}
#ask {
    font-size: 2.6rem;
    margin: 0;
    font-weight: 600;
}

#why {
    background-color: gold;
    border: solid 2px gold;
    border-radius: 6px;
    color: #282828;
    font-size: 1.4rem;
    font-weight: 600;
    max-width: 12rem;
    margin: 2rem auto 1rem auto;
    padding: .5rem 1rem;
    cursor: pointer;
}
#why:hover {
    background-color: transparent;
    color: #ffffff;
}

/* Video */
#video-block {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9999999;
    background-color: rgba(33, 33, 33, 0.94);
    transform: translateY(60%) scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#video {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    width: 80%;
    max-width: 650px;
}

#video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

#video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Open */
#video-block.opened {
    transform: translateY(0) scale(1);
}

/* Close btn */
#close {
    position: absolute;
    font-size: 45px;
    font-weight: 500;
    cursor: pointer;
    top: -3rem;
    left: auto;
    right: 0;
    color: #ffffff;
}
#close:hover {
    color: gold;
}

/* Close */
#video-block.closed {
    transform: translateY(60%) scale(0);
}


/* Links */
#links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3.4rem 0;
    font-size: 1.1rem;
}
#links a {
    position: relative;
}
#links a:after {
    position: absolute;
    content: "";
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: gold;
    transition: all .35s;
}
#links a:hover:after {
    width: 100%;
}

/* Footer */
footer {
    font-size: 14px;
}

#creator {
    background-color: #3e2719;
    position: fixed;
    bottom: 0;
    right: 0;
    padding: .3rem 1rem;
    border-top-left-radius: .75rem;
    border-style: dashed;
    border-width: 0;
    border-top-width: 1px;
    border-left-width: 1px;
    border-color: gold;
}
#creator:hover {
    background-color: #372216;
}
#creator .flex {
    display: flex;
    gap: 5px;
    align-items: center;
}
#creator img {
    border-radius: 100%;
}


/* RESPOSIVE */
@media (max-width: 1000px) {
    #today {
        font-size: 10rem;
    }
}
@media (max-width: 850px) {
    #today {
        font-size: 8rem;
    }
}
@media (max-width: 690px) {
    #today {
        font-size: 6rem;
    }
    #links {
        display: block;
    }
    #links li {
        margin-bottom: 1.2rem;
    }
    footer {
        padding-bottom: .2rem;
    }
}
@media (max-width: 530px) {
    #today {
        font-size: 4rem;
    }
    #date {
        font-size: 1.6rem;
    }
    #ask {
        font-size: 2rem;
    }
}
@media (max-width: 420px) {
    h1 {
        font-size: 1.6rem;
    }
    #today {
        font-size: 3rem;
    }
    #date {
        font-size: 1rem;
    }
}