* {
    margin: 0px;
    padding: 0px;
}

:root {

    /* Navbar Settings */
    
    --navbar-height: 60px;
    --navbar-margin: 10px;
    --navbar-padding: 20px;

    /* --------------- */
}

body {
    /*
        Why like that? It's just less messy and I don't
        like doing that with margin auto (It's also more flexible)
    */
    display: grid;
    grid-template-columns: auto max-content auto;
}

.add-a-retard-form {
    position: fixed;
    z-index: 999;
    width: 100dvw;
    height: 100dvh;
}

.info-message {
    display: flex;
    padding-top: 10px;
    width: 100%;
}

.form-wrapper {
    position: relative;
    left: 50%;
    top: 50%;

    padding: 20px;
    width: max-content;
    transform: translate(-50%, -50%);
}

.content-to-replace span span {
    display: flex;
}

.required {
    position: relative;
    top: 4px;
    margin-left: 5px;
}

.content-to-replace {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.content-to-replace p {
    grid-column: span 2;
    text-align: center;
    padding: 20px 0px 20px 0px;
}

.content-to-replace span {
    display: grid;
    max-width: 100dvw;
}

.content-to-replace span label {
    margin-bottom: 5px;
}

.content-to-replace span input {
    padding: 10px;
    max-width: 100dvw;
}

#close-button {
    position: absolute;
    z-index: 1000;
    left: 100%;
    top: 10px;
    width: 30px;
    padding: 5px;
    text-align: center;
    grid-column: span 2;
    transform: translateX(calc(-100% - 10px));
}

.userDesc, .submit-button, .accessKey {
    grid-column: span 2;
}

.submit-button button {
    margin-top: 20px;
    padding: 10px;

    width: 100%;
}

.container {
    position: relative;
    z-index: 0;

    grid-column-start: 2;
    width: 1920px;
    max-width: calc(100dvw - var(--navbar-margin));
    height: max-content;
}

.navbar-wrapper {
    position: absolute;
    z-index: 1;
    left: 50%;

    width: calc(100% - var(--navbar-margin));
    max-width: 1280px;
    height: max-content;

    transform: translateX(-50%);
}

.navbar {
    margin: var(--navbar-margin);
    overflow: hidden;
}

.navbar-logo li {
    display: flex;
    
    align-items: center;
    padding: 10px;
}

.navbar-logo li img {
    height: 30px;
    margin-right: 10px;
}

.navbar-logo li img:hover {
    transform: scale(1.1);
}

.navbar-list {
    display: grid;
    grid-template-columns: auto max-content max-content max-content;
}  

.navbar-list-item-wrapper {
    display: flex;
}

.navbar-list-element, .navbar-toggle {
    display: flex;
    align-items: center;

    padding: 0px 20px 0px 20px;
}

.navbar-list-element:hover, .navbar-toggle:hover {
    padding: 0px 25px 0px 25px;
}

.navbar-list-element svg, .navbar-toggle svg {
    margin-right: 5px;
}

.navbar-list-element li, .navbar-toggle li {
    display: flex;
    align-items: center;
}

.navbar-list-element li p, .navbar-toggle li p {
    margin-top: 2px;
}

.main-content-wrapper {
    position: relative;
    height: max-content;
    bottom: var(--navbar-height);
    width: 100%;
}

.main-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    height: 1000px;

    overflow: hidden;
}


.clip-background {
    position: absolute;
    z-index: -1;
    left: 50%;
    width: 1920px;
    transform: translateX(-50%);
}

.content-left-items {
    position: relative;
    z-index: 1;
    display: grid;
    justify-content: center;
    animation: padding-animation 0.6s ease-out forwards;
}

.content-left-items p {
    position: relative;
    margin-top: 5px;
    text-align: end;
}

.content-left-items a button {
    width: 100%;
    margin-top: 40px;
    max-width: calc(100dvw - 10px);
}

.waves-background-wrapper {
    position: absolute;
    width: 100%;
    height: calc(100%);
    overflow: hidden;
}

.waves-background {
    position: absolute;
    z-index: -1;
    left: 10%;
    transform: translate(-50%, -80%);
    top: 100%;
    width: max-content;
    height: 800px;
    
}

.content-right-items {
    display: grid;
    justify-content: center;
}

.spotify-playlist {
    display: grid;
    align-items: center;
    text-align: center;
    width: min(calc(100dvw), 450px);
}

.spotify-playlist h2 {
    margin-bottom: 30px;
}

.spotify-playlist iframe {
    width: 100%;
}

.hs-description {
    grid-column: span 2;
    display: grid;
    
    text-align: center;
    padding: 10px 0px 120px 0px;
    color: black;
}

.hs-description h4 {
    padding: 20px 0px 20px 0px;
}

.hs-description p {
    display: flex;
    justify-self: center;
    width: 500px;
    max-width: calc(100dvw - 40px);

    text-align: justify;
    text-justify: inter-word;
}

.retard-list-wrapper {
    display: grid;
    align-items: center;

    height: max-content;
    width: 100%;

    padding: 10px 0px 40px 0px;
}

.retard-list-wrapper p {
    text-align: center;
    padding: 20px 0px 5px 0px
}

.retard-list-controls {
    display: grid;
    gap: 20px;
    grid-template-columns: 300px max-content;
    justify-content: center;

    width: 100%;
}

.retard-list-controls input {
    padding: 10px;
    margin-bottom: 30px;
    margin-top: 20px;
    width: 100%;
}

.retard-list-controls button {
    height: 50px;
    padding: 10px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.retard-list {
    margin: auto;

    height: 550px;
    width: calc(100dvw - 40px);
    max-width: 1280px;

    overflow: scroll;
    overflow-x: hidden;
}

.retard-list table th, .retard-list table td {
    padding: 5px 10px 5px 10px;
}

.retard-list table th:last-child {
    width: 100%;
}

.table-author {
    text-align: center;
}

.features-content {
    height: max-content
}

.features-content h2 {
    grid-column: span 2;
    padding: 30px 0px 30px 0px;
}

.feature {
    margin: auto;
    margin-top: 1px;

    width: calc(100% - 40px);
    max-width: 1280px;
    margin-bottom: 50px;
}

.title {
    padding: 10px 0px 10px 0px;
    text-align: center;
}

.feature video, .feature img {
    margin: 0px 20px 10px 20px;
    width: calc(100% - 40px);
}

.feature-description {
    display: flex;
    text-align: justify;
    text-justify: inter-word;
    margin: 20px;
    margin-top: 0px;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100px;
}

@keyframes padding-animation {
    0% {
        padding-right: 200px;
        opacity: 0;
    }

    100% {
        padding-right: 0px;
        opacity: 1;
    }
}

@media screen and (max-width: 450px) {

    .content-to-replace {
        grid-template-columns: 1fr;
        width: calc(100dvw - 70px);
        overflow: hidden;
    }

    .userDesc, .submit-button, .accessKey, .form-wrapper p, #close-button {
        grid-column: span 1;
    }
}    

@media screen and (max-width: 430px) {
    .navbar-logo {
        font-size: 3dvw;
    }
}

@media screen and (max-width: 350px) {
    .navbar-logo p {
        display: none;
    }
}

@media screen and (max-width: 670px) {

    .navbar-list-element p {
        display: none;
    }
}

@media screen and (max-width: 1050px) {

    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 400px;
    }

    .content-left-items {
        position: relative;
        top: 50%;
        transform: translateY(-25%);
    }

    .content-right, .content-left {
        width: 100%;
        height: 100%;
    }

    .spotify-playlist {
        height: 100%;
    }

    .spotify-playlist iframe {
        height: 100%;
    }
}

.hidden {
    display: none;
}

.navbar-toggle {
    display: none;
}