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

@font-face {
    font-family: "Iosevka";
    src: url("Iosevka/IosevkaTerm-Regular.woff2");
    }
    @font-face {
        font-family: "Iosevka Light";
        src: url("Iosevka/IosevkaTerm-Light.woff2");
        }
        @font-face {
            font-family: "Iosevka Extralight";
            src: url("Iosevka/IosevkaTerm-ExtraLight.woff2");
            }
            @font-face {
                font-family: "Iosevka Thin";
                src: url("Iosevka/IosevkaTerm-Thin.woff2");
                }
                @font-face {
                    font-family: "Regular Oblique";
                    src: url("Iosevka/IosevkaTerm-Oblique.woff2");
                    }
                    @font-face {
                        font-family: "Light Oblique";
                        src: url("Iosevka/IosevkaTerm-LightOblique.woff2");
                        }
                        @font-face {
                            font-family: "Extralight Oblique";
                            src: url("Iosevka/IosevkaTerm-ExtraLightOblique.woff2");
                            }
                            @font-face {
                                font-family: "Thin Oblique";
                                src: url("Iosevka/IosevkaTerm-ThinOblique.woff2");
                                }
                                @font-face {
                                    font-family: "Slab Extralight";
                                    src: url("Iosevka/IosevkaTermSlab-ExtraLight.woff2");
                                }
                                    @font-face {
                                        font-family: "Slab Light";
                                        src: url("Iosevka/IosevkaTermSlab-Light.woff2");
                                    }
                                        @font-face {
                                            font-family: "Slab Oblique";
                                            src: url("Iosevka/IosevkaTermSlab-Oblique.woff2");
                                        }
                                            @font-face {
                                                font-family: "Slab Regular";
                                                src: url("Iosevka/IosevkaTermSlab-Regular.woff2");
                                            }
                                                @font-face {
                                                    font-family: "Slab Thin";
                                                    src: url("Iosevka/IosevkaTermSlab-Thin.woff2");
                                                }
                                                    @font-face {
                                                        font-family: "Slab Thin Oblique";
                                                        src: url("Iosevka/IosevkaTermSlab-ThinOblique.woff2")
                                                    }
body, html {
    width: 100%;
    height: 100%;
    font-family: "Iosevka";
    color: whitesmoke;
}

/*FRONT PAGE*/

#homepage {
    display: flex;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    flex-flow: column nowrap;
    overflow-y: scroll;
    scroll-behavior: auto;
    justify-content: flex-start;
    align-items: center;
    z-index: 9999;
}

.navigation {
    position: sticky;
    top: 5%;
    z-index: 0;
}

.navigation ul {
    list-style: none;
}

.navigation li {
    display: inline;
    margin-top: auto;  
}

.navigation li a {
    font-family: "Slab Regular";
    color: whitesmoke;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    background: transparent;
    padding: 5px 5px;
}

.navigation li a:hover {
    text-decoration: none;
    color: rgb(138, 249, 255);
}

.photo {
    position: relative;
    top: 9%;
    width: 50%;
    height: 77%;
    justify-self: center;
    background-image: url('photo.jpg');
    background-position: flex-start;
    background-repeat: no-repeat;
    background-size: cover;
}

.titles {
    position: relative;
    text-align: right;
    padding: 40px;
}

.titles h1 {
    font-family: "Iosevka Thin";
    font-size: 5rem;
    margin-bottom: 0.6rem;
}

.titles h2 {
    font-family: "Iosevka Light";
    font-size: 1rem;
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.titles h4 a {
    font-family: "Iosevka Light";
    font-size: 1rem;
    color: rgb(138, 249, 255);
    text-decoration: none;
}

.titles h4 a:hover {
    text-decoration: none;
    color: whitesmoke;
}


#homepage #footer {
    font-family: "Iosevka";
    font-size: 0.8rem;
    color: whitesmoke;
    display: relative;
    margin-top: auto;
    text-align: center;
    margin-bottom: 2%;
}

/*BIO*/

#bio {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: flex-start;
    width: 100%;
    margin-top: 10%;
}

.writing {
    position: relative;
    max-width: 50%;
    text-wrap: wrap;
    margin-right: 10px;
}

.writing p {
    position: relative;
    width: 100%;
    font-family: "Iosevka";
    font-size: 1rem;
    color: whitesmoke;
    overflow-x: wrap;
    margin-bottom: 8px;

    & a {
        text-decoration: none;
        color:rgb(138, 249, 255);
    }

    & a:hover {
        color: whitesmoke;
    }
}

.gallery {
    display: flex;
    flex-flow: column nowrap;
    margin-top: auto;
    justify-content: flex-start;
    align-items: center;
}

.gallery figure {
    padding: 15px;
}

.gallery figure img {
    max-width: 400px;
    border-style: solid;
    border-width: 1px;
    border-color:rgba(138, 249, 255, 0.535);
    padding: 5px;
}

.gallery figcaption {
    text-align: center;
    font-family: "Slab Regular";
    font-size: 0.8rem;

    & i {
        color: lightgrey;
    }
}

#bio #footer {
    position: relative;
    width: 100%;
    margin-top: auto;
    font-family: "Iosevka";
    font-size: 0.8rem;
    color: whitesmoke;
    text-align: center;
}

.albums #footer {
    position: relative;
    margin-top: auto;
    width: 100%;
    font-family: "Iosevka";
    font-size: 0.8rem;
    color: whitesmoke;
    text-align: center;
}

.albums {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10%;
    overflow-y: scroll;
}

.figures {
    position: relative;
    margin: 20px;
    
    & a {
        text-decoration: none;

        & img:hover {
            border: solid;
            border-width: 1px;
            border-color: rgb(138, 249, 255);
        }
    }

    & img {
        max-width: 300px;
        padding: 3px;
    }

    & figcaption {
        font-family: "Slab Regular";
        font-size: 0.8rem;
        color: whitesmoke;
        text-align: center;
        text-wrap: wrap;

        & i {
            color:rgb(138, 249, 255);
            font-size: 0.7rem;
        }
    }
}



.contact {
    position: relative;
    margin-top: auto;
    width: 100%;
    align-items: center;
    text-align: center;
}

.contact h1 {
    font-size: 1rem;
    margin-bottom: 5%;
    padding: 20px;
}

.contact p {
    color:rgb(138, 249, 255);
    margin-bottom: 10%;
    padding: 10px;
}

.piano {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    height: 100%;
    margin-top: 15%;
    overflow-y: wrap;
    overflow-x: scroll;
    scroll-behavior: auto;
    justify-content: space-between;
}

.piano .info {
    position: relative;
    width: 50%;
    padding: 10px;
    text-align: left;

    & h1 {
        font-family: "Slab Oblique";
        font-size: 1rem;
        margin-bottom: 10px;
        padding-left: 5%;
    }

    & p {
        font-family: "Iosevka Light";
        font-size: 1rem;
        margin-bottom: 10px;
        padding-left: 5%;
    }
}

.piano .pianopic {
    position: relative;
    margin-right: 5%;
    margin-left: 5%;

    & img {
        position: relative;
        max-width: 600px;
        padding: 5px;
        border-style: solid;
        border-width: 1px;
        border-color:rgba(138, 249, 255, 0.566);
    }
}

.piano #footer {
    position: relative;
    width: 100%;
    margin-top: auto;
    font-family: "Iosevka";
    font-size: 0.8rem;
    color: whitesmoke;
    text-align: center;
}