* {
    margin: 0;
    padding: 0;
    color: white;
    text-decoration: none;
}

body {
    /* background-image: url('img/redBG.png'); */
    background: linear-gradient(to bottom, #1a1b2f, #161727);
    background-size: cover;
    height: 100vh;
    background-color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: sans-serif;

    user-select: none;
    overflow: hidden;
}

.container {
}

.box-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.box {
    align-items: center;
    background-color: #1e1e20;
    color: white;
    border-radius: 32px;
    margin: 2vh;
    position: relative;
    width: 15rem;
    height: 12rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    border: solid rgba(255, 255, 255, 0) 1px;
}

@media only screen and (max-width: 550px) {
    .box {
        width: 10rem;
        height: 8rem;
    }
}

@media only screen and (max-width: 390px) {
    .box {
        width: 8rem;
        height: 7rem;
    }
}

.box::before {
    content: '';
    position: absolute;
    top: -2%; /* half of the added width & height */
    left: -2%;
    width: 104%;
    height: 104%;
    background: linear-gradient(to right, #3d9fa3, #b7305c);
    z-index: -1;
    border-radius: inherit;
}

@keyframes scaleAnimation {
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.075);
    }
}

.box:hover::before {
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #3da0a37e, #b7305d7a);
}

.box:hover {
    transition: all 0.3s;
    scale: 1.05 1.05; 
    cursor: pointer;
    border: solid white 1px;
    box-shadow: 1px 1px 4px white;
    /* transform: rotate(-360deg); */
    background-color: #262626;
    animation: scaleAnimation 0.75s infinite alternate;
} 

#navbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 0rem;
    left: 1rem;
    top: 1rem;
}

.navbarOpen {
    border-right: solid rgba(255, 255, 255, 0.116) 0.25px;
    border-bottom: solid rgba(255, 255, 255, 0.116) 0.25px;
    /* box-shadow: 1px 0px 4px rgba(255, 255, 255, 0.363); */
    background-color: #00000020;
    padding: 1rem;
    padding-right: 60% !important;
}

#nav-button {
    user-select: none;
    color: white;
    left: 1rem;
    top: 1rem;
}

#nav-button:hover {
    cursor: pointer;
    animation: scaleAnimation 0.6s infinite alternate;
}

.nav-list {
    display: flex;
    flex-direction: row;
    padding-left: 1rem;
}

.invisible, .visible {
    margin: 2px;
}

.invisible {
    visibility: hidden;
}

.visible {
    visibility: visible;
}




/* BUTTON -----------------------------------------  */
/* html, body {
    height: 100%;
    overflow: hidden;
  }
  
  body {
    background: #393994;
  } */
  
  .pagination-wrapper {
    font-size: 0;
    position: absolute;
    bottom: 15vh;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  @keyframes pagination-container--animation-prev {
    0% { transform: translateX(0); }
    100% { transform: translateX(18px); }
  }
  
  @keyframes pagination-container--animation-next {
    0% { transform: translateX(0); }
    100% { transform: translateX(-18px); }
  }
  
  .transition-prev .pagination-container {
    animation: pagination-container--animation-prev 0.3s forwards;
  }
  
  .transition-next .pagination-container {
    animation: pagination-container--animation-next 0.3s forwards;
  }
  
  .little-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 100%;
    display: inline-block;
    vertical-align: middle;
    margin: 0 6px;
    position: relative;
    z-index: 10;
  }
  
  .little-dot--first,
  .little-dot--last {
    z-index: 5;
  }
  
  @keyframes slideLeft {
    0% {
      transform: translateX(0px);
    }
  
    100% {
      transform: translateX(-18px);
    }
  }
  
  .transition-prev .little-dot--first {
    animation: slideLeft 0.4s 0.3s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  @keyframes little-dot--first--animation {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }
  
  .transition-next .little-dot--first {
    animation: little-dot--last--animation 0.3s forwards;
  }
  
  
  @keyframes little-dot--last--animation {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }
  
  .transition-prev .little-dot--last {
    animation: little-dot--last--animation 0.3s forwards;
  }
  
  @keyframes slideRight {
    0% {
      transform: translateX(0px);
      opacity: 1;
    }
  
    100% {
      transform: translateX(18px);
      opacity: 1;
    }
  }
  
  .transition-next .little-dot--last {
    animation: slideRight 0.4s 0.3s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .big-dot {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: #3d9fa3;
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
  }
  
  .transition-next .big-dot {
    right: auto;
    left: -6px;
  }
  
  .big-dot-container {
    width: 18px;
    height: 18px;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  .transition-next .big-dot-container {
    right: auto;
    left: 3px;
  }
  
  @keyframes big-dot-container--animation-prev {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(-50%) rotate(-179deg); }
  }
  
  @keyframes big-dot-container--animation-next {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(-50%) rotate(-181deg); }
  }
  
  .transition-prev .big-dot-container {
    animation: big-dot-container--animation-prev 0.3s forwards;
  }
  
  .transition-next .big-dot-container {
    animation: big-dot-container--animation-next 0.3s forwards;
  }
  
  .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    fill: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  
  .btn:hover {
    opacity: 0.6;
  }
  
  .btn--next {
    left: calc(100% + 20px);  
  }
  
  .btn--prev {
    right: calc(100% + 20px);
  }

