:root{
    --strawberry_red: #ff4654;
    --mushroom_red: #ba3a46;
    --whale_blue: #111823;
    --just_white: #ffffff;
    --sheep_white: #f8f8f8;
    --just_white_transparent: rgba(255, 255, 255, 0.8);
}

body{
    background-color: var(--just_white);
    color: var(--whale_blue);
    font-family: "Nunito", sans-serif;
}

nav{
    background-color: var(--strawberry_red);
    height: 100px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--just_white);
}

section{
    height: 100%;   
    display: flex;
    flex-direction: column;
    margin: 50px 0;
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.header{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 10%;
}

.mega_header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 70%;
    margin: 0 10%;
}

.agent{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
    padding: 20px;
    width: 200px;
    background-color: var(--sheep_white);
}

.agent_small{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
    padding: 10px;
    width: 100px;
    background-color: var(--sheep_white);
}

.weapon{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
    padding: 20px;
    width: 200px;
    background-color: var(--sheep_white);
}

.armor{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
    padding: 20px;
    width: 200px;
    background-color: var(--sheep_white);
}

.image{
    width: 150px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.image_small{
    width: 75px;
    height: 75px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.armor .image{
    width: 75px;
    height: 75px;
}

.agent_selection{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    margin: 0 10%;
}

.btn{
    background-color: var(--whale_blue);
    color: var(--just_white);
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 240px;
    height: 50px;
    overflow: hidden;
    position: relative;
}

.small_btn{
    background-color: var(--whale_blue);
    color: var(--just_white);
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100px;
    height: 50px;
    overflow: hidden;
    position: relative;
}

.animation_div{
    position: relative;
    top: 0;
    left: 0;
    width: 0px;
    height: 50px;
    background-color: var(--strawberry_red);
    transition: width .2s;
}

.small_animation_div{
    position: relative;
    top: 0;
    left: 0;
    width: 0px;
    height: 50px;
    background-color: var(--strawberry_red);
    transition: width .2s;
}

.btn span{
    position: relative;
    left: 90px;
    bottom: 35px;
}

.small_btn span{
    position: relative;
    left: 15px;
    bottom: 35px;
}

.btn:hover .animation_div{
    width: 240px;
}

.small_btn:hover .small_animation_div{
    width: 100px;
}

.error{
    color: var(--mushroom_red);
    font-weight: bold;
    font-size: 16px;
}

.displayLoadout{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    margin: 20px 0;
}

.loadout{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    padding: 20px;
}

footer{
    position: fixed;
    left: 20px;
    bottom: 20px;
    color: var(--whale_blue);
    background-color: var(--just_white_transparent);
    padding: 0 10px;
}

.loading{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 70vh;
}

.loading_text{
    font-size: 48px;
}

.loading_animation{
    width: 400px;
    height: 30px;
    background-color: var(--whale_blue);
}

.loading_animation_inner{
    width: 0px;
    height: 30px;
    background-color: var(--strawberry_red);
    transition: width 2s ease-in-out;
}

.loading_animation:hover .loading_animation_inner{
    width: 400px;
}

.checkbox_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.image_background{
    background-color: var(--whale_blue);
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player_input{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.player_input div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

input[type="text"]{
    width: 200px;
    height: 30px;
    padding: 5px;
    border: 1px solid var(--whale_blue);
    background-color: var(--sheep_white);
}

.allLoadouts{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.player_names_display{
    color: var(--strawberry_red);
    
}

.summary_step .header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.summary_player{
    text-align: center;
}

.summary_player .agents{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

a{
    color: var(--strawberry_red);
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}


.hidden{
    display: none;
}

@media (max-width: 600px){
    h1{
        margin: 0 10px;
    }

    section{
        margin: 0 20px;
    }

    footer{
        position: static;
        margin: 0;
    }

    .big_screen{
        display: none;
    }

    .small_screen{
        display: inline;
    }

    .loading{
        width:300px
    }

    .loading_animation{
        width: 300px;
    }

    .loading_animation:hover .loading_animation_inner{
        width: 300px;
    }

    .loadout_step{
        margin-top:20px
    }

    .displayLoadout{
        flex-direction: column;
        border-bottom: #111823 .5px solid;
    }
}