* {
    font-family: cursive;
    color: #ffffff;
    margin: 0;
}

body {
    background-image: radial-gradient(circle, #a88551, #8e6e40, #745730, #5c4220, #442e11);
    overflow-x: hidden;
    width: 100%;
}

#container {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

.name-child {
    color: #ffffff;
    text-align: center;
    margin: 5px;
    font-size: 6em;
    flex-basis: auto;
    text-shadow: 0 0 8px #C69F66;
    text-decoration: 2px underline;
}

#neslon-img {
    padding: 0px;
    margin: 30px 0px 30px 0px;
    width: 60%;
    min-width: 400px;
    height: auto;
    box-shadow: 0px 0px 10px #888888;
}

#achivement {
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 4em;
    flex-basis: auto;
    align-self: flex-start;
    text-shadow: 0 0 8px #C69F66;
    text-decoration: 2px underline;
}

#gallery {
    width: 100%;
}

.sub-gallery {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.sub-gallery > div:nth-child(1) {
    background-color: #C69F66;
    flex: 3;
}

.sub-gallery > div:nth-child(2) {
    background-color: #B08752;
    flex: 1;
}

.gallery-items{
    margin: 10px;
    padding: 10px;
    height: 200px;
    text-align: center;
    color: #ffffff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px #888888;
}

.gallery-items > p {
    font-size: 2em;
}

#quote{
    margin: 10px;
    padding: 10px 30px;
    font-size: 1.7em;
    text-align: center;
    border: 2px solid black;
    border-radius: 20px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px #888888;
}

#quote > p:nth-child(1) {
    font-family: 'Satisfy', cursive;
}

#quote > p:nth-child(2) {
    align-self: flex-end;
}

@media (min-width: 1100px) {
    .sub-gallery:nth-child(2n+1) {
        flex-flow: row nowrap;
        width: 100%;
    }
    .sub-gallery:nth-child(2n) {
        flex-flow: row-reverse nowrap;
    }
}

@media (max-width: 1099px) {
    #gallery *{
        font-family: 'STIX Two Text', serif;
    }

    .sub-gallery {
        flex-flow: column-reverse nowrap;
    }

    @media (max-width: 899px) {
        #achivement {
            align-self: inherit;
        }
    }
}
