/*
 *
 *  © 2022 NUNG.CA 
 *  ALL RIGHTS RESERVED
 *  Date: June 10 2023
 *  Version: 1.0
 *
*/

/* Template */

:root {
  --font: #1c1c1c;
  --white: #f3f3f3;
  --redorange: #ec4e20;
  --orange: #ff9505;
  --blue: #016fb9;
  --blueLow: hwb(204 0% 28% / 0.5);
  --darkblue: rgb(0, 66, 110);
  --clearborder: rgba(0, 0, 0, 0.1);
  --lighterfont: #292929;
}

*
{
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body
{
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  background-image: url('../img/back.webp');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: 2000px;
  display: flex; 
  justify-content: center; 
  flex-direction: column;
  align-items: center; 
  color: var(--font);
}

.pad-h-1
{
  padding: 0 1em;
}

/* Snackbar Notify */

.snackNotify
{
	position: fixed;
	bottom: -150px;
	left: 2em;
  border: 2px solid var(--clearborder);
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 100px 80px rgba(0, 66, 110, 0.07), 0 41px 33px rgba(0, 66, 110, 0.05), 0 22px 17px rgba(0, 66, 110, 0.04), 0 12px 10px rgba(0, 66, 110, 0.035), 0 6px 5px rgba(0, 66, 110, 0.025), 0 2px 2px rgba(0, 66, 110, 0.02);
	color: var(--font);
	font-weight: 500;
	z-index: 100;
	display: none;
	justify-content: center;
	align-items: center;
  flex-wrap: wrap;
}

.snackNotify p
{
	padding: 1em 1.5em;
}

/* Content */

.content
{
  border: 2px solid var(--clearborder);
  border-radius: 15px;
  width: 70%;
  height: 70%;
  max-width: 1500px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex; 
  justify-content: center; 
  flex-direction: column;
  align-items: center; 
  text-align: center;
  overflow: auto;
  box-shadow: 0 100px 80px rgba(0, 66, 110, 0.07), 0 41px 33px rgba(0, 66, 110, 0.05), 0 22px 17px rgba(0, 66, 110, 0.04), 0 12px 10px rgba(0, 66, 110, 0.035), 0 6px 5px rgba(0, 66, 110, 0.025), 0 2px 2px rgba(0, 66, 110, 0.02);
}

.celebration
{
  width: 50px;
}

.content h1
{
  font-size: 3rem;
}

.content b
{
  user-select: none;
  cursor: help;
}

.row
{
  display: flex; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap;
  max-width: 100%;
  margin-top: 15px;
  gap: 10px;
}

.row-item
{
  font-weight: 500;
  border: 2px solid var(--white);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  transition: all 0.3s;
  text-decoration: none;
  overflow: hidden;
}

.item-top,
.item-bottom
{
  display: flex;
  width: 100%;
  transition: all 0.3s;
  justify-content: center;
  align-items: center;
}

.item-top
{
  height: 100%;
}

.item-bottom
{
  opacity: 0;
  display: flex;
  height: 0%;
  overflow: hidden;
}

.item-bottom p
{
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 0.9em;
  text-align: center;
}

.row-item .item-top img
{
  max-width: 35px;
  max-height: 35px;
  transition: all 0.3s;
}

@media (hover: hover) {
  .row-item:hover {
    border: 2px solid var(--font);
    border-radius: 15px;
    width: 90px;
    height: 90px;
    cursor: pointer;
  }
  .row-item:hover img {
    filter: invert(90%);
  }
  .row-item:hover .item-top
  {
    height: 60%;
  }
  .row-item:hover .item-top img
  {
    max-width: 45px;
    max-height: 45px;
  }
  .row-item:hover .item-bottom
  {
    opacity: 1;
    height: 40%;
    color: var(--font);
  }
}

/*

  Media Queries

*/

/* On smaller screens, where height is less than 450px, change the styles */
/* @media screen and (max-height: 450px) {
} */

@media only screen and (max-width: 500px) {
  .content
  {
    width: 90%;
    height: 90%;
  }

  .snackNotify
  {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .row-item:active
  {
    border: 2px solid var(--font);
    cursor: pointer;
  }

  .row-item:active img
  {
    filter: invert(90%);
  }

  /* Force squares */
  
  .row-item {
    border: 2px solid var(--white);
    border-radius: 15px;
    width: 90px;
    height: 90px;
    cursor: pointer;
    color: var(--white);
  }

  .row-item img {
    filter: invert(0%);
  }

  .row-item .item-top
  {
    height: 60%;
  }

  .row-item .item-top img
  {
    max-width: 45px;
    max-height: 45px;
  }

  .row-item .item-bottom
  {
    height: 40%;
    opacity: 1;
  }

}