:root {
    --section-border-color: #6da0ff78;
}

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

html {
    background: linear-gradient(0deg, #0c0913 0%, #1f0e44 100%);
    color: white;
    font-family: "Open Sans";
    min-height: 100vh;
    scroll-behavior: smooth;
}

a {
    color: #6da0ff;
    font-weight: bold;
    text-decoration: none;
}

h1 {
    font-size: 26px;
    font-weight: normal;
    margin: 1rem 0 2rem;
}

ul {
    list-style-type: none;
}

.products {
    display: flex;
    flex-wrap: wrap;
}

.products > a {
    margin: 1rem;
}

.products > a > img { 
    width: 420px;
    max-width: 100%;
}

.companies {
    display: flex;
    flex-wrap: wrap;
}

.companies > a {
    margin: 1rem;
}

.companies > a > img {
    width: 320px;
    height: 75px;
    max-width: 100%;
}

.companies #activision {
    height: 100px;
    filter: invert(1);
    border-radius: 5px;
}




.underline-hover {
    background-image: linear-gradient(#ff0000, #ff0000);
    background-size: 0% 0.1em;
    background-position-y: 100%;
    background-position-x: 100%;
    background-repeat: no-repeat;
    transition: background-size 0.15s ease-in-out;
}
.underline-hover:hover, .underline-hover:focus, .underline-hover:active {
    background-size: 100% 0.1em;
    background-position-x: 0%;
}






header {
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

nav {
    display: flex;
    justify-content: center;
}

nav a {
    margin: 0 1rem;
}
@media (max-width: 480px) {
    nav {
        justify-content: space-between;
        flex-wrap: wrap;
    }
}






main {
    width: 1200px;
    max-width: 95%;
    margin: auto;
}

main > section {
    margin-bottom: 4rem;
    border-left: 2px solid var(--section-border-color);
    padding: 1rem 0 1rem 1rem;
    position: relative;
}

main > section::before, main > section::after {
    border: 1px solid var(--section-border-color);
    display: block;
    content: "";
    margin-left: -1rem;
    position: absolute;
    top: 0;
    width: 100%;
}
main > section::after {
    width: 60px;
    min-width: 0;
    top: unset;
    bottom: 0;
}

main > section > h2 {
    border-bottom: 1px solid #ff00009e;
    border-right: 1px solid #ff00009e;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    width: fit-content;
}

main > section > p {
    margin-top: 1rem;
}





.box {
    margin-top: 1rem;
    box-shadow: 0px 0px 1px white;
    padding: 1rem;
}
.box h3 {
    text-align: center;
}

.box > p {
    margin: 1rem 0 .5rem;
}





#companies .box {
    width: fit-content;
    text-align: center;
}
#companies a {
    color: white;
}
#companies ul {
    display: flex;
    flex-wrap: wrap;
}
#companies span {
    font-weight: normal;
}
#companies h3 {
    color: #6da0ff;
}





footer {
    width: 100%;
    padding: 1rem;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links ul li {
    display: inline-block;
    margin: 0 5px;
}

.social-links ul li img {
    max-width: 32px;
    filter: invert(1);
}