body {
    background-color: black;
    color: white; /* Sets text color globally */
    font-family: sans-serif;
    line-height: 1.6;
}

ul {
    list-style: none;
}

li {
    margin-bottom: 20%;
    position: relative;
    opacity: 0;
    transform: translateX(-100%);
}

a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.menu {
    margin-top: 5%;
    position: absolute;
    left: 0%;
}

input[type="checkbox"] {
    display: none; /* Hide the checkbox */
}

label {
    position: relative;
    display: inline-block;
    margin-left: 12px;
    margin-top: 10px;
    width: 23px;
    height: 20px;
    cursor: pointer;
}

label span {
    position: absolute;
    display: block;
    width: 23px;
    height: 2px;
    background-color: white;
    transition: 0.2s;
}

.top_line {
    top: 7px;
}

.middle_line {
    top: 14px;
}

.bottom_line {
    top: 21px;
}

input[type="checkbox"]:checked + label .top_line {
    transform: rotate(45deg) translate(5px, 5px);
}

input[type="checkbox"]:checked + label .middle_line {
    opacity: 0;
}

input[type="checkbox"]:checked + label .bottom_line {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Animation when checkbox is checked */
#checkbox:checked ~ .menu ul li {
    opacity: 1;
    transform: translateX(0);
    animation: swing-in 0.4s forwards;
}

@keyframes swing-in {
    0% { transform: translateX(-100%) rotate(0deg); opacity: 0.5; }
    100% { transform: translateX(0) rotate(0); opacity: 1; }
}

.welcome {
    margin-left: 20%;
    margin-right: 20%;
    padding: 10%;
}

.text, .picture, .welcome-home {
    margin-left: 20%;
    margin-right: 20%;
}

.picture {
    display: block;
    margin: auto;
    padding-bottom: 5%;
    width: 25%;
}

@media (max-width: 730px) {
    .welcome-home {
        padding-left: 10%;
        padding-bottom: 50%;
    }

    .welcome, .picture {
        padding-left: 5%;
    }

    .text {
        margin-left: 5%;
        margin-right: 5%;
    }

    .picture {
        width: 50%;
    }

}

@media (max-width: 500px) {
    .welcome {
        padding-left: 15%;
    }

    .welcome-home {
        padding-left: 20%;
        padding-right: 0%;
        margin-right: 5%;
        padding-bottom: 75%;
    }

    .text {
        margin-left: 5%;
        margin-right: 5%;
    }
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white; /* Text color */
    background-color: black; /* Button background color */
    border: 2px solid white; /* White border */
    border-radius: 10px; /* Rounded corners */
    text-align: center;
    text-decoration: none; /* Remove underline */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition for background color */
}

.button:hover {
    background-color: grey; /* Grey background on hover */
}
