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

body {
    width: 100%;
    font-size: 26px;
    background-color: #000000;
}

#homepage-container {
    width: 100%;
    height: auto;
    margin-bottom: 2em;
    background: radial-gradient(circle at -10% -120%, #059379, #07685c, #06403b, #031919, #010606, #010303, #010101, #000000);
}

nav {
    font-size: 0.8em;
    font-family: Bebas Neue, sans-serif;
    width: 100%;
    height: 5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}

nav img,
footer img {
    width: 5em;
    height: auto;
    margin-left: 3.5em;
}

nav>ul {
    display: flex;
    justify-content: space-between;
    width: 30%;
    margin: 0 3em;
    list-style: none;
    font-size: 1.4em;
    color: white;
}

nav>ul>li {
    display: block;
}

nav>ul>li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: rgb(255, 255, 255);
    transition: width 0.3s ease;
}

nav>ul>li:hover::after {
    width: 100%;
}

nav>ul>li>a {
    color: white;
    text-decoration: none;
}

#homepage-body {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#homepage-body-left {
    font-family: Oddval, sans-serif;
    line-height: 2.2em;
    padding: 0 7% 0 5%;
    font-size: 1.3em;
    color: white;
    text-align: left;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-shadow: 2px 2px #000000;
}

#homepage-body-left h1 {
    margin-bottom: 0.5em;
}

#homepage-body-left p {
    margin-bottom: 1em;
    font-size: 0.5em;
    color: rgb(145, 145, 145);
    font-weight: 600;
    text-align: left;
    line-height: 1.1em;
}

#homepage-body-left-button1 {
    width: 40%;
    height: 3.5em;
    font-family: Oddval, sans-serif;
    font-weight: 600;
    background: linear-gradient(90deg, #4cb8c4, #45bcc3, #3ec0c2, #39c4bf, #35c8bc, #34ccb8, #37d0b3, #3cd3ad);
    border: none;
    transition: all 500ms ease;
    color: black;
}

#homepage-body-left-button2 {
    width: 40%;
    height: 3.5em;
    font-family: Oddval, sans-serif;
    font-weight: 600;
    background-color: black;
    color: transparent;
    background-image: linear-gradient(90deg, #4cb8c4, #45bcc3, #3ec0c2, #39c4bf, #35c8bc, #34ccb8, #37d0b3, #3cd3ad);
    background-clip: text;
    border: solid 1px rgb(70, 70, 70);
    transition: all 500ms ease;
}

#homepage-body-left-button1:hover,
#homepage-body-left-button2:hover {
    cursor: pointer;
}

#homepage-body-right {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#homepage-body-right img {
    width: 100%;
    height: auto;

}

.battery-carousel {
    overflow: hidden;
    display: none;
    border-top: solid 3px #00c29e;
    border-bottom: solid 3px #00c29e;
    background-color: #0c0c0c;
    white-space: nowrap;
    margin: 3em 0;
}

.battery-carousel-slider {
    animation: 20s slide infinite linear;
    display: inline-block;
}

.battery-carousel-slider img {
    width: 5em;
    height: auto;
    margin: 0 0.5em;
}

.homepage-section:nth-child(3),
.homepage-section:nth-child(7) {
    width: 82%;
    height: 0.5em;
    background-color: rgb(30, 30, 30);
    margin-left: 9%;
}

.homepage-section:nth-child(4),
.homepage-section:nth-child(6) {
    width: 88%;
    height: 0.5em;
    background-color: rgb(56, 56, 56);
    margin-left: 6%;
}

.homepage-section:nth-child(5) {
    width: 94%;
    height: auto;
    background-color: #FFFAFA;
    margin-left: 3%;
    padding: 2em 3em;
    line-height: normal;
    font-family: Oddval, sans-serif;
}

.homepage-section:nth-child(5)>ul {
    margin-top: 1em;
    font-size: 0.7em;
}

footer {
    font-family: Oswald, Verdana, sans-serif;
    align-items: center;
    background-color: #080808;
    display: flex;
    font-size: 0.8em;
    justify-content: space-between;
    padding: 0 2em;
    margin-top: 2em;
    width: 100%;
    height: 4em;
    border-top: solid 1px #00c29e;
}

.footer-p,
.footer-a,
.footer-a:visited {
    width: 15em;
    text-align: left;
    height: auto;
    font-family: Oswald, Verdana, sans-serif;
    margin: 2% 0;
    font-size: 0.8em;
    color: rgb(231, 231, 231);
}

footer div {
    width: 16em;
    text-align: center;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media screen and (min-width: 600px) {
    #homepage-body-left-button1:hover {
        background-color: black;
        color: transparent;
        background-clip: text;
        background-image: linear-gradient(90deg, #4cb8c4, #45bcc3, #3ec0c2, #39c4bf, #35c8bc, #34ccb8, #37d0b3, #3cd3ad);
        border: solid 1px rgb(70, 70, 70);
    }

    #homepage-body-left-button2:hover {
        background: linear-gradient(90deg, #4cb8c4, #45bcc3, #3ec0c2, #39c4bf, #35c8bc, #34ccb8, #37d0b3, #3cd3ad);
        color: black;
        border: none;
    }
}

@media screen and (max-width: 1024px) {
    body {
        font-size: 24px;
    }
}

@media screen and (max-width: 900px) {
    body {
        font-size: 20px;
    }
}

@media screen and (max-width: 800px) {
    body {
        font-size: 15px;
    }

    #homepage-body-left-button1 {
        font-size: 0.5em;
    }

    #homepage-body-left-button2 {
        font-size: 0.5em;
    }
}

@media screen and (max-width: 600px) {
    #homepage-body {
        flex-direction: column-reverse;
    }

    #homepage-body-right {
        display: none;
    }

    #homepage-body-left {
        width: 100%;
        margin: 0;
        margin-top: 1em;
    }

    li {
        margin-right: 1em;
    }

    footer {
        font-size: 0.5em;
    }

    .battery-carousel {
        display: block;
    }
}