:root{
    --blueColorDark: hsl(211, 100%, 5%);
    --blueColorSlightDarkLighter: hsl(211, 100%, 8%);
    --blueColorLight: #0a84ff;
    --BorderBlueColorLight: hsla(210, 100%, 52%, 0.25);
    --orangeColorLight: #f2b600;
    --orangeColorLightSecondGradient: #ff0;
    --orangeColorLightTransparent: hsla(45, 98%, 45%, 0.75);
    --white: #fff;
    --signalGreenBackground: hsla(134, 100%, 50%, 0.25);
    --signalGreenBorder: hsla(134, 100%, 50%, 1);
}

::-webkit-scrollbar {
    display: none;
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--blueColorDark);
    color: white;
}

#raiseHandButton{
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.4rem;
    width: 100%;
    background-color: white;
}

.cards{
    display: flex;
    justify-content: space-around;
}

.cards .card{
    width: 17rem;
    aspect-ratio: 0;
    border: 1px solid var(--blueColorLight);
    border-radius: 1.1rem;
    display: flex;
    flex-direction: column;
}

.cards .card h1 {
    margin: 0;
    padding: 0;
}

.cards .card .tags{
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.cards .card .card-main{
    height: 90%;
    padding: 0.75rem 1rem 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cards .card .card-main h1{
    font-size: 1.25rem;
}

.cards .card .card-main .card-description{
    font-size: 0.9rem;
    color: #98a2ab;
    margin: 0.5rem 0 0.5em 0;
}

.cards .card .card-bottom {
    padding: 0 0.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: fit-content;
    height: 15%;
    margin: 0.5rem 0;
}

.cards .card .card-bottom input{
    width: 100%;
    padding: 0.5rem 0;
    margin: 0;
    height: 100%;
    border-radius: calc(0.5rem + 0.25rem);
    font-size: 0.9rem;
    font-weight: 500;
    height: fit-content;
    border: none;
}

/* ========================= NAV BAR ========================= */

nav{
    height: 10vh;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1rem;
}

nav img{
    height: calc(10vh - 1rem);
    width: auto;
}

nav #navTeamName{
    display: flex;
    align-items: center;
    flex-direction: column;
    text-transform: uppercase;
}

nav #navTeamName span{
    font-weight: 100;
}

nav #navTeamName h1{
    margin: 0;
    padding: 0;
    
    background: linear-gradient(180deg, var(--orangeColorLight), var(--orangeColorLightSecondGradient));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Optional für Firefox */
    background-clip: text;
    color: transparent;
}

#nav-Border{
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, var(--blueColorDark), var(--BorderBlueColorLight), var(--blueColorDark));
}

#nav-buttons{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

#nav-buttons input{
    background-color: transparent;
    color: var(--white);
    font-weight: 200;
    border: 1px solid var(--BorderBlueColorLight);
    border-radius: 0.5rem;
    transition: .1s ease-in;
}

#nav-buttons input:hover{
    background-color: var(--blueColorSlightDarkLighter);
    border: 1px solid var(--blueColorLight);
}

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

footer .footer-buttons input{
    background-color: transparent;
    color: var(--white);
    font-weight: 200;
    border: 1px solid var(--BorderBlueColorLight);
    border-radius: 0.5rem;
    transition: .1s ease-in;
}

footer .footer-buttons input:hover{
    background-color: var(--blueColorSlightDarkLighter);
    border: 1px solid var(--blueColorLight);
}

/* ========================= VOTING BUTTON ========================= */

main{
    margin: 2rem 0 0 0;
    width: 100%;
    height: 100%;
    min-height: 30rem;
}

#votings-heading{
    width: 75%;
    margin: 0 0 0 12.5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#votings-heading #voting-description{
    text-align: justify;
}

#raiseHand{
    width: 100%;
}

#raiseHand #raiseHandButton{
    padding: 1rem 2rem;
    /*width: fit-content;*/
    width: 100%;
    background-color: var(--blueColorSlightDarkLighter);
    border: 1px solid var(--BorderBlueColorLight);
    color: var(--white);
    margin: 2rem 0 0 0;
    font-size: 1.25rem;
    transition: .1s ease-out;
}

#raiseHand #raiseHandButton.raised{
    background-color: var(--signalGreenBackground);
    border: 1px solid var(--signalGreenBorder);
}

.card-raisedHand{
    margin: 1rem 0 0 0;
}

#tag-raised{
    width: fit-content;
    margin: 0.5rem 0 0 0.5rem;
    height: 100%;
}

#tag-text{
    padding: 0.25rem 0.5rem;
    background-color: var(--signalGreenBackground);
    border: 1px solid var(--signalGreenBorder);
    border-radius: calc(1.1rem + 0.5rem);
    font-size: 11px;
    text-transform: uppercase;
}

#card-raisedHandReponse{
    display: none;
}

@media screen and (max-width: 768px){
    #nav-buttons{
        display: none;
    }

    #navTeamName{
        text-align: right;
    }

    #navTeamName span{
        width: 100%;
        text-align: right;
    }

    #navTeamName h1{
        font-size: 1.25rem;
    }

    main{
        margin: 0 2rem;
        width: calc(100% - 4rem);
    }
    
    #votings-heading{
        margin: 0;
        padding: 0;
        width: 100%;
    }

    #raiseHand #raiseHandButton{
        margin: 1rem 0 0 0;
        display: none;
    }

    .cards .card .tags{
        height: 20%;
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .cards .card .card-main{
        height: 90%;
        padding: 0.75rem 1rem 0.5rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .cards .card .card-main .card-description{
        font-size: 0.9rem;
        color: #98a2ab;
        margin: auto 0 0.5em 0;
    }

    .cards .card{
        width: 100%;
        aspect-ratio: auto;
        min-height: 50%;
    }

    footer{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0.5rem;
        grid-row-gap: 0.5rem;
        width: calc(100% - 2rem);
        margin: 1rem 0 0 1rem;
    }

    footer #footer-button-Support{
        grid-area: 2 / 1 / 3 / 3;
    }

    footer #footer-button-Menü{
        grid-area: 1 / 1 / 2 / 2;
    }

    footer #footer-button-Events{
        grid-area: 1 / 2 / 2 / 3;
    }

    footer .footer-buttons{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    footer .footer-buttons input{
        font-size: 12px;
        background-color: transparent;
        color: var(--white);
        border: 1px solid var(--BorderBlueColorLight);
        border-radius: 0.5rem;
        width: 100%;
    }
}