:root {
    /* Other colors */
    --woof-black: #171717;

    /* Theme */
    --bg-color: #050A0F;
    --text-color: whitesmoke;
    --highlights: #04BF68;
}

@font-face {
    font-family: 'Roboto', sans-serif;
    src: url('Roboto.ttf');
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

/* body has margin and padding by default, so reset them */
body {
    margin: 0;
    padding: 0;

    overflow-x: clip;
    background-color: var(--bg-color);

    font-family: roboto, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

head a {
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
}

/* Header */

.head {
    width: 100%;
    color: var(--text-color);
    margin-block: 1rem;
}

.bdcontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.name {
    justify-content: inherit;
    display: flex;
    width: 50%;
    min-width: fit-content;
}

nav {
    justify-content: inherit;
    display: flex;
    width: 50%;
    min-width: fit-content;
    gap: 1rem;
}

nav a:hover {
    opacity: 50%;
    color: var(--highlights);
}

nav a {
    align-self: center;
}

/* Footer */

.foot {
    width: 100%;
    justify-content: center;
    color: var(--text-color);
}

/* Body */

.splash {
    margin-block: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    color: var(--text-color);
}

.hero {
    width: 80vw;
    justify-content: center;
    display: grid;
    grid-auto-columns: 50%;
}

.heroimg {
    min-width: 25rem;
    max-width: 670px;
    padding-inline: 5rem;
    justify-self: center;

}

.heroimg img {
    max-width: 100%;
    width: auto;
    height: auto;

    transition: filter 0.7s ease;
}

.heroimg img:hover {
    filter: unset;
    filter: drop-shadow(3rem 2rem #04BF68) drop-shadow(3rem 2rem #03A65A) drop-shadow(3rem 2rem #155939) !important;
}

.about {
    display: flex;
    flex-direction: column;

    margin-inline: 5rem;
    padding-top: 10%;
    grid-column: 2;
    font-size: 2rem;
}

.about h1 {
    font-size: 4rem;
}

.about a,
.photos a,
.coding a,
.admin a {
    font-weight: 600;
    color: var(--highlights);
}

.about a:hover,
.photos a:hover,
.coding a:hover,
.admin a:hover {
    opacity: 50%;
}

#discord:after {
    content: 'Discord!';
}

#discord:hover:after {
    content: 'HyperionSkunk#3621';
}

#discord:hover{
    cursor: pointer;
}

@media only screen and (max-width: 1500px) {
    .about {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        margin-inline: 0rem;
        padding-top: 0%;

    }

    .hero {
        grid-auto-columns: 100%;
    }

    .heroimg {
        padding-inline: 0;
    }

    .gallery,
    .image {
        visibility: hidden;
        height: 0px;
        width: 0px;
    }

    .portcontainer {
        display: flex;
        flex-direction: column;
    }

    .photos,
    .coding,
    .admin {
        display: block !important;
    }
}

body p {
    color: var(--text-color);
}

.photos h1,
.coding h1,
.admin h1 {
    color: var(--text-color);
    font-size: 3rem;
}

.portcontainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-inline: 10vw;
    margin-block: 5rem;
    gap: 5rem;
}

.photos,
.coding,
.admin {
    display: grid;
    grid-auto-columns: 50%;
}

.photos .text,
.admin .text {
    grid-column: 2;
    align-self: center;
}

.gallery {
    justify-content: center;
    justify-self: flex-end;
    max-height: 50vh;
    max-width: 35vw;
    object-fit: cover;
    margin-inline: 3rem;
    display: flex;
    aspect-ratio: 1;
    align-self: center;
}

#gallery {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    width: -moz-available;
    height: -moz-available;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    aspect-ratio: 1/1;
}

#gallerylink {
    max-width: 100%;
    max-height: 100%;
}

.coding img,
.admin img {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    width: -moz-available;
    height: -moz-available;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    aspect-ratio: 1/1;
}

.coding .image {
    background-image: url(assets/img/thumb/filler1.jpg);
    background-size: cover;
    background-position: center;

    grid-column: 2;

    aspect-ratio: 1;
    object-fit: cover;
    max-width: 35vw;
    max-height: 50vh;

    margin-inline: 3rem;
    align-self: center;
}

.coding .text {
    align-self: center;
    text-align: right;
}

.admin .image {
    background-image: url(assets/img/thumb/filler2.jpg);
    background-size: cover;
    background-position: center;

    grid-column: 1;

    aspect-ratio: 1;
    object-fit: cover;
    max-width: 35vw;
    max-height: 50vh;

    margin-inline: 3rem;
    align-self: center;
}

.portcontainer p {
    font-size: 2rem;
}

.portcontainer img {
    border-radius: 1rem;
}

.linkscontainer {
    display: grid;
    grid-auto-columns: 33vw;
}

.linkspage {
    display: flex;
    flex-direction: column;
    min-width: 40vw;
    grid-column: 2;
    gap: 2rem;
    justify-self: center;
}

.linkspage .entry {
    display: grid;
    justify-content: center;
    background-color: white;
    border-radius: 1rem;
    padding: 2vh;
}

.discordhover h1:after {
    content: 'Discord';
}

.discordhover h1:hover:after {
    content: 'HyperionSkunk#3621';
}

.linkspage .entry:hover {
    opacity: 50%;
    cursor: pointer;
}

@media only screen and (max-width: 800px) {
    .linkspage {
        min-width: 22rem;
    }
}

@media only screen and (min-width: 5120px) {
    .linkspage {
        min-width: 33vw;
    }
    .title {
        font-size: .5vw;
    }
}

@media only screen and (min-height: 2262px) {
    .linkspage {
        min-width: 33vw;
    }
    .title {
        font-size: 1vh;
    }
}