body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 60px;

    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}




header {
    margin-bottom: 80px;
}

h1 {
    font-weight: normal;
    font-size: 28px;
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

nav a:hover {
    opacity: 0.5;
}

h2 {
    font-weight: normal;
    margin-bottom: 40px;
}

.home-link {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.home-link:hover {
    opacity: 0.6;
}



a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

a:hover {
    opacity: 0.6;
}

/* Center homepage image */

.home-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    /* controls vertical position */
}

.home-image {
    max-width: 100px;
    /* adjust size */
    width: 100%;
    height: auto;
}

.home-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.home-text {
    font-family: monospace;
    font-size: 10px;
    white-space: pre;
    text-align: center;
    line-height: 1.2;
    color: rgb(106, 102, 102);
}

/* Photography vertical feed */

.photo-feed {
    max-width: 800px;
    margin: 60px auto;
}

.photo-item {
    margin-bottom: 30px;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* SIDE MENU */

.side-menu {
    position: fixed;
    left: 20px;
    top: 10px;
    width: 120px;
}

.side-menu h1 {
    font-size: 12px;
    margin-bottom: 107px;
    font-weight: normal;
}

.side-menu a {
    display: block;
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin-bottom: 6px;
    font-size: 16px;
}

/* BIO PAGE CONTENT */

.bio-content {
    max-width: 600px;
    margin-left: 320px;
    /* pushes text away from side menu */
    margin-top: 140px;
    /* moves text slightly below menu */
    line-height: 1.6;
}

/* WORKS PAGE */

.works-feed {
    max-width: 850px;
    margin-left: 320px;
    margin-top: 120px;
}

/* each work block */

.work {
    margin-bottom: 180px;
}

/* title */

.work-title {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 30px;
    text-align: left;
}

/* images */

.work-images img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* info text */

.work-info {
    font-size: 16px;
    color: #ffffff;
    margin-top: 10px;
}

.work-info p {
    margin: 4px 0;
}

/* CAROUSEL */

/* HORIZONTAL CAROUSEL */
.carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 650px;
    margin-bottom: 20px;
    overflow: hidden;
}

.carousel .carousel-images {
    width: 100%;
    height: 100%;
}

.carousel .carousel-images img {
    display: none;
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.carousel .carousel-images img.active {
    display: block;
}




/* VERTICAL CAROUSEL */
.vertical-carousel {
    position: relative;
    width: 400px;
    height: 600px;
    margin: 0 auto 20px auto;
    overflow: hidden;
}

.vertical-carousel .carousel-images {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.vertical-carousel .carousel-images img {
    display: none;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.vertical-carousel .carousel-images img.active {
    display: block;
}



.carousel,
.vertical-carousel {
    cursor: e-resize;
}

.carousel:hover,
.vertical-carousel:hover {
    cursor: e-resize;
}

@media (max-width: 768px) {

    body {
        margin: 20px;
    }

    .layout {
        display: flex;
        flex-direction: column;
    }

    .side-menu {
        position: static;
        width: 100%;
        margin-bottom: 30px;
    }

    .side-menu h1 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .side-menu nav a {
        display: inline;
        margin-right: 15px;
    }

    .works-feed {
        margin-left: 0;
        margin-top: 20px;
        max-width: 100%;
    }

    .bio-content {
        margin-left: 0;
        margin-top: 20px;
        max-width: 100%;
    }

    .works-list {
        margin-left: 0;
        margin-top: 20px;
        max-width: 100%;
    }

    .carousel {
        height: 250px;
    }

    .carousel .carousel-images img {
        height: 250px;
    }

    .vertical-carousel {
        width: 100%;
        height: 450px;
    }

    .vertical-carousel .carousel-images img {
        height: 450px;
        max-width: 100%;
    }

    .photo-feed {
        margin: 20px auto;
        max-width: 100%;
    }

    .clock {
        position: fixed;
        right: 20px;
        top: 10px;
        font-size: 11px;
        color: rgb(106, 102, 102);
        z-index: 9999;
        transform: translateY(0);
    }

    .home-text {
        font-size: 3px;
        line-height: 1.2;
    }

}



.clock {
    position: fixed;
    right: 20px;
    top: 10px;
    font-size: 16px;
    color: rgb(106, 102, 102);
    z-index: 9999;
    transform: translateY(0);
}


.colored-sentence {
    color: rgb(106, 102, 102);
    /* Оранжево-красный цвет */
}