:root {
    --white-text: #dadad7;
}

@keyframes anim{
    from {rotate: 0deg}
    to {rotate: 360deg}
}

.spinner{
    height: 6rem;
    width: 6rem;
    animation: anim 60s linear infinite;
}

.breaker{
    width: 3rem;
    visibility: hidden;
}

body{
    background-color: #23231f;
    color: var(--white-text);
    font-family: 'Montserrat', sans-serif;
}

.disp{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.intro{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.name{
    font-size: 1.8rem;
    margin: 0;
    color: whitesmoke;
}

.introText{
    margin: 0;
    width: 16rem;
    text-align: center;
    font-size: 1.1rem;
}

hr{
    width: 70%;
    border-top: 1px solid #dadad7;

}

.topnav{
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cardContainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease, visibility .5s ease;
}

.cardContainer.hidden {
    opacity: 0;
    visibility: hidden;
}

.cardContainer.hidden.final {
    display: none;
}

.ruleDisp{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    visibility: visible;
    gap: 1rem;
    opacity: 1;
    transition: opacity .5s ease, visibility .5s ease;
}

.ruleDisp.hidden{
    opacity: 0;
    visibility: hidden;

}

.ruleDisp.hidden.final {
    display: none;
}

.ruleEntry{
    margin: 0;
    color: whitesmoke;
    font-family: 'Montserrat', sans-serif;
}

.card{
    padding: 10px;
    display: flex;
    border-radius: 10px;
    height: 3rem;
    width: 90%;
    justify-content: space-between;
    background-color: #2a2a27;
    text-decoration: none;

}

.cardDesc{
    color: whitesmoke;
    max-width: 70%;
    text-align: center;
    align-self: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px;
}

.thumbnail{
    border-radius: 4px;
    height: 3rem;
    width: 3rem;
    align-self: center;
}

.copy{
    height: 1rem;
    width: 1rem;
    padding: 4px;
    align-self: center;
    filter: invert(1);
    border-radius: 4px;
}

.copy:hover{
    cursor: pointer;
    background-color: #BABABD;
}

.instagram{
    height: 1.7rem;
    width: 1.7rem;
    filter: invert(1);
}

.instagram:hover{
    cursor: pointer;
}

.btn{
    background-color:#41413d;
    color: whitesmoke;
    border-radius: 4px;
    border: none;
    padding: 4px;
    width: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #41413d;
  color: whitesmoke;
  padding: 12px 24px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  font-size: 0.8rem;
  width: 7rem;
  text-align: center;
}

.toast.show {
  opacity: 1;
}

