body {
    margin: 0;
    padding: 0;
}

.top-section {
    background-image: linear-gradient(to right, rgba(255, 204, 0, 0.1) 0%, #00222b00 80%);
    width: 100%;
    padding-top: calc(25px + 2vw);
    padding-bottom: 2vw;
    padding-left: 5vw;
    padding-right: 5vw;
}

* {
    font-family: Roboto;
}

#dino {
    font-size: calc(1vw + 10px);
    height: 5em;
}

.bigtext {
    font-size: calc(4vw + 10px);
    margin: 0;
}

.smoltext {
    font-size: calc(1.5vw + 10px);
    animation: fade-from-left 1s 1s forwards;
    opacity: 0;
}

.button {
    font-size: calc(1.5vw + 10px);
    animation: fade-from-left 1s 1s forwards;
    opacity: 0;
}

#login {
    display: inline-block;
    color: var(--textcolor1);
    border-color: white;
    border-style: solid;
    border-width: 0.1em;
    border-radius: 10px;
    background: linear-gradient(to right, rgba(255, 204, 0, 0.1) 0%, rgba(255, 204, 0, 0) 95%);
    margin-right: 15px;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    margin-top: 1em;
    font-weight: bold;
    /* Good understanding of linear-gradient */
}

#signup {
    font-weight: bold;
    margin-top: 1em;
    display: inline-block;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    border-style: solid;
    color: var(--textcolor2);
    border-color: white;
    border-width: 0.1em;
    border-radius: 10px;
    background-color: white;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

/* I Suggest putting a padding arround the buttons. Paddings surround the text-content, but the background color will also apply only it */
#pic {
    position: absolute;
    font-size: calc(1.5vw + 5px);
    width: 20em;
    max-width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: picanimation 1s forwards
}

.rvred {
    color: var(--RVcolor1);
}

.rvblue {
    color: var(--RVcolor2);
}

@keyframes picanimation {
    0% {
        opacity: 0;
        margin-left: 1em;
        margin-top: 1em;
        box-shadow: none;
    }

    10% {
        box-shadow: none;
    }

    50% {
        margin-left: 0;
        margin-top: 0;
        opacity: 1;
    }

    100% {
        box-shadow: 1em 1em 0.5em black;
        margin-left: 0;
        margin-top: 0;
        opacity: 1;
    }
}

#idkkk {
    margin-top: 20px;
}

.about__decor {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: calc(1vw + 10px);
    position: relative;
}

.about__decor::before,
.about__decor::after {
    content: "";
    border-top: 0.1em solid var(--yellow);
    flex: 1;
}

.about__triangle {
    margin: 0 auto 0 auto;
    border-left: 1.5em solid transparent;
    border-right: 1.5em solid transparent;
    border-top: 1.5em solid var(--textcolor1);
    width: 0;
    height: 0;
}

.about__triangle2 {
    position: absolute;
    left: 0;
    border-right: 40vw solid transparent;
    border-top: 2em solid var(--yellow);
}

.about__triangle3 {
    position: absolute;
    left: 0;
    border-right: 15vw solid transparent;
    border-top: 3em solid var(--blue);
    filter: drop-shadow(0.5em 0.5em 1em black);
}

.about__content {
    display: grid;
    font-size: calc(1vw + 10px);
    margin: 2em 3em 0 3em;
    gap: 2em;
    position: relative;
}

.about__content>* {
    text-align: center;
}

.about__desc {
    margin: 0;
    margin-top: 1em;
}

.about__desc {
    margin-right: 1em;
    margin-left: 1em;
    border-right: 0.1em solid var(--red);
    border-left: 0.1em solid var(--red);
    padding: 0.5em 1em 0.5em 1em;
}

.about__content>*:nth-child(2n-1) {
    --animation: fade-from-left 1s forwards;
}

.about__content>*:nth-child(2n) {
    --animation: fade-from-right 1s forwards;
}


.about__content__info {
    padding: 1em 0 1em 0;
    visibility: hidden;
}

.about__header {
    margin: 0
}

.about__content__image {
    position: relative;
    height: 10em;
    grid-area: var(--mobile);

}

.about__image {
    opacity: 0;
    width: 18em;
    height: auto;
    font-size: calc(1.5vw + 5px);
    max-width: 100%;
    border: 0.1em solid var(--textcolor1);
    position: absolute;
    display: none;
    animation-delay: 0.1s !important;
}

.about__image--small {
    width: 10em;
    border: 0;
    cursor: pointer;
}

.about__image--small:hover {
    filter: brightness(80%);
}


.first-image::after {
    margin-top: 0 !important;
    height: calc(100% + 4em) !important;
}

.last-image::after {
    height: calc(100% + 6rem) !important;
}

/* .about__content__image:nth-child(2n)::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    display:block;
    height: calc(100% + 10em);
    margin-right:1em;
    margin-top:-6em;
    border-right:0.1em solid var(--red);
    z-index: -1;
} */

@media only screen and (min-width: 768px) {
    .about__content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        font-size: calc(1vw + 10px);
        margin: 2em 3em 0 3em;
        gap: 4em;
        position: relative;

    }

    .about__content>*:nth-child(2n + 1) {
        text-align: left;
    }

    .about__content>*:nth-child(2n) {
        text-align: right;
    }

    .about__desc {
        border: 0;
        margin: 0;
        margin-top: 1em;
    }

    .about__content>*:nth-child(2n) .about__desc {
        margin-right: 1em;
        border-right: 0.1em solid var(--red);
        padding: 0.5em 1em 0.5em 0;
    }

    .about__content>*:nth-child(2n-1) .about__desc {
        margin-left: 1em;
        border-left: 0.1em solid var(--red);
        padding: 0.5em 0 0.5em 1em;
    }

    .about__content>*:nth-child(2n-1) {
        --animation: fade-from-left 1s forwards;
    }

    .about__content>*:nth-child(2n) {
        --animation: fade-from-right 1s forwards;
    }


    .about__content__info {
        padding: 2em 0 2em 0;
        visibility: hidden;
    }

    .about__header {
        margin: 0
    }

    .about__content__image {
        position: relative;
        grid-area: unset;
    }

    .about__image {
        opacity: 0;
        width: 15em;
        height: auto;
        font-size: calc(1.5vw + 5px);
        max-width: 100%;
        border: 0.1em solid var(--textcolor1);
        position: absolute;
        display: none;
        animation-delay: 0.1s !important;
    }

    .about__image--small {
        width: 10em;
        border: 0;
        cursor: pointer;
    }

    .about__image--small:hover {
        filter: brightness(80%);
    }

    .about__content__image:nth-child(2n+1)::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        height: calc(100% + 10em);
        margin-left: 1em;
        margin-top: -6em;
        border-left: 0.1em solid var(--red);
        z-index: -1;
    }

    .first-image::after {
        margin-top: 0 !important;
        height: calc(100% + 4em) !important;
    }

    .last-image::after {
        height: calc(100% + 6em) !important;
    }

    .about__content__image:nth-child(2n)::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        height: calc(100% + 10em);
        margin-right: 1em;
        margin-top: -6em;
        border-right: 0.1em solid var(--red);
        z-index: -1;
    }

    .about-bottom-decor {
        grid-column: 1 / span 2;
    }
}


@keyframes fade-from-left {
    0% {
        visibility: visible;
        opacity: 0;
        transform: translateX(-1em);
    }

    100% {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-from-right {
    0% {
        visibility: visible;
        opacity: 0;
        transform: translateX(1em);
    }

    100% {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes image-fade-left {
    0% {
        opacity: 0;
        transform: translate(-1em, -1em);
        box-shadow: none;
    }

    50% {
        opacity: 1;
        transform: translate(0, 0);
        box-shadow: none;

    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
        box-shadow: -0.5em -0.5em 2em 0 black;
    }
}

@keyframes image-fade-right {
    0% {
        opacity: 0;
        transform: translate(-1em, 1em);
        box-shadow: none;
    }

    50% {
        opacity: 1;
        transform: translate(0, 0);
        box-shadow: none;

    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
        box-shadow: -0.5em 0.5em 2em 0 black;
    }
}

@keyframes image-fade-top {
    0% {
        opacity: 0;
        transform: translate(-50%, -75%);
        box-shadow: none;
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%);
        box-shadow: none;

    }

    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
        box-shadow: 0em 0em 2em 0 black;
    }
}

.sine_decor {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    max-width: 100%;
    width: auto;
    opacity: 0.2;
    z-index: -1;
}

.about-bottom-decor {
    width: 100%;
    height: 5em;
    /* grid-column: 1 / span 2; */
    position: relative;
    margin-top: -6em;
}
/*
.about-bottom-decor::after {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    content: "";
    height: 100%;
    width: 20%;
    margin-right: 1em;
    border-right: 0.1em solid var(--red);
    border-bottom: 0.1em solid var(--red);
    border-bottom-right-radius: 1em;
}

.about-bottom-decor::before {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    content: "";
    height: 100%;
    width: 20%;
    margin-left: 1em;
    border-left: 0.1em solid var(--red);
    border-bottom: 0.1em solid var(--red);
    border-bottom-left-radius: 1em;
}
*/

.about__decor-bottom::before,
.about__decor-bottom::after {
    content: "";
    position: absolute;
    bottom: calc(100% - 0.1em);
    width: calc(50vw - 6em); /* 4em being the size of the side margins of the content + margin of para */
    height: 5em;
    border-bottom: 0.1em solid var(--red);
}

.about__decor-bottom::before {
    left: 0;
    border-left: 0.1em solid var(--red);
    border-bottom-left-radius: 1em;
}

.about__decor-bottom::after {
    right: 0;
    border-right: 0.1em solid var(--red);
    border-bottom-right-radius: 1em;
}

.about__decor-bottom {
    font-size: calc(1vw + 10px);
    position: relative;
    margin: 0 4em 0 4em;
    margin-top: -1em;
    position: relative;
}

.introducing {
    animation: fade-from-left 1s forwards;
}

.peerview {
    animation: fade-from-left 1s 0.3s forwards;
    opacity: 0;
}

.top-section__rdev {
    font-size: calc(10px + 1vw);
    height: 5em;
    margin-left: 1em;
}

.conclusion {
    font-size: calc(1vw + 10px);
}

.conclusion__title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 0;
}

.conclusion__desc {
    text-align: center;
    margin: 0.5em 0;
}

.conclusion__signup {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    display: block;
    border: 0;
    border-radius: 0.5em;

    padding: 0.25em 1em 0.25em 1em;
    background: var(--textcolor1);
    margin: auto;
    margin-top: 1em;
}

.footer {
    width: 100%;
    background: var(--secondarycolor3);
    font-size: calc(1vw + 10px);
    text-align: center;
    padding: 1em 0 1em 0;
    margin-top: 1em;
}
