*{
    color: #EAF6FF;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: Arial, sans-serif;
    text-decoration: none;
}
body{
    background-color: #0E0F19;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* HEADER */
header{
    margin: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
header h1{
    font-size: 4rem;
    margin-bottom: 15px;
    color: #FFA400;
    letter-spacing: 5px;
}
header h3{
    font-size: 2rem;
    color: #009FFD;
    margin-bottom: 10px;
}
header p{
    font-size: 1.5rem;
}

/* BODY */
body{
    width: 90%;
    margin: 50px auto;
}
/* INTERVALS */
.intervals{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 5px;
}
.intervals h2{
    font-size: 2rem;
}
.intervals p{
    font-size: 1.2rem;
}
.intervals p a{
    color: #FFA400;

}

/* CARDS */
.cards {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
    padding: 5px 20px;
}
.card {
    background-color: #873D48;
    border: 1px solid #FEF3;
    border-radius: 10px;
    padding: 80px 0px;
    width: 140px;
    text-align: center;
    font-size: 40px;
    flex-grow: 1;
    flex-shrink: 1;
}

.buttons{
    display: flex;
    justify-content: start;
    width: 100%;
    margin: auto;
    gap: 50px;
}
.buttons h2{
    text-align: center;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
}
.buttons button{    
    min-width: 150px;
    padding: 10px 0px;
    border: 3px solid #507DBC;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: .3s;
    z-index: 1;
    font-family: inherit;
    color: #507DBC;
    cursor: pointer;
}
.buttons button::before {
    content: '';
    width: 0;
    height: 400%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #507DBC;
    transition: .5s ease;
    display: block;
    z-index: -1;
}
.buttons button:hover::before {
    width: 105%;
} 
.buttons button:hover {
    color: #111;
}

/* CONDITIONS */
@keyframes swapAnimation {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50px);
    }
}

.card.highlight {
    background-color: #F09D51;
    transform: translateY(-20px);
    animation: highlightAnimation  1s ease ;
}
@keyframes highlightAnimation {
    0% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(-10px);
    }
}
.swap{
    background-color: darkblue;
}
button.disabled{
    cursor: default;
    background-color: #aaa;
    border: 3px solid #aaa;
    color: #aae;
    
}
button.disabled:hover{
    color: #aae;
}
.buttons button:disabled::before {
    background: #aaa;
}

.buttons button:disabled:hover::before {
    width: 0;
}
#shuffle{
    display: none;
}
