/*
color Scheme:
background: #262626, rgb(38, 38, 38)
accent: #0a731a, rgb(10, 115, 26)
accent darker: rgb(13, 40, 24)
*/
@import url("https://fonts.googleapis.com/css2?family=Michroma&family=Outfit:wght@100..900&display=swap");

/*Mobile*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: rgb(10, 115, 26, 70%);
    color: #d6eff7;
}

html {
    font-size: 18px;
    font-family: "Outfit", sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: rgb(38, 38, 38);
    position: relative;
    min-height: 100vh;
    padding-bottom: 130px;
}

h1,
h2 {
    font-family: "Michroma", sans-serif;
    text-transform: uppercase;
}

header {
    position: relative;
}

header aside {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 115, 26, 50%);
    background-image: url("../Images/Header.jpg");
    background-size: cover;
    background-position: top center;
    filter: blur(2px) grayscale(50%) opacity(50%);
    clip-path: inset(0 0 3px 0);
}

header div {
    position: relative;
    bottom: 0;
    padding: 2rem;
    padding-top: 1rem;
    text-align: center;
    background-color: transparent;
}

header h1,
header p {
    color: #d6eff7;
    background-color: transparent;
    text-shadow: 0 0 10px rgba(0, 0, 0, 100%);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 130px;
    background-color: black;
    text-align: center;
}

footer a {
    display: inline-block;
    text-decoration: none;
    color: #d6eff7;
    background-color: rgba(13, 40, 25, 100%);
    padding: 1rem;
    margin: 1rem 0.5rem;
    border-radius: 5px;
}

footer a:focus,
footer a:hover,
.container > p > a:focus,
.container > p > a:hover {
    color: rgb(13, 40, 25);
    background-color: #d6eff7;
    box-shadow: 0 0 10px rgba(0, 0, 0, 100%);
}

footer a:active,
.container > p > a:active {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 100%);
    position: relative;
    top: 2px;
}

footer > p {
    margin: 1rem;
    margin-top: 0;
}

footer p span {
    color: #d6eff7;
    background-color: transparent;
}

.projects article {
    background-color: rgba(20, 20, 20, 80%);
    color: #d6eff7;
    margin: 1rem;
    border-radius: 5px;
    align-content: center;
}

.projects article h2 {
    margin: 1rem;
}

.projects article p {
    margin: 1rem;
}

.projects article h2 {
    text-align: center;
}

.projects figure {
    margin: auto 1rem;
    position: relative;
}

.projects figure div {
    background-color: rgba(0, 0, 0, 0.5);
    color: #d6eff7;
    font-weight: bold;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 1s;
    border-radius: 5px;
}

.container > p {
    margin: 2rem;
    text-align: center;
}

.container > p > a {
    color: #d6eff7;
    background-color: rgb(13, 40, 24);
    padding: 1rem;
    margin: 1rem;
    border-radius: 5px;
    text-decoration: none;
}

.bold {
    font-weight: bold;
}

/*Medium Screens Breakpoint chosen from Bootstrap 5*/
@media screen and (min-width: 768px) {
    .projects figure {
        float: left;
        max-width: 20rem;
        margin: 1rem;
        margin-top: 0;
    }

    .projects article:nth-child(2) figure {
        float: right;
    }

    .clearfix {
        overflow: auto;
    }
}

/*large Screens Breakpoint chosen from Bootstrap 5*/
@media screen and (min-width: 992px) {
    header {
        padding-bottom: 2rem;
        clip-path: polygon(0 0, 0 75%, 50% 100%, 100% 75%, 100% 0);
    }

    .container {
        max-width: 992px;
        margin: 1rem auto;
    }

    .projects article {
        max-width: 29.5%;
        float: left;
    }

    .projects article figure {
        float: none;
    }

    .projects figure:hover div {
        opacity: 1;
    }

    .title {
        overflow: visible;
    }
}
