@import url('https://fonts.googleapis.com/css2?family=Amatic+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
/* The fonts above were imported from google fonts  */

:root {
    --background-color: #484848;
    --foreground-color: rgb(247, 245, 241);
    --font-color: black;
}

* {
    text-align: center;
    margin: 0;
    padding: 0;
    color: black;
    flex-wrap: wrap;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

header {
    background-color: var(--foreground-color);
    margin-bottom: 10px;
    box-shadow: black 0 10px 10px;
    border: black;
    border-style: solid
}

header ul {
    text-align: right;
    margin-right: 10px;
}

nav ul li {
    display: inline-flex;
    font-weight: bolder;
    margin: 10px;
    font-family: 'Amatic SC', cursive;
    font-size: 25px;
}

main {
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 10px;
}

body {
    background-color: var(--background-color);
    margin: 50px;
    height: 208px;
}

content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: var(--foreground-color);

}

.subject {
    margin: 20px;
    background-color: var(--foreground-color);
    padding: 10px;
    box-shadow: black 0 10px 10px;
    border: black;
    border-style: solid;
}

h1 {
    font-family: 'Amatic SC', cursive;
    font-size: 70px;
    text-align: center;
    flex-wrap: wrap;
    font-weight: bold;
    text-decoration: underline;
}

h2 {
    font-family: 'Amatic SC', cursive;
    font-weight: bold;
    font-size: 45px;
    margin-bottom: 15px;
    text-decoration: underline;
    padding: 10px;
}

h3 {
    margin: 15px;
    font-size: 13px;
}

#aboutme-potrait {
    width: 22%;
    box-shadow: black 0 5px 5px;
    border-radius: 10px;
}

#about-me p {
    font-size: 17px;    
    font-family: 'Abel', sans-serif;
    
}

/* conatins both images used in the work section  */
#work img {
    width: 35%;
    height: 45%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: black 0 2px 2px;
    border-radius: 10px;
    margin: 5px;
    border: black;
    border-style: double;
    display: inline;
    flex-wrap: wrap;
}


#work {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#contact {
    margin: 20px;
    background-color: var(--foreground-color);
    padding: 10px;
    box-shadow: black 0 10px 10px;
    justify-content: center;
    overflow-wrap: break-word;
    border: black;
    border-style: solid;
}

#contact p {
    margin: 30px;
    font-size: 20px;
    font-family: 'Abel', sans-serif;
}

footer {
    background-color: var(--foreground-color);
    bottom: 0px;
    box-shadow: black 0 10px 10px;
    border: black;
    border-style: solid;
}

footer ul {
    text-align: center;
    bottom: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px;
}

footer ul li {
    display: inline;
    font-weight: bolder;
    font-family: 'Amatic SC', cursive;
    font-size: 30px;
    justify-content: space-evenly;
}

@media screen and (max-width: 768px) {

    header,
    footer {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    footer li {
        margin: 20px;
        text-align: center;
        justify-content: center;

    }

    img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

