@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat&family=Poppins:ital,wght@0,400;1,500&display=swap');

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

html {
    font-size: 25px;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color:rgb(210, 228, 247);
    justify-content: space-between;
}

#return {
    position:fixed;
    background-color: rgb(59, 124, 189);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    width: 110px;
    height: 110px;
    padding: 10px;
    border-radius: 50%;
    left: 85%;
    top: 80%;
    cursor: pointer;
    opacity: 0;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

#return.show {
    opacity: 1;
    visibility: visible;
}

footer{
    width: 100%; 
    background-color: rgb(54, 97, 139);
}

.banner, footer {
    color: white;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vmin;
}

#gallery-nav {
    width: 100%;
}

.logo > img {
    width: 5rem;
    height: auto;
    box-shadow: none;
}

.logo:hover {
    cursor:pointer;
}

img, .banner, button {
    border-radius: 5px;
}

p {
    font-size: 1.2rem;
}

p, .pics {
    margin: 5vmin;
}

.banner {
    background-color: rgb(2, 41, 80);
    padding: 0.3rem;
    font-size: 1.5rem;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

.button {
    display: block;
    color: white;
    background-color: rgb(59, 124, 189);
    background-image: radial-gradient(rgb(96, 176, 255), rgb(0, 77, 155));
    padding: 0.5em;
    font-size: 2rem;
    width: -moz-fit-content;
    width: fit-content;
    margin: 3rem auto;
    text-align: center;
    border: none;
    text-decoration: none;
}

.button:hover {
    color: rgb(2, 41, 80);
    background-image: radial-gradient(white, rgb(62, 158, 255));
    box-shadow: 0.75vmin 0.75vmin 5px rgb(0, 77, 155);
    font-weight: bold;
}

.pics {
    display: flex;
    flex-direction: column;
    gap: 3vw;
}

.row {
    width: 100%;
    align-self: center;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

img {
    height: 40vmax;
    width: auto;
    box-shadow: 5px 5px 10px rgb(41, 48, 88);
}

.photo {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 2s ease;
}

.photo.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    font-size: 0.75rem;
    background-color: slategrey;
    text-align: center;
    padding: 2vmax;
    background-image: radial-gradient(rgb(2, 41, 80), rgba(54, 97, 139, 0.75));
}


@media (max-width: 700px) {
    #return {
        font-size: 0.65rem;
        font-weight: bold;
        width: 90px;
        height: 90px;
        padding: 5px;
        left: 70%;
        top: 82%;
    }
    header {
        gap: 7vmax;
    }
    p {
        font-size: 5vmin;
        margin: 5vmin 2vmin;
        text-align: center;
    }
    .row {
        gap: 3vw;
    }
    img {
        width: 95%;
        height: auto;
    }
    .button {
        font-size: 1.25rem;
    }
}