/* Lucas Hart */

/* Medium use of Google and Stack Overflow */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: large;
    line-height: 1.6;
    color: #999;
    background-color: #111;
    max-width: clamp(60vw, calc(45.5vw + 175px), 100vw); /* AI calculation - mostly works how i want it */
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 1px 1px #555;
    background-color: #222222D0;
    text-align: center;
    width: 70%;
    margin-left: 15%;
    margin-top: 30px;
    padding: 20px;
    border-radius: 3vmin;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

#name {
    box-shadow: 15px 0 10px -10px rgba(0, 0, 0, 0.4);
    margin-right: 20px;
    padding-right: 30px;
}

#description {
    text-align: left;
    margin-left: 20px;
}

.column {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
}

.row {
    /* got some help from lab instructor because I was having trouble getting text to vertically align to center */
    display: flex;
    align-items: center;
    justify-items: center;
}

#avatar {
    width: 15vh;
    height: 15vh;
    border-radius: 50%;
}

section {
    display: flex;
    flex-direction: column;
    padding-left: 34px;
    padding-right: 34px;
    padding-top: 22px;
    padding-bottom: 22px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 3vmin;
    background-color: #222222;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Taken inspiration from https://ayethuzaruo.github.io/110-s25-project2-demo3/ */
h2 {
    border-left: solid;
    border-width: 4px;
    border-left-color: #4682b4;
    margin-bottom: 10px;
    padding-left: 10px;
    transform: translateX(-14px);
}

.list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.listElem {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(20% - 20px); /* AI calculation */
    align-items: center;
    text-align: center;
    font-size: large;
    font-weight: 500;
    padding: 10px;
}

ul li {
    list-style-position: inside;
}

a {
    color: #4989b9;
    text-decoration: none;
}

.game-img {
    display: block;
    height: 150px;
    width: 100px;
    border-radius: 1.5vmin;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 109vh;
    object-fit: cover;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}