/* element styling */
body {
    background-color: #040C34;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    display: flex;
}

footer {
    background-color: #0A11DA;
    margin-top: auto;
}

h1 {
    color: #D99D64;
    font-size: 65px;
    font-family: "Odibee Sans", sans-serif;
    margin-bottom: 0.5%;
    margin-top: 5%;
    text-align: center;
}

p {
    color: #ebdece;
    font-size: 25px;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-align: center;
    
}

figcaption {
    color: #ebdece;
    font-size: 25px;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-align: center;
    margin-top: 8%;
}

footer > p{
    margin-left: 2%;
    margin-right: 2%;
}

/* id styling */
#logo {
    flex: 1 1 0;
}

#logo img {
    width: 100%;
}

#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5%;
}

#portfolio {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5%;
    flex-wrap: wrap;
}

#portfolio>* {
    flex: 1 1 25%;
}

#portfolio img{
    width: 100%;
    height: auto;
    box-shadow: 15px 15px 0px rgba(10, 17, 218, 1);
    transition: transform 0.3s ease-in-out;
    min-width: 100px;
}

#portfolio img:hover,
#portfolio img:focus {
    transform: scale(1.05);
}

#about {
    display: flex;
    flex-direction: row;
    margin-left: 2%;
    margin-right: 2%;
    align-items: center;
}

#about img {
    width: 100%;
    height: auto;
}

#about div {
    flex: 1 1 35%;
}

#about p {
    margin-left: 5%;
    flex: 1 1 65%;
    text-align: left;
}

/* link styling */
a:link {
    color: #0A11DA;
}

a:visited {
    color: #DAA589;
}

a:hover,
a:focus {
    background-color: #021157;
}

a:active {
    color: #ebdece;
    background-color: #0A11DA;
}

/* alternate styling at low screen size */
@media screen and (max-width: 900px) {

    p,
    figcaption {
        font-size: 17px;
    }

    h1 {
        font-size: 40px
    }

    #about {
        flex-direction: column;
    }

    #about img{
        max-width: 300px;
    }

    #portfolio img {
        width: 100%;
        height: auto;
        box-shadow: 7px 7px 0px rgba(10, 17, 218, 1);
    }
}

/* alternate styling at high screen size */
@media screen and (min-width: 1700px) {

    p,
    figcaption {
        font-size: 35px;
    }

    h1 {
        font-size: 85px
    }

    #portfolio img {
        width: 100%;
        height: auto;
        box-shadow: 17px 17px 0px rgba(10, 17, 218, 1);
    }
}

/* fonts */
.odibee-sans-regular {
    font-family: "Odibee Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.plus-jakarta-sans {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}