* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
    line-height: 1.5;
    color: rgb(84, 51, 109);
}

body {
    position: relative;
}

main {
    padding: 2em 2em 0 2em;
}

ul {
    list-style: none;
}

h1, p {
    margin-bottom: 1em;
}

h1 {
    text-align: center;
    width: fit-content;
    left: 0;
    margin-left: 0;
}

h1:not(header h1) {
    background: linear-gradient(to left, rgb(88, 160, 255), rgb(255, 79, 234));
    background-clip: text;
    color: transparent;
    font-weight: bolder;
    font-weight: 800;
    font-size: 2em;
    margin-left: 1.5em;
}

section {
    padding-bottom: 4em;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    margin-top: 1em;
    z-index: 1024;
}

a {
    text-decoration: none;
    color: rgb(54, 54, 54);
    font-weight: bold;
}

nav > ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    background-color: rgba(143, 143, 143, 0.463);
    backdrop-filter: blur(8px) contrast(2.0);
    border-radius: 2em;
    width: fit-content;
    margin: auto;
    position: relative;
    min-height: 2em;
}

nav li {
    margin-top: 0.05em;
}

nav a {
    color: rgb(255, 255, 255);
}

header {
    height: 13em;
    max-width: 100%;
    background-image: url("assets/banner.jpg");
    background-size: cover;
    background-position: center;
}

header > div {
    position: relative;
    height: 100%;
    backdrop-filter: blur(5px) contrast(1.1);
}

header h1 {
    font-size: 2em;
    color: white;
    background-clip:unset;
    position: absolute;
    font-size: 2.5em;
    bottom: 0;
    margin-bottom: 1em !important;
    text-align: center;
    width: 100%;
}

nav li a {
    padding: .5em;
    border-radius: 2em;
    background: rgba(1, 1, 1, 0.0);
    min-width: 100%;
    display: block;
    transition: all .25s ease-out;
}

nav li a:active, nav li a:hover {
    background: linear-gradient(to left, rgb(88, 160, 255), rgb(255, 79, 234));
    box-shadow: 0 0 10px rgb(130, 88, 255);
    color: white;
    transition: all .25s ease-out;
}

#contact ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-direction: column;
    align-items: center;
    align-content: space-around;
    gap: 1em;
}

#contact a {
    font-size: 1.5em;
    font-weight: bold;
    transition: all 0.25s ease-in-out;
}

#contact a:hover {
    text-shadow: 0 0 20px rgb(113, 113, 113);
    transition: all 0.25s ease-in-out;
}

#linkedin a {
    background: linear-gradient(to left, rgb(42, 78, 255), rgb(79, 167, 255));
    background-clip: text;
    color: transparent;
    transition: all 0.25s ease-in-out;
}

#linkedin a:hover {
    text-shadow: 0 0 20px rgb(90, 148, 255);
    transition: all 0.25s ease-in-out;
}

#instagram a {
    background: linear-gradient(to left, rgb(255, 42, 177), rgb(255, 190, 49));
    background-clip: text;
    color: transparent;
    transition: all 0.25s ease-in-out;
}

#instagram a:hover {
    text-shadow: 0 0 20px rgb(255, 147, 214);
    transition: all 0.25s ease-in-out;
}

#artstation a {
    background: linear-gradient(to left, rgb(19, 196, 255), rgb(31, 47, 61));
    background-clip: text;
    color: transparent;
    transition: all 0.25s ease-in-out;
}

#artstation a:hover {
    text-shadow: 0 0 20px rgb(97, 133, 199);
    transition: all 0.25s ease-in-out;
}

.reas {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.intro img {
    margin: auto;
    max-width: max(15vw, 200px);
    display: block;
    align-self: center;
}

/* Desktop */
@media only screen and (min-aspect-ratio: 3/4) and (min-width: 900px) {
    main{
        max-width: max(1280px, 80%);
        margin: auto;
        padding: 4em 4em 0 4em;
    }
    .reas {
        display: grid;
        gap: 2em;
        grid-template-columns: 1fr 1fr;
    }
    .rea:hover {
        padding-top: -10em;
        max-height: 50em;
        border-radius: .5em;
        aspect-ratio: .9 !important;
        transition: all .5s ease-out;
    }
    header {
        height: 384px;
    }
    header h1 {
        font-size: 6em;
    }
    h1:not(header h1) {
        font-size: 3em;
        margin-left: 0;
    }
    #contact ul {
        flex-direction: row;
    }
}

.rea {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 1em;
    transition: all .5s ease-out;
    aspect-ratio: 16/9;
    background-color: rgb(245, 245, 245);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.rea:hover {
    padding-top: -10em;
    max-height: 50em;
    aspect-ratio: 9/16;
    border-radius: .5em;
    transition: all .5s ease-out;
}

.rea:hover .reapreview {
    transform: translateX(-100%);
    border-radius: 10em;
    opacity: 0;
    width: 5em;
    height: 5em;
    transition: all .25s ease-out;
}

.reapreview {
    position: absolute;
    z-index: 8;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0em;
    transition: all .25s ease-out;
}

.reapreview img, .readetails img, .readetails iframe, .readetails video {
    width: 100%;
    aspect-ratio: 16/9;
}

.reapreview h3 {
    position: absolute;
    top: .5em;
    left: 1em;
    font-weight: bold;
    border-radius: .5em;
    backdrop-filter: blur(8px);
    padding: .25em;
    color: white;
    background-color: rgba(154, 154, 154, 0.268);
}

.reapreview i {
    color: white;
}

.readetails {
    padding: 1em 1em 2em 1em;
    overflow: scroll;
    overflow-x: auto;
    position: relative;
    height: 100%;
}

.readetails h3 {
    margin: 1em;
}

.readetails img, .readetails iframe, .readetails video {
    border-radius: 1em;
}

.readetails a {
    background-color: rgb(39, 39, 39);
    color: white;
    padding: 0.75em 1em .75em 1em;
    border-radius: 0.5em;
    margin: 1em;
    margin-bottom: 4em;
    transition: all .25s ease-out;
}

.readetails a:hover {
    transform: translateX(1em);
    box-shadow: 0 0 8px black;
    transition: all .25s ease-out;
}

.readetails p {
    margin: 1em;
    margin-bottom: 2em;
}