body {
    background-color: #F2EA02;
    color: #000000;
    font-size: 1em;
    font-family: "Margarine", sans-serif;
    padding: 2em;
}

/* LINKS */
a {
    color: #683403;
    text-decoration: none;
    padding: .3em;
    transition: .4s;
}

a:hover {
    text-decoration: underline;
    background-color: #683403;
    color: #F2EA02;
    border-radius: 5px;
}

/* IMAGES */
img {
    border: .7em inset #5F3F07;
}

/* Hide checkbox */
#menu-toggle {
    display: none;
}

/* Hamburger icon */
.menu-icon {
    width: 30px;
    cursor: pointer;
    display: block;
}

.menu-icon span {
    display: block;
    height: 4px;
    background: black;
    margin: 6px 0;
    transition: 0.3s;
}

/* Menu hidden by default */
.menu {
    display: none;
}

/* Show menu when checked */
#menu-toggle:checked + .menu-icon + .menu {
    display: block;
}

/* Animate into X */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* STARS */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffca08;
}

/* LOGO */
.logo {
    width: 6%;
    position: fixed;
    top: 15px;
    right: 15px;   /* moved from left to right */
    cursor: pointer;

    transition: transform 0.4s ease, filter 0.4s ease;
    animation: floatLogo 3s ease-in-out infinite;
}

/* Hover effect */
.logo:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 10px limegreen);
}

/* Floating animation */
@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

hidden {
  display: none;
}

#secret-egg {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 25px;
  cursor: pointer;
  opacity: 0.4;
}

