body {
    color: white;
    font-family: "Codec cold",sans-serif;
}

#splash-screen, #count-screen, #attribute-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#splash-screen {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

#team-screen, #analysis-screen {
    display: flex;
    flex-direction: column;
    padding: 20px;
    font-size: 50px;
    font-weight: 900;
}

#count-screen, #attribute-screen, #team-screen, #analysis-screen {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#splash-screen img {
    max-width: 100px;
    max-height: 100px;
}

#attribute-screen input {
    margin: 10px;
}

/* background src: https://codepen.io/baarbaracrr/pen/KKovmGb */

body {
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    background: linear-gradient(315deg, rgb(167, 5, 92) 3%, rgb(251, 118, 31) 38%, rgb(255, 199, 28) 68%, rgb(246, 46, 51) 98%);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(255 255 255 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }
}

/* button src: https://getcssscan.com/css-buttons-examples */

.button-75 {
    align-items: center;
    background-image: linear-gradient(135deg, #f34079 40%, #fc894d);
    border: 0;
    border-radius: 10px;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-family: "Codec cold",sans-serif;
    font-size: 16px;
    font-weight: 700;
    height: 54px;
    justify-content: center;
    letter-spacing: .4px;
    line-height: 1;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 3px;
    text-decoration: none;
    text-transform: uppercase;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-75:active {
    outline: 0;
}

.button-75:hover {
    outline: 0;
}

.button-75 span {
    transition: all 200ms;
}

.button-75:hover span {
    transform: scale(.9);
    opacity: .75;
}

@media screen and (max-width: 991px) {
    .button-75 {
        font-size: 15px;
        height: 50px;
    }

    .button-75 span {
        line-height: 50px;
    }
}

/* slider src: https://codepen.io/the_ruther4d/pen/ndRmBd */

input[type="range"]{
    -webkit-appearance:none;
    width:160px;
    height:20px;
    margin:10px 50px;
    background: linear-gradient(to right, #f34079 0%, #f34079 100%);
    background-size:150px 10px;
    background-position:center;
    background-repeat:no-repeat;
    overflow:hidden;
    outline: none;
}

input[type="range"]:first-of-type{
    margin-top:30px;
}

input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance:none;
    width:20px;
    height:20px;
    background: #fc894d;
    position:relative;
    z-index:3;
    box-shadow:0 0 5px 0 rgba(0,0,0,0.3);
}

/* text field src: https://copy-paste-css.com/form-input-text */

input[type="text"]{
    box-shadow: inset #f34079 0 0 0 2px;
    border: 0;
    background: white;
    appearance: none;
    width: 25%;
    position: relative;
    border-radius: 3px;
    padding: 9px 12px;
    line-height: 1.4;
    color: black;
    font-size: 16px;
    font-weight: 400;
    height: 40px;
    transition: all .2s ease;
}

input[type="text"]:hover{
    box-shadow: 0 0 0 0 #f34079 inset, #f34079 0 0 0 2px;
}

input[type="text"]:focus{
    background: #f34079;
    outline: 0;
    box-shadow: 0 0 0 0 #f34079 inset, #f34079 0 0 0 3px;
}

/* card src: https://uiverse.io/suleymanlaarabidev/perfect-husky-88 */

.add-member-button {
    width: 190px;
    height: 254px;
    background: transparent;
    border-radius: 10px;
    border: 5px dotted white;
    font-size: 30px;
    color: white;
    font-weight: 900;
}

.card {
    width: 190px;
    height: 254px;
    background: #f34079;
    transition: all 0.4s;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px  rgba(0, 0, 0, 0.705);
    font-size: 30px;
    font-weight: 900;
}

.card:hover {
    border-radius: 15px;
    cursor: pointer;
    transform: scale(1.2);
    box-shadow: 0px 0px 10px 5px  rgba(0, 0, 0, 0.705);
    background: #fc894d;
}

.first-content {
    height: 100%;
    width: 100%;
    transition: all 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    border-radius: 15px;
}

.card:hover .first-content {
    height: 0px;
    opacity: 0;
}

.second-content {
    height: 0%;
    width: 100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    transition: all 0.4s;
    font-size: 8px;
    font-weight: 200;
    transform: rotate(90deg) scale(-1);

}

.card:hover .second-content {
    opacity: 1;
    height: 100%;
    font-size: 1.8rem;
    transform: rotate(0deg);
}