body {
    margin: 8vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: "Arvo", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3vh;
    text-align: center;
}

img {
    width: 50vh;
    height: 50vh;
}

#last-sock-container {
    position: relative;
    width: 50vh;
    height: 50vh;
}

#last-sock-container>img {
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
}

#sock {
    opacity: 1;
    animation: fadeAnimation;
    animation-timeline: view();
    animation-range: entry 80% cover 60%;
    animation-direction: reverse;
    animation-fill-mode: forwards;
}

#stocking {
    opacity: 0;
    animation: fadeAnimation;
    animation-timeline: view();
    animation-range: entry 80% cover 60%;
    animation-fill-mode: forwards;
}

@keyframes fadeAnimation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 16vh;
    height: 8.8vh;
    margin-top: 5vh;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #c62828;
    transition: 0.4s;
    border-radius: 3.4vh;
}

.slider:before {
    position: absolute;
    content: "";
    height: 6.8vh;
    width: 6.8vh;
    left: 1vh;
    bottom: 1vh;
    background: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: #0a5c0a;
}

input:checked+.slider::before {
    transform: translateX(7.2vh);
}

.how-section {
    width: 100%;
    background: #111;
    color: white;
    padding: 6vh 2vh 8vh;
    margin-top: 65vh;
}

.how-title {
    text-align: center;
    font-size: 3.6vh;
    font-weight: 700;
    margin-bottom: 4vh;
}

.how-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4vh;
}

.how-step {
    text-align: center;
    max-width: 30vh;
}

.how-step img {
    width: 100%;
    max-width: 30vh;
    margin-bottom: 1.6vh;
}

.how-step p {
    margin: 0;
    font-size: 20px;
}