html {
  font-size: 62.5%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #045d80da;
  font-size: 3rem;
  background-size: 100% 100%;
}

.matchinggame {
  font-size: 1.7rem;
  /*  position: absolute;
  bottom: 50px;
  right: 5px; */
  width: 300px;
  height: 500px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tictactoe {
  font-size: 1.7rem;
  /*  position: absolute;
  bottom: 50px;
  right: 5px; */
  width: 300px;
  height: 500px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cardgenerator {
  font-size: 1.7rem;
  /*  position: absolute;
  bottom: 50px;
  right: 5px; */
  width: 300px;
  height: 500px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.statescapitals {
  font-size: 1.7rem;
  /*  position: absolute;
  bottom: 50px;
  right: 5px; */
  width: 300px;
  height: 500px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.popup-countdown {
  background-color: hsl(204, 52%, 85%);

  position: absolute;
  bottom: 50px;
  right: 50px;
  width: 150px;
  height: 150px;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

/*********************
********HERO*******
***********************/
.section-hero {
  background-image: url(/img/pexels-codioful-6985001.jpg);
  background: #4cc9f0;
  background: radial-gradient(circle, #4cc9f0 20%, #3a0ca3 100%);
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  display: grid;
  max-width: 130rem;
  padding: 0 3.2rem;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 6rem;
  background-color: #fff;
  padding: 15px 30px 30px 30px;
  border-radius: 25px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.322);
}

.hero-text-box {
  padding-bottom: 20px;
}

#todays-date {
  padding: 15px 10px 5px 10px;
  font-size: 2.3rem;
  text-align: center;
}

#popup-text {
  padding: 0px 25px 5px;
  font-size: 1.7rem;
  margin-bottom: 10px;
  text-align: center;
}

/* HEADER*/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px 15px 10px;
  background: #b5179e;
  background: linear-gradient(90deg, #b5179e 0%, #480ca8 100%);
  color: #fff;
}

.logo {
  height: 3rem;
  
}

/* STICKY NAV */

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 6rem;
  padding-top: 0;
  padding-bottom: 0;

  background: #b5179e;
  background: linear-gradient(90deg, #b5179e 0%, #480ca8 100%);
  color: #fff;

  align-items: center;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.534);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/* MAIN NAV */

.main-nav-list {
  list-style: none;
  display: flex;

  font-size: 15px;
  gap: 3rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  text-decoration: none;
  color: rgba(222, 38, 191, 1);
}

/* GALLERY */
.modal-gallery {
  
  position: fixed;
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px
}

.top-box {
  display: grid;
  grid-template-columns: 300px auto;
}

.first-box {
  justify-content: left;
}

.display-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  gap: 300px
}

.gallery-top-text {
  /*font-family: Oleo Script Swash Caps, system-ui;*/
  padding-top: 100px;
  padding-left: 10px;
  color: #000;
  text-align: justify;
  font-size: 15px;
}

.app-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-content: center;
}
.gallery-top-img {
  display: block;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 40px;
  height: 600px;
  width:270px;
  border: 2px solid black;
}

.app-gallery-item {
  overflow: hidden;
  width: 125px;
  height: 125px;
  border: 20px solid white;
  display: block;
}

.app-gallery-item img {
  display: block;
  width: 100%;

  transition: all 0.4s;
}

.app-gallery-item img:hover {
  transform: scale(1.6);
}


/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #fff;
}
.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* boxes */

.box {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.322);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.4s;
}

.box:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.658);
}

.box-content {
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}

.box-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 3.2rem;
}

/* stretched box */

.stretch {
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
  box-shadow: rgba(0, 0, 0, 0.50) 0px 25px 30px -35px;
  
 }

 .stretch > img {
  box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 36px -28px inset;
 }

.stretch-box-right-top {
  
  transform: perspective(800px) rotate3d(1, -10, -4, 60deg);
  transition: transform 2s;
}

.stretch-box-right-btm {
  
  position: relative;

  left: 200px;
  bottom: 0px;
  transform: perspective(1000px) rotate3d(1, -10, 0, 60deg);
  transition: transform 2s;
}

.stretch-box-left-top {
  
  position: relative;

  transform: perspective(800px) rotate3d(1, 10, 0, 60deg);
  transition: transform 2s;
}
.stretch-box-left-btm {
  
  position: relative;

  left: -300px;
  transform: perspective(1000px) rotate3d(1, 10, -2, 63deg);
  transition: transform 2s;
}

/*hover box*/
.stretch-box-left-top:hover {
  transform: perspective(600px) rotate3d(1, 10, 0, 20deg);
}
.stretch-box-left-btm:hover {
  transform: perspective(600px) rotate3d(1, 10, -2, 20deg);
}
.stretch-box-right-top:hover {
  transform: perspective(400px) rotate3d(1, -20, -3, 20deg);
}
.stretch-box-right-btm:hover {
  transform: perspective(400px) rotate3d(1, -10, 0, 20deg);
}

/* break */
.empty-space {
  height: 100px;
}

/* section */
.section {
  margin-bottom: 10rem;
  margin-top: 5rem;
}

.hrstyle {
  height:2px;
  border-width:0;
  color:#4cc9f0;
  background-color:#4cc9f0;
  width: 40%;
  margin: auto;
  margin-bottom: 5rem;
}

.vanillajs {
  background-color: #fff;
}

.bluebkg {
  background-color: #4cc9f0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.bluebkg .container {
  background-color: #fff;
  padding-bottom: 5rem;
}

/* udemy logo */
.udemy-logo {
  height: 3.2rem;
  filter: brightness(0);
  opacity: 50%;
}

.udemy-box {
  display: flex;
  justify-content: center;
  padding-top: 2rem
}

.matching {
  display: block;
  margin-left: auto;
  margin-right: auto;
  opacity: 100%;
}
