body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f9f9f9;
    background-image: url(images/background.jpg);
    background-position: center;
    background-size: cover;
}

h1 {
    text-align: center;
    font-size: 70px;
    font-family: Skranji;
    color: #fdfdfd;
    text-shadow: 0 0 10px #000000, 0 0 15px #10102c;
}

h2,
p {
    font-family: Faculty Glyphic;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-item {
    display: flex;
    align-items: flex-start;
    background-color: #e0e0e0;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px #3d3a3a, 0 0 15px #523d3d;
    ;
    gap: 20px;
    max-width: 60%;
    margin: 0 auto;
    transition: transform 1s ease;
}

.list-item:hover {
    transform: scale(1.06);
}

.profile-pic {
    width: 155px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.list-item-text {
    display: flex;
    margin: auto;
    flex-direction: column;
}

.list-item-text h2 {
    margin: 0 0 10px 0;
}

.list-item-text p {
    margin: 5px 0;
}


/*media screens*/

@media (max-width: 1200px) {
    h1 {
        font-size: 60px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 50px;
    }
}

@media (max-width: 770px) {
    h1 {
        font-size: 40px;
    }

    .list-item {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .list-item-text {
        margin: 5px 0 20px 0;
    }

    .profile-pic {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 32px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 20px;
    }
}