
#intro{
    font-size: 1.7em;
}

h1 {
    display: flex;
}

#profile-photo{
    width: 20%;
    height: auto;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-color);
    justify-self: center;
    align-self: center;
}

.slider-group{
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.slider {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
    max-width: 400px;
    min-width: 200px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    display: none;
    min-width: 100%;
    box-sizing: border-box;
}

.slide.active{
    display: inline;
}

.slide img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px var(--shadow-color);
    border-radius: 8px;
}

.caption {
    position: absolute;
    bottom: 10px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media screen and (max-width: 610px) {
    .slider-group{
        flex-direction: column;
    }

    h1{
        display: flex;
        flex-direction: column;
    }
}