body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgb(255, 255, 255);
    z-index: 1000;
    padding-left: 40px;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100%;
}

nav ul li {
    margin: 0 30px;
}

nav ul li a {
    color: rgb(133, 133, 242);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

nav ul li a:hover {
    color: rgb(240, 244, 113);
}

/* image */
.image-slider {
    position: relative;
    width: 100%;
    height: 50%;
    overflow: hidden;
    margin-top: 60px;
}

/* display */
.image {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 1s ease;
}

.image-slide {
    width: 50%;
    height: 100%;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* button */
label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: rgb(253, 247, 239);
    background-color: rgba(79, 78, 78, 0.3);
    padding: 5px;
    cursor: pointer;
    z-index: 100;
}

/* Left */
.prev {
    left: 10px;
}

/* Right */
.next {
    right: 10px;
}


/* imgs */
.image-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.image {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s ease;
}

/* Each slide's  */
.image-slide {
    width: 50%;
    height: 100%;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Control button */
#slide1:checked~.image {
    transform: translateX(0);
}

#slide2:checked~.image {
    transform: translateX(-50%);
}

input[type="radio"] {
    display: none;
}

/* pic don't move */
.fixed-image {
    width: 100%;
    height: 50%;
    overflow: hidden;
}

.fixed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
}

/* respond */
@media (max-width: 768px) {
    .fixed-image {
        height: 40%;
    }
}

@media (max-width: 480px) {
    .fixed-image {
        height: 30%;
    }
}