@import url("RetroTheme.css");

* {
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: max-content;
}

header{
    position: static;
    height: auto;
    width: 100%;
    border-radius: 18px;
    background: var(--background-dark);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    box-shadow: 0 2px 6px var(--boxshadow-dark);
    z-index: 1000;
}

h1{
    font-size: 6rem;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bolder;
}

h2{
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8px;
    font-weight: bold;
}
/* Nav Section */
.overlay-nav {
  position: absolute;
  top: 1.25em;
  left: 1.25em;
  z-index: 10;
}

.wrapper {
  width: 50px;
  height: 50px;
  position: relative;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 6rem; */
}
.wrapper .fab {
  background: #4285f4;
  width: 50px;
  height: 50px;
  position: relative;
  z-index: 3;
  border-radius: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fab-animation-reverse 0.4s ease-out forwards;
}
.wrapper .fab::before, .wrapper .fab::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 4px;
  background: #fff;
}
.wrapper .fab::before {
  width: 4px;
  height: 18px;
}
.wrapper .fab::after {
  width: 18px;
  height: 4px;
}
.wrapper .fac {
  width: 32px;
  height: 75px;
  border-radius: 64px;
  position: absolute;
  background: #fff;
  z-index: 2;
  padding: 0.5rem 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  opacity: 0;
  top: -1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: opacity 0.2s ease-in, top 0.2s ease-in, width 0.1s ease-in;
}
.wrapper .fac a {
  color: #344955;
  opacity: 0.5;
}
.wrapper .fac a:hover {
  transition: 0.2s;
  opacity: 1;
  color: #30444f;
}
.wrapper input {
  height: 100%;
  width: 100%;
  border-radius: 100%;
  cursor: pointer;
  position: absolute;
  z-index: 5;
  opacity: 0;
}
.wrapper input:checked ~ .fab {
  animation: fab-animation 0.4s ease-out forwards;
}
.wrapper input:checked ~ .fac {
  width: 32px;
  height: 75px;
  animation: fac-animation 0.4s ease-out forwards 0.1s;
  top: 3.5rem;
  opacity: 1;
}

@keyframes fab-animation {
  0% {
    transform: rotate(0) scale(1);
  }
  20% {
    transform: rotate(60deg) scale(0.93);
  }
  55% {
    transform: rotate(35deg) scale(0.97);
  }
  80% {
    transform: rotate(48deg) scale(0.94);
  }
  100% {
    transform: rotate(45deg) scale(0.95);
  }
}
@keyframes fab-animation-reverse {
  0% {
    transform: rotate(45deg) scale(0.95);
  }
  20% {
    transform: rotate(-15deg);
  }
  55% {
    transform: rotate(10deg);
  }
  80% {
    transform: rotate(-3deg);
  }
  100% {
    transform: rotate(0) scale(1);
  }
}
@keyframes fac-animation {
  0% {
    transform: scale(1, 1);
  }
  33% {
    transform: scale(0.95, 1.05);
  }
  66% {
    transform: scale(1.05, 0.95);
  }
  100% {
    transform: scale(1, 1);
  }
}

/* End Nav Section */

.links{
    display: flex;
    text-align: center;
    gap: 20px;
    margin-top: 20px;
}

.links a {
    color: #58a6ff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.clock{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 5em;
    text-align: center;
    color: var(--accent1);
}

.search-widget{
    margin-top: .75em;
    margin-bottom: 15px;
    width: 95%;
    max-width: 70%;
}

.search-widget input{
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 25px;
    border: none;
    outline: none;
    background: var(--element-background3);
    color: var(--element-text);
    box-shadow: 0 0 0 1px var(--element-boxshadow);
}

.search-widget input::placeholder{
    color: var(--element-text);
}

.search-widget input:focus{
    box-shadow: 0 0 0 2px var(--focused);
}

.search-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.search-actions button {
    padding: 10px 14px;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #30363d;
    color: #9ca4ad;
    font-size: 16px;
    text-align: center;
}

.search-actions button:hover{
    filter: brightness(0.97);
}

/* Link Buttons */

.btns{
    max-width: 50em;
}

.category-section{
    margin-bottom: 30px;
}

.category-section h2{
    display: flex;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.btn-row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5em;
    margin-top: 10px;
}

.link-btn {
    background-color: var(--element-background);
    border: 2px solid #422800;
    border-radius: 30px;
    box-shadow: var(--element-boxshadow) 4px 4px 0 0;
    color: var(--element-text);
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    padding: 4px 15px;
    line-height: 25px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.link-btn:active {
    box-shadow: var(--element-boxshadow) 2px 2px 0 0;
    transform: translate(2px, 2px);
}

.link-btn:hover{
    background-color: var(--element-background2);
}

@media (min-width: 768px) {
    .button-74 {
        min-width: 50px;
        padding: 0 10px;
    }

    .search-widget{
        max-width: 55%;
    }
}


