*,
body {
    color: white;
}

body {
    margin: 0;
    --primary-color: 6, 13, 61;
    --second-color: 0, 6, 43;
    --third-color: 5, 35, 126;
    --fourth-color: 85, 51, 107;
    --fifth-color: 169, 60, 72;
    --sixth-color: 30, 113, 232;
    --font-color: 255, 255, 255;
    --tag-color: var(--third-color);
    --card-color: var(--second-color);
}

.page-background {
    background-image: url("../images/neuralnetworks.webp");
    background-position: 63.21% 50%;
}

.secret-code-input {
    margin: 20px auto 0;
    display: block;
    background: rgba(var(--second-color), 170);
    border: 2px solid rgb(var(--second-color));
    font-weight: bold;
    outline: 2px solid rgba(var(--third-color), 0);
}

.secret-code-input:focus,
.secret-code-input:focus-visible {
    outline-color: rgb(var(--third-color));
}

#literatureSection .third>h4 {
    margin: 25px 0 0;
}

#literatureSection .third>ul {
    margin: 10px 0;
    padding-left: 0;
    list-style: none;
}

#literatureSection .third>ul li {
    margin-bottom: 5px;
}

#literatureSection .third .suggestions {
    font-style: italic;
    flex-grow: 1;
}

#cloud1 {
    bottom: 12%;
    left: max(18%, 80px);
    transform: translateX(-50%);
    background: rgb(var(--second-color));
    box-shadow: 0 0 5px rgb(var(--second-color));
}

#cloud2 {
    top: 15%;
    right: max(25%, 80px);
    transform: translateX(50%);
    background: rgb(var(--fourth-color));
    box-shadow: 0 0 5px rgb(var(--fourth-color));
}

#cloud3 {
    bottom: 10%;
    left: max(7%, 80px);
    transform: translateX(-50%);
    background: rgb(var(--third-color));
    box-shadow: 0 0 5px rgb(var(--third-color));
}

#cloud4 {
    top: 34%;
    right: max(7%, 80px);
    background: rgb(var(--fifth-color));
    box-shadow: 0 0 5px rgb(var(--fifth-color));
    transform: translateX(50%);
}

#cloud5 {
    top: 9%;
    left: max(50%, 80px);
    background: rgb(var(--sixth-color));
    box-shadow: 0 0 5px rgb(var(--sixth-color));
    transform: translateX(-50%);
}

#cloud1 .cloud-card {
    background: rgb(var(--second-color));
    box-shadow: 0 0 5px rgb(var(--second-color));
    left: 50%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#cloud2 .cloud-card {
    background: rgb(var(--fourth-color));
    box-shadow: 0 0 5px rgb(var(--fourth-color));
    right: 50%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    justify-content: right;
}
#cloud3 .cloud-card {
    background: rgb(var(--third-color));
    box-shadow: 0 0 5px rgb(var(--third-color));
    left: 50%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#cloud4 .cloud-card {
    background: rgb(var(--fifth-color));
    box-shadow: 0 0 5px rgb(var(--fifth-color));
    right: 50%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    justify-content: right;
}
#cloud5 .cloud-card {
    background: rgb(var(--sixth-color));
    box-shadow: 0 0 5px rgb(var(--sixth-color));
    left: 50%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#cloud1 .cloud-card>p {
    margin-right: 0;
}
#cloud2 .cloud-card>p {
    margin-left: 0;
    text-align: right;
}
#cloud3 .cloud-card>p {
    margin-right: 0;
}
#cloud4 .cloud-card>p {
    margin-left: 0;
    text-align: right;
}
#cloud5 .cloud-card>p {
    margin-right: 0;
}

#cloud3>h3 {
    font-size: 16px;
}

@media screen and (max-width: 605px) {
    #cloud5 .cloud-card {
        top: 50%;
        left: 0;
        border-bottom-left-radius: 40px;
    }

    #cloud5:hover .cloud-card {
        width: 240px;
    }

    #cloud5 .cloud-card>p {
        margin: 0;
    }
}

@media screen and (max-width: 500px) {
    #cloud3 .cloud-card {
        top: 50%;
        left: 0;
        border-bottom-left-radius: 40px;
    }

    #cloud3:hover .cloud-card {
        width: 240px;
    }

    #cloud3 .cloud-card>p {
        margin: 0;
    }
}

@media screen and (max-width: 405px) {
    #cloud1 .cloud-card {
        top: -50%;
        left: 0;
        border-top-left-radius: 40px;
    }
    #cloud2 .cloud-card {
        top: -50%;
        right: 0;
        border-top-right-radius: 40px;
    }
    #cloud4 .cloud-card {
        top: 50%;
        right: 0;
        border-bottom-right-radius: 40px;
    }

    #cloud1:hover .cloud-card,
    #cloud2:hover .cloud-card,
    #cloud4:hover .cloud-card {
        width: 240px;
    }

    #cloud1 .cloud-card>p,
    #cloud2 .cloud-card>p,
    #cloud4 .cloud-card>p {
        margin: 0;
    }
}

@media screen and (max-width: 350px) {
    #cloud5 .cloud-card {
        left: 50%;
        transform: translateX(-50%);
        border-radius: 40px;
    }
}
