html {
    background-color: rgb(30, 30, 30);
    color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
    text-wrap: nowrap;
}

body {
    font-family: "main";
    font-size: 36px;
    height: 2000px;
}

main {
    padding-top: 140px;
}

img, a {
    -webkit-user-drag: none;
    user-select: none;
}

section {
    scroll-margin-top: 140px;
}

section:not(:last-child) {
    margin-bottom: 200px;
}

p, li {
    text-wrap: wrap;
    text-shadow:
    -2px -2px 0 rgb(20, 20, 20),
    0 -2px 0 rgb(20, 20, 20),
    0 2px 0 rgb(20, 20, 20),
    2px -2px 0 rgb(20, 20, 20),
    -2px 2px 0 rgb(20, 20, 20),
    2px 2px 0 rgb(20, 20, 20),
    -2px 0 0 rgb(20, 20, 20),
    2px 0 0 rgb(20, 20, 20),
    0 4px 0 rgb(30, 30, 30),
    -2px 4px 0 rgb(30, 30, 30),
    2px 4px 0 rgb(30, 30, 30);
}

ul {
    padding-left: 35px;
    list-style-type: square;
}

ul li:not(:last-child) {
    margin-bottom: 20px;
}

footer {
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    padding-left: 30px;
    text-align: left;
    background-color: rgba(20, 20, 20, 0.4);
	overflow: hidden;
	text-wrap: nowrap;
    font-style: italic;
    box-shadow:
    0 -5px 0 rgba(10, 10, 10, 0.4),
    0 0 10px rgba(20, 20, 20, 0.4);
    gap: 30px;
}

h6 {
    font-weight: 500;
}

/* CLASSES */

.scrolling-bg-container {
    overflow: hidden;
    margin: 0%;
    padding: 0%;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -3;
}
  
.scrolling-bg {
    background: url("images/bg.png") repeat;
    width: 1000vw;
    height: 1000vh;
    background-size: 500px;
    animation: bg 15s linear infinite;
}

.navbar {
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: rgb(40, 40, 40);
    z-index: 1;
    box-shadow:
    0 12px 0 rgb(35, 35, 35),
    0 16px 5px rgb(30, 30, 30, 0.8);
}

.navbar-elements {
    display: flex;
    align-items: center;
    padding: 0 15px 0 15px;
    text-wrap: nowrap;
    gap: 15px;
    height: 84px;
}

.horizontal-scroll-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(images/header-footer.jpg);
    background-size: 300px;
    filter: brightness(0.5);
    overflow: hidden;
}

.horizontal-scroll {
    background: url("images/navbar-bg.png") repeat;
    width: 1000vw;
    height: 100%;
    background-size: 400px;
    animation: horizontal-scroll-navbar 5s linear infinite;
    filter: brightness(1.25);
}

.title-elements {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-right: 20px;
}

.navbar-buttons {
    display: flex;
    gap: 10px;
}

.navbar-buttons > div > a > img {
    height: 58px;
}

.navbar-buttons > div > a > img:hover {
    transition: all 0.15s;
    transform: scale(1.03);
}

.navbar-buttons > div > a > img:not(:hover) {
    transition: all 0.15s;
}

.section-header {
    text-shadow:
    -4px -4px 0 rgb(20, 20, 20),
    0 -4px 0 rgb(20, 20, 20),
    0 4px 0 rgb(20, 20, 20),
    4px -4px 0 rgb(20, 20, 20),
    -4px 4px 0 rgb(20, 20, 20),
    4px 4px 0 rgb(20, 20, 20),
    -4px 0 0 rgb(20, 20, 20),
    4px 0 0 rgb(20, 20, 20),
    0 8px 0 rgb(30, 30, 30, 0.8),
    -4px 8px 0 rgb(30, 30, 30, 0.8),
    4px 8px 0 rgb(30, 30, 30, 0.8);
    margin-left: 40px;
    margin-bottom: 40px;
}

.word-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s;
}

.word-link:hover {
    transform: scale(1.03);
}

.text-and-img {
    display: grid;
    margin: auto;
    margin-bottom: 100px;
    align-items: center;
    width: 1175px;
    gap: 40px;
}

.text-and-img-left {
    grid-template-columns: 60% 40%;
}

.text-and-img-right {
    grid-template-columns: 40% 60%;
}

.text-and-img > img {
    width: 100%;
}

.content-img {
    border-radius: 15px;
    background-color: rgb(30, 30, 30);
    box-shadow: 0 10px 5px rgb(20, 20, 20, 0.8);
}

.horizontal-bar-container {
    left: 0;
    width: 100vw;
    height: 300px;
    overflow: hidden;
    z-index: -2;
    box-shadow: 0 10px 5px rgb(20, 20, 20, 0.8);
}

.horizontal-bar {
    width: 1000vw;
    height: 100%;
    background-repeat: repeat;
    animation: horizontal-scroll-bar 30s linear infinite;
}

.diagram-container {
    display: flex;
    width: 1500px;
    margin: auto;
    margin-bottom: 100px;
    justify-content: space-around;
    align-items: center;
    gap: 0px;
}

.diagram-container > img {
    width: 600px;
    display: block;
    margin: auto;
}

.diagram-side {
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diagram-header {
    margin-bottom: 15px;
    text-shadow:
    -3px -3px 0 rgb(20, 20, 20),
    0 -3px 0 rgb(20, 20, 20),
    0 3px 0 rgb(20, 20, 20),
    3px -3px 0 rgb(20, 20, 20),
    -3px 3px 0 rgb(20, 20, 20),
    3px 3px 0 rgb(20, 20, 20),
    -3px 0 0 rgb(20, 20, 20),
    3px 0 0 rgb(20, 20, 20),
    0 6px 0 rgb(30, 30, 30),
    -3px 6px 0 rgb(30, 30, 30),
    3px 6px 0 rgb(30, 30, 30);
}

.diagram-side .diagram-section:not(:last-child) {
    margin-bottom: 30px;
}

/* IDS */

#logo {
    width: 75px;
    transition: all 0.15s;
}

#logo:hover {
    transform: scale(1.05) rotate(3deg);
}

#title-header {
    text-align: center;
    font-size: 52px;
    font-weight: 700;
    text-shadow:
    -4px -4px 0 rgb(20, 20, 20),
    0 -4px 0 rgb(20, 20, 20),
    0 4px 0 rgb(20, 20, 20),
    4px -4px 0 rgb(20, 20, 20),
    -4px 4px 0 rgb(20, 20, 20),
    4px 4px 0 rgb(20, 20, 20),
    -4px 0 0 rgb(20, 20, 20),
    4px 0 0 rgb(20, 20, 20),
    0 8px 0 rgb(30, 30, 30),
    -4px 8px 0 rgb(30, 30, 30),
    4px 8px 0 rgb(30, 30, 30);
}

#title-subheader {
    text-align: center;
    font-size: 21px;
    font-weight: 500;
    font-style: italic;
    text-shadow:
    -2px -2px 0 rgb(20, 20, 20),
    0 -2px 0 rgb(20, 20, 20),
    0 2px 0 rgb(20, 20, 20),
    2px -2px 0 rgb(20, 20, 20),
    -2px 2px 0 rgb(20, 20, 20),
    2px 2px 0 rgb(20, 20, 20),
    -2px 0 0 rgb(20, 20, 20),
    2px 0 0 rgb(20, 20, 20),
    0 4px 0 rgb(30, 30, 30),
    -2px 4px 0 rgb(30, 30, 30),
    2px 4px 0 rgb(30, 30, 30);
}

#diagram-side-left ul {
    font-size: 30px;
}

#diagram-side-right ul {
    font-size: 24px;
}

#molassesino {
    display: block;
    margin: auto;
    margin-bottom: 50px;
    width: 300px;
    opacity: 20%;
}

/* FONTS */

@font-face {
    font-family: "main";
    src: url(fonts/main.ttf);
}

/* ANIMATIONS */

@keyframes bg {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-500px, -500px);
    }
}

@keyframes horizontal-scroll-navbar {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-393px);
    }
}

@keyframes horizontal-scroll-bar {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-4800px);
    }
}