@import url(https://fonts.googleapis.com/css?family=Righteous);

/* Global Reset and Base Styles */
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

/* Base Layout */
main {
  min-height: 100vh;
  max-width: 100%;
  background: linear-gradient(to right top, #65dfc9, #6cdbeb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass {
  animation: fadeInAnimation ease 3s;
  max-width: 100%;
  width: 85%;
  min-height: 80vh;
  background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border-radius: 2rem;
  z-index: 2;
  backdrop-filter: blur(2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typography */
h1 {
  margin-top: 0.25rem;
  justify-self: center;
  align-items: center;
  color: #4188eb;
  font-family: 'Righteous', serif;
  font-size: 3em;
  text-shadow: 0.06em 0.06em 0 hsla(230, 40%, 50%, 1);
}

h2,
h3,
h4,
h5,
h6,
h7,
h8 {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  align-items: center;
  justify-content: center;
  color: #4188eb;
  margin: 0.5rem 0;
}

h2 {
  font-size: 1.25rem;
  font-weight: bold;
}

h3 {
  font-size: 2.5rem;
}

h4,
h5 {
  font-size: 1rem;
  line-height: 150%;
  font-weight: bold;
}

h6,
h7 {
  font-size: 1.75rem;
  font-weight: bold;
  margin: 1rem 0;
}

h8 {
  font-size: 1.25rem;
  font-weight: bolder;
  margin-bottom: 0.8rem;
  margin-left: 0.5rem;
  padding-right: 0.8rem;
}

p {
  margin: 0.5rem 0;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2rem 2rem 0 0;
  margin: 0;
  box-shadow: 0 0.02rem 0.06rem rgba(0, 0, 0, 0.1);
}

.navs {
  text-decoration: none;
  color: #4188eb;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
}

.navbar :hover {
  background: rgba(255, 255, 255, 0.3);
}

.navs.loaded {
  opacity: 1;
  transform: translateY(0);
}

.navs:nth-child(1) {
  animation: slideInFromRight 0.5s ease forwards;
}

.navs:nth-child(2) {
  animation: slideInFromRight 0.5s ease 0.1s forwards;
}

.navs:nth-child(3) {
  animation: slideInFromRight 0.5s ease 0.2s forwards;
}

.navs:nth-child(4) {
  animation: slideInFromRight 0.5s ease 0.3s forwards;
}

.navs:nth-child(5) {
  animation: slideInFromRight 0.5s ease 0.4s forwards;
}

.navs:nth-child(6) {
  animation: slideInFromRight 0.5s ease 0.5s forwards;
}

.navs:nth-child(7) {
  animation: slideInFromRight 0.5s ease 0.6s forwards;
}

.navs:nth-child(8) {
  animation: slideInFromRight 0.5s ease 0.7s forwards;
}

.navs>div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navs.loaded>div {
  opacity: 1;
}

.selected {
  background: rgba(255, 255, 255, 0.3);
}

/* Common Components */
.btn {
  background-color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  border: none;
  color: #4188eb;
  padding: 0.2rem 0.4rem;
  margin-bottom: 0.5rem;
  font-size: 2.3rem;
  cursor: pointer;
}

.btn:hover {
  background-color: #65dfc9;
}

.cstmBtn {
  background-color: white;
  padding: 0.3rem;
  padding-bottom: 1rem;
  width: 100%;
  height: 3.15rem;
  border-radius: 0.75rem;
  border: none;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Layout Styles */
.dashboard {
  flex: 1.5;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
}

/* Social Media Icons */
.socials,
.socials2 {
  display: flex;
  max-width: 75%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 0.6rem;
  gap: 1rem;
  animation: 0s ease-out 1s 1 falls;
}

.custom-icon {
  width: 2.35rem;
  margin-bottom: 0.2rem;
  height: auto;
  border-radius: 0.5rem;
  display: flex;
  justify-self: center;
  justify-content: center;
  filter: brightness(0) saturate(100%) invert(28%) sepia(94%) saturate(747%) hue-rotate(183deg) brightness(91%) contrast(92%);
}

.avatar,
.logos,
.logos2 {
  max-width: 55%;
  justify-self: center;
  justify-content: center;
  border-radius: 4rem;
}

.avatar {
  justify-self: center;
  justify-content: center;
  width: 26rem;
  height: auto;
  border-style: double;
  border-width: 0.5rem;
  border-color: white;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.logos,
.logos2 {
  width: 20rem;
  height: auto;
  border: #ffffff 1.5rem;
}

/* Tables */
table,
th,
td {
  border: 1px solid #ddd;
  border-collapse: collapse;
  padding: 0.5rem;
  text-align: left;
}

tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.5);
}

caption {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #4188eb;
}

/* Lists */
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li {
  margin: 0.5rem 0;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

li:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(5px);
}

li a {
  color: #4188eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

li a:hover {
  color: #65dfc9;
}

/* Animations */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.circle1,
.circle2 {
  position: absolute;
  background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
  border-radius: 50%;
  z-index: 1;
}

.circle1 {
  width: 20rem;
  height: 20rem;
  top: 10%;
  right: -5%;
  animation: slideInFromRight 1s ease;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.circle2 {
  width: 15rem;
  height: 15rem;
  bottom: 10%;
  left: -5%;
  animation: slideInFromLeft 1s ease;
}

/* Responsive Design */
@media screen and (max-width: 50rem) {
  .navbar navs {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}

@media only screen and (max-width: 768px) {
  .glass {
    width: 95%;
    min-height: 90vh;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .logos,
  .logos2 {
    width: 15rem;
  }
  
  .avatar {
    width: 20rem;
  }
  
  h3 {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 2000px) {
  .glass {
    width: 70%;
    min-height: 85vh;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .logos,
  .logos2 {
    width: 25rem;
  }
  
  .avatar {
    width: 35rem;
  }
}

@media only screen and (max-width: 480px) {
  .glass {
    width: 98%;
    min-height: 95vh;
  }
  
  .btn {
    padding: 0.2rem 0.45rem;
    font-size: 2rem;
  }

  .cstmBtn {
    padding: 0.3rem;
    padding-bottom: 1rem;
    width: 100%;
    height: 2.8rem;
    
  }

  .custom-icon {
    width: 2.15rem;
  }
  
  .logos,
  .logos2 {
    width: 12rem;
  }
  
  .avatar {
    width: 18rem;
  }

  .socials2 {
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 3rem;
  }
  
  h2 {
    font-size: 1rem;
  }
  
  h8 {
    font-size: 1rem;
    margin-left: 0.3rem;
    padding-right: 0.5rem;
  }
  
  .circle1,
  .circle2 {
    display: none;
  }

  table {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    font-size: 0.85rem;
  }
  thead, tbody, tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  th, td {
    word-break: break-word;
    padding: 0.3rem;
  }
  caption {
    display: block;
    width: 100vw;
    max-width: 100vw;
    margin-left: -4vw;
    text-align: center;
    font-size: 1rem;
    padding: 0.5rem 0;
  }
} 