.bio{
    display: flex;
    padding: 40px 10px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin: 20px;
    height: 60vh;
}

.bio .image-one {
    background-image: url('/data/img/author-2.jpg');
    background-size: 160%;
    background-position: 60% 45%;
}

.bio .image-two {
    background-image: url('/data/img/author.jpg');
    background-size: 160%;
    background-position: 60% 45%;
}

.bio .image-three {
    background-image: url('/data/img/author-3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0% 80%;
    height: 150% !important;
}

.bio .bio-image {
    height: 100%;
    width: 50%;
    border-radius: 2px;
}

.bio .bio-text {
    width: 50%;
    padding: 20px;
    font-family: "PT Sans Narrow", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.bio .text-one {
    font-size: 1.75rem;
    padding: 85px;
    text-align: justify;
    letter-spacing: 0.666px;
}

.bio .text-two {
    font-size: 1.55rem;
    padding: 85px;
    text-align: justify;
    letter-spacing: 0.666px;
}

.bio .text-three {
    font-size: 1.55rem;
    padding: 125px 40px 0px 40px;
    text-align: justify;
    letter-spacing: 0.666px;
}

.bio .text-three p{
    margin-bottom: 2px;
}

.bio .text-three ul{
    margin-top: 2px;
    list-style: none;
    padding-left: 0;
}

.bio .text-three ul li::before{
    content: "➳ "; 
    color: #333333e7;
}

.buttons{
    height: 25vh;
    align-items: center;
    display: flex;
    gap: 25%;
    margin: 250px 0 0 0;
    width: 100%;
    justify-content: center;
}
.buttons button, 
.buttons a button {
    background-color: #fefefe;
    color: #212121;
    border: 2px solid #212121;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buttons button:hover,
.buttons a button:hover {
    background-color: #212121ec; /* Darker blue on hover */
    transform: translateY(-2px);
    color: #fefefe;
}

.buttons button:focus,
.buttons a button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 102, 103, 0.5);
}

.modal-window {
    background: #fff;
    padding: 20px;
    width: 90%;
    height: 75%;
    position: relative;
    font-size: 1.3rem;
}

#artistModal{
    display:none; 
    position:fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background: rgba(0,0,0,0.5); 
    justify-content:center; 
    align-items:center;
}

#closeModal{
    position:absolute; 
    top:10px; 
    right:15px; 
    cursor:pointer; 
    font-weight:bold;
}

#closeModal::after {
    content: "X";
    display: inline-block;
}


@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .bio {
        padding: 0;
        display: block;
        height: auto;
    }

    .bio .bio-image {
        width: 100%;
        margin-bottom: 20px;
        padding: 20vh 0;
    }
    .bio .bio-text {
        width: 100%;
        padding: 10px;
        padding: 0;
        font-size: 1.55rem;
    }

    .about{
        margin-top: 30%;
    }

    .second{
        display: flex;
        flex-flow: column-reverse;
    }

    .bio .text-three ul li{
        margin-top: 15px;
    }
    .bio .text-three ul{
        font-size: 21px;
        margin-top: 2px;
        list-style: none;
        line-height: 1.8rem;
        padding-left: 0;
        text-align: right;
    }

    .buttons {
        height: 15vh;
        align-items: center;
        display: flex;
        gap: 20%;
        width: 100%;
        justify-content: center;
        flex-flow: column;
        margin: 50px 0;
    }

    .buttons button, .buttons a button {
        background-color: #fefefe;
        color: #212121;
        border: 2px solid #212121;
        padding: 12px 25px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 90%;
    }
    .buttons a {
        width: 100%;
        text-decoration: none;
        color: #212121;
    }

    .buttons a button {
        background-color: #fefefe;
        color: #212121;
        border: 2px solid #212121;
        padding: 12px 25px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 90%;
        margin-left: 5%;
    }

    .modal-window {
        background: #fff;
        padding: 20px;
        width: 90%;
        height: 75%;
        position: relative;
        font-size: 0.99rem;
        line-height: 1.4rem;
        overflow-y: scroll;
    }

    #closeModal{
        border-radius: 6px;
        background-color: #fefefe;
        color: #212121;
        border: 2px solid #212121;
        padding: 12px 25px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 50%;
        right: 18%;
        top: auto;
        bottom: 6%;
        text-align: center;
        position: fixed;
    }
    #closeModal::after {
        content: "CLOSE";
        display: inline-block;
    }
}