* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, h6, p, div {
    font-family: Jost, sans-serif;
    line-height: 1.6em;
    font-weight: normal;
    font-style: normal;
    color: #1f1f1f;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

#gallery {
    position: relative;
    width: 85%;
    max-width: 700px;
    margin: 20px auto;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

#gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#gallery img.active {
    opacity: 1;
}

div.content {
    padding: 20px;
}

.group {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.group > div {
    flex: 1;
}

.group img {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}

a, a:visited {
    color: blue;
    display: inline-block;
}

a:hover {
    color: #eb008b;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header img {
    height: 120px;
}

header nav {
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

header nav a, header nav a:visited {
    border: 1px solid #808080;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #eb008b;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

header nav a:hover {
    color: white;
    box-shadow: 0 4px 8px 0 rgba(100, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
    }

    header nav {
        flex-direction: column;
        padding-right: 0;
        align-items: center;
        padding-bottom: 20px;
    }

    .group {
        flex-direction: column;
    }
}

img.photo {
    width: 70%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    object-fit: cover;
}

img.photo, #gallery, .shadow {
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
