body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f9;
    color: #333;
}

.menu-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    margin-bottom: 30px;
    z-index: 2;
}

.menu-toggle input {
    display: none;
}

.menu-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.menu-btn label {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: #4158d0;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.menu-btn label:hover {
    background-color: #3a4fa0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    position: absolute;
    width: 60%;
    height: 5px;
    background-color: white;
    border-radius: 2px;
    left: 20%;
    transition: all 0.3s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 30%;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
}

.menu-toggle span:nth-child(3) {
    top: 70%;
}

.menu-toggle input:checked~.menu-btn span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle input:checked~.menu-btn span:nth-child(2) {
    opacity: 0;
}

.menu-toggle input:checked~.menu-btn span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.menu {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

.menu-toggle input:checked~.menu {
    opacity: 1;
    visibility: visible;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.menu li:last-child {
    border-bottom: none;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.menu a:hover {
    color: #4158d0;
}