body {
    font-family: Arial, sans-serif;
    background-color: #0f0f3d;
    background: url('image/bg2.png') no-repeat;
    background-size: cover;
    min-height: 1421px;
    overflow-y: scroll;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-position: center center;
    text-align: center;
    margin: auto;
    padding: 0;
}

.content {
    z-index: 2;
    width: 360px;
    height: 360px;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 42%;
    left: 37%;
    box-sizing: border-box;
}

.content p {
    font-size: 22px;
    line-height: 1.5;
    color: white;
}

.menu-item {
    position: fixed;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 10;
}

.menu-item img {
    width: 380px;
    height: 380px;
    cursor: pointer;
    transition: transform 0.3s;
}

.menu-item img:hover {
    transform: rotate(10deg) scale(1.1);
}

#home {
    top: 50vh;
    left: 40vw;
}

#about {
    top: 30vh;
    left: 15vw;
}

#portfolio {
    top: 5vh;
    left: 35vw;
}

#contact {
    top: 20vh;
    left: 55vw;
}

#menu-toggle:checked ~ .menu-item {
    opacity: 1;
    transform: scale(1);
}

#menu-toggle {
    display: none;
}

.toggle-button {
    position: fixed;
    top: 20px;
    right: 2%;
    width: 150px;
    height: 150px;
    cursor: pointer;
    z-index: 11;
}

.toggle-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.toggle-button img:hover {
    transform: rotate(40deg) scale(1.2);
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9;
    pointer-events: none;
    transition: background-color 0.5s ease;
}

#menu-toggle:checked ~ .overlay-menu {
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: all;
}

.sign-up-container {
    position: absolute;
    top: 1110px;
    right: 120px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 15px;
    width: 230px;
    text-align: center;
    z-index: 5;
}

.sign-up-container h4 {
    margin: 10px 0;
    font-size: 20px;
}

.sign-up-container input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.sign-up-container button {
    width: 87%;
    padding: 10px;
    background-color: #ebbc20;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.sign-up-container button:hover {
    background-color: #d15913;
}

        /* Volume button styling */
        #volumeButton {
            position: fixed;
            top: 30px; /* Adjust this for positioning */
            left: 30px; /* Adjust this for positioning */
            width: 100px; /* Size of the button */
            height: auto; /* Size of the button */
            cursor: pointer;
            z-index: 100; /* Ensures it stays on top */
            transition: transform 0.3s;
        }
        #volumeButton:hover {
          transform: rotate(20deg) scale(1.2);
        }
        