:root {
    --offWhite: rgb(235, 250, 255);
    --lightBlue: rgb(209, 240, 250);
    --blueBlack: rgb(34, 154, 170);
    --darkBlue: rgb(22, 95, 124);
    --bubblegum: rgb(252, 112, 170);
}

@font-face {
    font-family: Kidpixies;
    src: url(fonts/Kidpixies.ttf);
}

@font-face {
    font-family: LcdSolid;
    src: url(fonts/LcdSolid.ttf);
}



::selection {
    color: var(--offWhite);
    background-color: var(--bubblegum);
}

body {
    font-family: LcdSolid;
    color: var(--blueBlack);
    background-color: var(--offWhite);
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

.page-container {
    background-color: var(--lightBlue);
    border-radius: 15px;
    margin: 20px;
}

.homepage {
    background-color: var(--lightBlue);
    background-image: url(media/background.png);
}

.title-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top:  50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: var(--offWhite);
    padding: 5%;
    border-radius: 10%;
    box-shadow: 0 0 15px rgba(38, 48, 107, 0.56);
}

.title-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title {
    font-family: Kidpixies;
    font-size: 60px;
    padding: 10px;
    padding-bottom: 2px;
    align-items: center;
}

.sub-head {
    padding: 0px;
    font-size: 20px;
}

.button {
    background-color: var(--blueBlack);
    color: var(--offWhite);
    padding: 9px;
    margin: 5px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--darkBlue);
}

.button-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.nav-bar {
    padding: 20px;
    margin: 10px;
}

.home-button {
    font-family: KidPixies;
    font-size: 40px;
    color: var(--blueBlack);
    transition: color 0.3s ease;
}

.home-button:hover {
    color: var(--darkBlue)
}

.nav-button {
    padding: 9px;
    margin: 5px;
    border-radius: 12px;
    color: var(--offWhite);
    background-color: var(--blueBlack);
    transition: background-color 0.3s ease;
    float: right;
}

.nav-button:hover {
    background-color: var(--darkBlue);
}

.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    

    img {
        border-radius: 100%;
        margin: 50px;
        box-shadow: 0 0 5px rgba(38, 48, 107, 0.56);
    }

    .about-body {
        padding: 20px;
        text-align: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        width: 600px;
    }

    div {
        margin: 5px;
        justify-content: center;
    }
}

@media screen and (max-width: 400px) {
    .about-me img {
        width: 100%;
    }
}
@media screen and (max-width: 1024px) {
    .about-me img {
        width: 400px;
    }
}

.header {
    font-family: KidPixies;
    font-size: 70px;
    text-align: center;
}

.works-container {
    display: flex;
    flex-direction: column;
    align-items: center;

    .header {
        margin: 40px;
    }
}

.works-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 5px;
    margin: 10px;
}

.works-item {
    margin: 10px;

    img {
        border-radius: 12px;
        height: 400px;
        transition: box-shadow 0.3s ease;
        transition: height 0.3s ease;
    }

    img:hover {
        box-shadow: 0 0 7.5px rgba(38, 48, 107, 0.56);
        height: 410px;
    }
}

.project {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;

    .header {
        margin: 40px;
    }
}

.images {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

video {
    width: 700px;
    border-radius: 15px;
}

.big {
    display: flex;
    margin: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    
     video {
        margin: 20px;
    }
}

.small {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    img {
        height: 300px;
        margin: 20px;
        border-radius: 12px;
        transition: box-shadow 0.3s ease;
        transition: height 0.3s ease;
    }

    img:hover {
        box-shadow: 0 0 7.5px rgba(38, 48, 107, 0.56);
        height: 310px;
    }
}

.project-description {
    margin: 20px;
    margin-bottom: 40px;
    align-items: center;
    text-align: center;
    justify-content: center;
    max-width: 600px;
}

.download {
    display: flex;
    align-items: center;
    padding: 5px;
}