* { 
    box-sizing: border-box; 
    margin: 0;
}

body { 
    font-size: 18px; 
    font-family: 'Times New Roman', Times, serif; 
    color: #000000;
    background-color: #d4d4d4;
    overflow-x: hidden; 
}

header {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0;
    height: 80px;
    background: #ffffff;
    z-index: 1500;
}

.menu {
    height: 80px;
    max-width: 1500px; 
    margin: 0 auto; 
    padding: 0 20px;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
}

.menu img { 
    height: 80px; 
    width: auto; 
}

.switch {
    display: none;
}

.chocolate {
    width: 50px;
    height: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    position: relative;
    cursor: pointer;
    align-items: center;
    justify-items: center;
}

.chocolate span:not(.point) {
    width: 10px;
    height: 10px;
    background: #000000;
}

.chocolate span:not(.point), .point {
    transition: 0.9s ease;
}

.point {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #000000;
    transform: scale(0);
}

.switch:checked ~ .menu .chocolate span:not(.point) {
    opacity: 0;
    transform: scale(0);
}

.switch:checked ~ .menu .chocolate .point {
    opacity: 1;
    transform: scale(1);
}

.switch:checked ~ nav {
    max-height: 300px;
}

nav {
    top: 80px;
    left: 0;
    right: 0;
    background: #363636;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.2s;
}

nav a { 
    display: block; 
    padding: 10px; 
    color: #ffffff; 
    text-decoration: none; 
    font-weight: bold;
    text-align: center;
    font-size: 20px;
}

nav a:hover {
    background: #d4d4d4;
    color: #000000;
}

main { 
    margin: 0 auto;  
}

.page-header {
    background: #000000;
    padding: 200px 0;
}

.artist-name {
    font-size: 30px;
    line-height: 2;
    text-align: center;
    color: #ffffff;
}

.gallery-section {
    max-width: 1200px; 
    margin: 200px auto;
    text-align: center;
}

.window {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.train {
    display: flex;
    width: 100%; 
    transition: transform 1.5s;
}

.slide {
    flex: 0 0 100%;
    position: relative;
}

.slide img {
    width: 1000px;
    height: 1000px;
    border-radius: 10px;
    border: 3px solid #000000;
}

#p1:checked ~ .train { 
    transform: translateX(0); 
}

#p2:checked ~ .train { 
    transform: translateX(-100%); 
}

#p3:checked ~ .train { 
    transform: translateX(-200%); 
}

input[type="radio"] { 
    display: none; 
}

.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.dots label {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
    transition: 1.5s;
}

#p1:checked ~ .dots label[for="p1"], #p2:checked ~ .dots label[for="p2"], #p3:checked ~ .dots label[for="p3"] {
    background: #A2ADD0;
}

.work-title {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-align: center;
    width: 350px;
    height: 100px;
}

.work-title h5 { 
    font-size: 20px;  
}

.navigation-links {
    display: flex; 
    justify-content: space-between;
    margin: 50px 100px 0; 
}

.back, .next {
    color: #000000; 
    text-decoration: none;
    font-size: 20px; 
    font-weight: bold;
    padding: 10px 20px; 
    border: 2px solid #000000;
    border-radius: 10px; 
}

.back:hover, .next:hover {
    background-color: #363636; 
    color: #ffffff;
}

footer {
    background: #000000;
    padding: 60px 0 30px;
    color: #A2ADD0;
}

.top {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px 40px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-first {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin: 0 0 50px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.footer-second {
    flex: 1.5;
    min-width: 300px;
    text-align: center;
}

.footer-second h3 {
    color: #ffffff;
    margin: 0 0 20px;
    font-size: 20px;
}

.footer-second input[type="email"] {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background: transparent;
    border: 1px solid #A2ADD0;
    border-radius: 10px;
    color: #ffffff;
    margin: 0 0 20px;
    font-family: 'Times New Roman', Times, serif;
}

.footer-second .button-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #A2ADD0;
    color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Times New Roman', Times, serif;
}

.button img {
    width: 30px;
    height: 30px;
}

.footer-third {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-third a {
    color: #A2ADD0;
    text-decoration: none;
    font-size: 18px;
}

.bottom {
    border-top: 1px solid #363636;
    padding: 30px 0 0;
    text-align: center;
    font-size: 15px;
    margin: 0 0 5px;
}

@media (max-width: 1024px) {
    .artist-name {
        font-size: 40px;
        margin: 150px 0 0;
    }

    .slide img {
        height: 700px;
    }
}

@media (max-width: 768px) {
    body { 
        font-size: 15px; 
    }

    header, .menu {
        height: 60px;
    }
    
    .menu img {
        height: 50px;
    }
    
    .chocolate {
        width: 40px;
        height: 40px;
    }
    
    nav {
        top: 60px;
    }

    .page-header {
        padding: 150px 0 100px;
    }

    .artist-name {
        font-size: 32px;
        margin-top: 50px;
    }

    .gallery-section {
        margin: 100px 0;
    }

    .slide img {
        height: 600px;
        width: 600px;
    }

    .work-title {
        width: 35%;
        bottom: 40px;
        padding: 10px;
    }

    .work-title p { 
        font-size: 15px; 
    }

    .navigation-links {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .back, .next {
        width: 100%;
        text-align: center;
        font-size: 15px;
    }

    .top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-first, .footer-second, .footer-third {
        width: 100%;
        align-items: center;
    }

    .footer-logo { 
        height: 60px; 
        margin: 0 0 20px;
    }

    .social-icons { 
        justify-content: center; 
    }

    .footer-second .button-icons {
        flex-direction: column;
        align-items: center;
    }

    .button { 
        width: 100%; 
        max-width: 280px; 
        justify-content: center; 
    }

    .footer-third { 
        align-items: center; 
    }
}

@media (max-width: 480px) {
    body { 
        font-size: 10px; 
    }
    
    header, .menu {
        height: 50px;
    }
    
    .menu img {
        height: 40px;
    }
    
    .chocolate {
        width: 30px;
        height: 30px;
        gap: 2px;
    }
    
    .chocolate span:not(.point) {
        width: 6px;
        height: 6px;
    }
    
    .point {
        width: 20px;
        height: 20px;
    }
    
    nav {
        top: 50px;
    }
    
    nav a {
        font-size: 10px;
        text-align: left;
        padding: 0 0 20px;
    }

    .artist-name { 
        font-size: 20px; 
    }

    .slide img {
        height: 300px;
        width: 300px;
    }

    .work-title {
        bottom: 30px;
        height: 70px;
    }

    .work-title h5, .work-title p {
        font-size: 10px;
    }

    .dots {
        bottom: 10px;
    }
}