body {
  background: rgba(0, 0, 0, 0.02);
  /* font-family: Dosis, sans-serif; */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html {
  scroll-behavior: smooth;
}

.nav-logo-title img {
  content: url('https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/CSS3_logo_and_wordmark.svg/1200px-CSS3_logo_and_wordmark.svg.png');
  display: flex;
  position: absolute;
  top: 10px;
  right: 95%;
  height: 40px;
  width: 30px;
  background-size: cover;
  overflow: hidden;
}
.nav-logo-title img:hover {
  transform: translateY(-5%);
  transition: 0.5s;
}
nav {
  background: #fff;
  border: 0;
  padding: 10px;
  margin: auto;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.03);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
}
.nav-logo-title {
  display: flex;
  margin: 20px auto;
}
nav ul {
  position: absolute;
  top: 5px;
  right: 30px;
}
nav ul li {
  display: inline-block;
  list-style: none;
  margin: 0 25px;
}
nav ul li a {
  text-decoration: none;
  color: black;
  padding: 0 10px;
  position: relative;
}
nav div a {
  text-decoration: none;
  color: black;
  padding: 0 10px;
  position: absolute;
  right: 85%;
  top: 22px;
}
nav div a::after {
  content: '';
  width: 0;
  height: 3px;
  background: rgb(150, 210, 61);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  transition: 0.5s;
}
nav div a:hover::after {
  width: 100%;
}
nav ul li a::after {
  content: '';
  width: 0;
  height: 3px;
  background: #f14a60;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  transition: 0.5s;
}
nav ul li a:hover::after {
  width: 100%;
}
h1,
h2 {
  color: #f14a60;
  font-weight: bold;
}
#header {
  position: relative;
  padding: 25px;
  left: 1%;
  width: 85%;
  animation: slideIn 1s linear;
}
.header-texts h1 {
  font-size: 50px;
}
.header-texts h3 {
  width: 52%;
  font-size: 25px;
  position: relative;
  top: -27px;
}
.header-texts p {
  width: 65%;
  position: relative;
  top: -40px;
}
.header-filler {
  position: absolute;
  top: 200px;
  left: 85%;
  width: 250px;
  height: 250px;
  border: 1px solid white;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.header-filler div::before {
  content: '';
  height: 150%;
  width: 150%;
  position: absolute;
  background: conic-gradient(
    #fd004c,
    #fe9000,
    #fff020,
    #3edf4b,
    #3363ff,
    #b102b7,
    #fd004c
  );
  right: -65px;
  top: -25%;
  animation: spin 2s infinite linear;
}
@keyframes spin {
  100% {
    transform: rotate(-360deg);
  }
}
.header-filler div::after {
  content: 'CSS TEMPLATE';
  position: absolute;
  font-weight: bolder;
  background-color: #1c1b29;
  height: 93%;
  width: 93%;
  top: 3.5%;
  left: 3.5%;
  border-radius: 5px;
  font-size: 20px;
  color: #f14a60;
  letter-spacing: 6px;
  display: grid;
  place-items: center;
}
@keyframes fade-down {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}
@keyframes slideIn {
  0% {
    transform: translateX(-500px);
  }
  60% {
    transform: translateX(0px);
  }
  62% {
    transform: skewX(0deg) translateX(30px);
  }
  70% {
    transform: skew(-20deg);
  }
  80% {
    transform: skew(0deg) translate(0);
  }
  90% {
    transform: skew(-5deg);
  }
  100% {
    transform: skew(0deg);
  }
}
#content {
  position: relative;
  padding: 25px;
  left: 1%;
  width: 85%;
  animation: fade-down 1s linear;
}
.content-first h2 {
  font-size: 50px;
  position: relative;
  left: 20px;
}
.content-first p {
  position: relative;
  top: -35px;
  width: 70%;
  left: 20px;
}
.content-first {
  margin-left: 100px;
  background: #fdf5f5;
  border: 0;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.03);
  margin-bottom: 50px;
}
.content-first::after {
  content: 'HELLO WORLD!';
  font-weight: bold;
  font-size: 20px;
  display: grid;
  place-items: center;
  color: white;
  position: absolute;
  top: 150px;
  right: 5%;
  height: 200px;
  width: 200px;
  animation: glow 5s linear infinite;
  letter-spacing: 6px;
}
@keyframes glow {
  0%,
  18%,
  20%,
  50.1%,
  60%,
  80%,
  90.1%,
  92% {
    color: #0e3742;
    text-shadow: none;
  }
  18.1%,
  20.1%,
  30%,
  50%,
  60.1%,
  65%,
  80.1%,
  90%,
  92.1%,
  100% {
    color: #fff;
    text-shadow: 0 0 10px #03bcf4, 0 0 20px #03bcf4, 0 0 40px #03bcf4,
      0 0 80px #03bcf4, 0 0 160px #03bcf4;
  }
}
@keyframes glow2 {
  0%,
  18%,
  20%,
  50.1%,
  60%,
  80%,
  90.1%,
  92% {
    color: #56445c;
    text-shadow: none;
  }
  18.1%,
  20.1%,
  30%,
  50%,
  60.1%,
  65%,
  80.1%,
  90%,
  92.1%,
  100% {
    color: #fff;
    text-shadow: 0 0 10px #bc60db, 0 0 20px #bc60db, 0 0 40px #bc60db,
      0 0 80px #bc60db, 0 0 160px #bc60db;
  }
}
.content-second h2 {
  font-size: 50px;
  position: relative;
  left: -20px;
}
.content-second {
  margin-left: 100px;
  background: rgb(255, 254, 241);
  border: 0;
  padding: 10px;
  text-align: right;
  border-radius: 10px;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.03);
}
.content-second h4 {
  font-size: 25px;
  position: relative;
  top: -35px;
  left: -20px;
}
.content-second p {
  position: relative;
  top: -45px;
  margin-left: 30%;
  left: -20px;
}
.content-second::after {
  content: 'HISTORY';
  font-weight: bold;
  font-size: 40px;
  display: grid;
  place-items: center;
  color: #3edf4b;
  position: absolute;
  top: 655px;
  right: 70%;
  height: 200px;
  width: 200px;
  letter-spacing: 4px;
  animation: distort 2s infinite forwards;
}
.content-second::before {
  content: 'HISTORY';
  font-weight: bold;
  font-size: 40px;
  display: grid;
  place-items: center;
  color: #fff020;
  position: absolute;
  top: 655px;
  right: 70%;
  height: 200px;
  width: 200px;
  letter-spacing: 4px;
  animation: distort 3s infinite forwards;
}
.content-first::before {
  content: 'HISTORY';
  font-weight: bold;
  font-size: 40px;
  display: grid;
  place-items: center;
  color: #fd004c;
  position: absolute;
  top: 655px;
  right: 70%;
  height: 200px;
  width: 200px;
  letter-spacing: 4px;
  animation: distort 4s infinite forwards;
}
@keyframes distort {
  0% {
    top: 80%;
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
    top: 50%;
  }
}
aside {
  margin-left: 100px;
  margin-bottom: 50px;
  display: flex;
  justify-content: left;
  align-items: left;
  min-height: 50vh;
  width: 80%;
  flex-direction: row;
  background: #f9f9f9;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.05);
  border-radius: 15px;
}
aside ul {
  flex-grow: 1;
}
aside h2 {
  color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
aside::after {
  display: flex;
  position: relative;
  top: 80px;
  content: 'RESOURCES & OTHER WORKS';
  color: #f14a60;
  font-size: 25px;
  font-weight: bolder;
  width: 200px;
}
aside ul a {
  left: -150px;
  top: 10px;
  letter-spacing: 2px;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
  position: relative;
  text-decoration: none;
  color: black;
  padding: 0 5px;
  width: 200px;
  height: 50px;
  cursor: copy;
  display: grid;
  place-items: center;
  transition: 0.5s;
}
aside ul li {
  list-style: none;
}
aside ul a:hover {
  animation: glow2 3s infinite forwards;
}
aside::before {
  color: black;
  content: 'RESOURCES & OTHER WORKS';
  position: relative;
  width: 2000px;
  top: 300px;
  animation: distortLeft 8s infinite;
}
@keyframes distortLeft {
  0% {
    opacity: 0;
    left: 80%;
  }
  15% {
    opacity: 1;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    left: 10%;
  }
}
.articles {
  position: relative;
  padding: 25px;
  left: 1%;
  width: 85%;
}
.articles a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1.5px solid #f14a60;
  border-radius: 15px;
  font-size: 15px;
  padding: 5px;
  text-decoration: none;
  color: #f14a60;
  transition: 0.5s;
}
.articles a:hover {
  background-color: #f14a60;
  color: #f9f9f9;
}
.article {
  margin-left: 100px;
  flex-direction: row;
  background: #faf4f4;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  padding: 15px;
  overflow: hidden;
}
.article img[alt*='Article 1'] {
  content: url('https://images.cloudflareapps.com/EJzyxsCCQOeRa71a83tX_background-2.jpeg');
  display: flex;
  position: relative;
  margin-left: 0%;
  top: 0px;
  height: 200px;
  width: 400px;
  border-radius: 15px;
  background-size: cover;
  overflow: hidden;
}
.article img[alt*='Article 2'] {
  content: url('https://i.pinimg.com/originals/33/b3/0a/33b30abc85f6725e0bc7b538d46762a0.gif');
  display: flex;
  position: relative;
  margin-left: 0;
  top: 0px;
  height: 200px;
  width: 400px;
  border-radius: 15px;
  background-size: cover;
  overflow: hidden;
}
.article h3 {
  min-height: 50px;
}
.article img[alt*='Article 3'] {
  content: url('https://64.media.tumblr.com/tumblr_lkngq9Il2U1qaezmeo1_500.gif');
  display: flex;
  position: relative;
  margin-left: 0;
  top: 0px;
  height: 200px;
  width: 400px;
  border-radius: 15px;
  background-size: cover;
  overflow: hidden;
}
.row-second img[alt*='Article 4'] {
  content: url('https://media.istockphoto.com/id/1124838925/vector/programming-code-application-window.jpg?s=612x612&w=0&k=20&c=2J2JZP7cQltD03QkOMl6JYfzcmD-GN7bjrWVuieD7Jc=');
  display: flex;
  position: relative;
  margin-left: 10px;
  top: 20px;
  height: 150px;
  width: 150px;
  border-radius: 15px;
  background-size: cover;
  overflow: hidden;
}
.creativity {
  padding: 15px;
  width: 85%;
  margin-left: 100px;
  margin-top: 50px;
  margin-bottom: 50px;
  border: 2px solid #f14a60;
  border-radius: 15px;
  overflow: hidden;
}
.mini-one,
.mini-two,
.mini-three,
.mini-four {
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 15px;
  width: 150vh;
  height: 30vh;
  background: #fdfafa;
  box-shadow: 0px 5px rgba(0, 0, 0, 0.05);
}
.mini-one h2,
.mini-one p {
  position: relative;
  display: flex;
  left: 200px;
  top: -140px;
  width: 70%;
}
.mini-two h2,
.mini-two p {
  position: relative;
  display: flex;
  left: 200px;
  top: -140px;
  width: 70%;
}
.mini-three h2,
.mini-three p {
  position: relative;
  display: flex;
  left: 200px;
  top: -140px;
  width: 70%;
}
.mini-four h2,
.mini-four p {
  position: relative;
  display: flex;
  left: 200px;
  top: -140px;
  width: 70%;
}
.mini-two img[alt*='Second image'] {
  content: url('https://media1.giphy.com/media/WS6CDvvyNDrhZRFBtT/giphy.gif');
  display: flex;
  position: relative;
  top: 40px;
  left: 15px;
  height: 150px;
  width: 150px;
  border-radius: 15px;
  background-size: cover;
  overflow: hidden;
}
.mini-three img[alt*='Third image'] {
  content: url('https://i.pinimg.com/originals/b2/9e/0f/b29e0fc7d7859c051fe4b0e2ee4f7078.gif');
  display: flex;
  position: relative;
  top: 40px;
  left: 15px;
  height: 150px;
  width: 150px;
  border-radius: 15px;
  background-size: cover;
  overflow: hidden;
}
.mini-four img[alt*='Four image'] {
  content: url('https://media0.giphy.com/media/WPtzVOKMymmZrJv8fO/200w.gif?cid=6c09b952k5idwzgix93rjgn51jbhkz2pysqhvhlouj2ruikg&rid=200w.gif&ct=g');
  display: flex;
  position: relative;
  top: 40px;
  left: 15px;
  height: 150px;
  width: 150px;
  border-radius: 15px;
  background-size: cover;
  overflow: hidden;
}
.mini-one img[alt*='First image'] {
  content: url('https://media.tenor.com/52WcdD56kksAAAAC/bulb-light-bulb.gif');
  display: flex;
  position: relative;
  top: 30px;
  left: 15px;
  height: 150px;
  width: 150px;
  border-radius: 15px;
  background-size: cover;
  overflow: hidden;
}
.creativity-wrapper {
  max-height: 300px;
  overflow: scroll;
  margin: 0 4px 0 0;
  scroll-snap-type: y mandatory;
}

.creativity-wrapper::-webkit-scrollbar {
  width: 10;
}
.creativity-wrapper::-webkit-scrollbar-thumb {
  background: #03bcf4;
}
.creativity-wrapper::-webkit-scrollbar-track {
  background-color: transparent;
}
footer {
  margin-left: 40px;
  margin-top: 150px;
  margin-bottom: 40px;
  width: 65%;
  padding: 0.1px 15%;
  background-color: #1d2b3a;
  color: #efefef;
  border-radius: 15px;
}
footer h3 {
  color: #f14a60;
}
.footer-form p,
.footer-logo p {
  position: relative;
  top: -10px;
}
.footer-credit {
  text-indent: -99999px;
  justify-content: center;
  align-items: center;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.footer-credit::after {
  text-indent: 0;
  content: 'Template Made by Nathan Darrell & Copyright @ 2023';
  margin-bottom: 10px;
  color: #f14a60;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: bolder;
}
.footer-logo {
  margin-top: 50px;
}
.footer-form input[type='text'] {
  position: relative;
  z-index: 1;
  top: -15px;
  width: 100%;
  margin-bottom: 30px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #1d2b3a;
  border-radius: 5px;
  outline: none;
  color: #fff;
  font-size: 1em;
}
.footer-form label[for='name'] {
  position: relative;
  z-index: 2;
  background: #1d2b3a;
  width: fit-content;
  border-radius: 5px;
  left: 5px;
  top: -9px;
  padding: 10px;
  pointer-events: none;
  font-size: 0.5em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}
.footer-form select {
  position: relative;
  z-index: 1;
  top: -40px;
  width: 103%;
  margin-bottom: 30px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #1d2b3a;
  border-radius: 0.5em;
  outline: none;
  color: #fff;
  font-size: 1em;
  list-style: none;
  appearance: none;
}
.footer-form label[for='gender'] {
  position: relative;
  z-index: 2;
  background: #1d2b3a;
  width: fit-content;
  border-radius: 5px;
  left: 5px;
  top: -34px;
  padding: 10px;
  pointer-events: none;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}
.footer-form input[type='radio'] {
  display: flex;
  position: relative;
  margin: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-form button {
  position: relative;
  top: -70px;
  border: 1px solid #3498db;
  background: none;
  padding: 10px 20px;
  font-size: 20px;
  cursor: pointer;
  color: #3498db;
  transition: 0.8s;
}
.footer-form button:hover {
  background: #3498db;
  color: #fff;
}
.footer-form input[type='radio'] {
  position: relative;
  top: -70px;
  display: flex;
  height: 10px;
  margin-bottom: -5px;
}
form p {
  color: transparent;
  margin-top: -20px;
  text-indent: -99999px;
  justify-content: center;
  align-items: center;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
form p::after {
  content: 'Favorite Language';

  animation: background-pan 3s linear infinite;
  text-indent: 0;
  font-size: 20px;
  position: relative;
  display: grid;
  margin-top: -20px;
  top: 10px;
  left: -250px;
  font-weight: bold;
  background: linear-gradient(to right, #f14a60, #fd004c, #ea0b4e, #f14a60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  background-size: 200%;
}
@keyframes background-pan {
  from {
    background-position: 0% center;
  }
  to {
    background-position: -200% center;
  }
}
.footer-form label[for='html'],
label[for='css'],
label[for='javascript'] {
  position: relative;
  width: fit-content;
  border-radius: 5px;
  left: 15px;
  top: -83px;
  padding: 10px;
  pointer-events: none;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}
.footer-form {
  height: 250px;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: #f14a60;
}
::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
}
@media screen and (max-width: 600px) and (min-width: 375px){
  body {
    max-width: fit-content;
  }
  nav{
    z-index: 5;
    width:100%;
  }
  .header-filler {
    display: none;
  }
  .nav-logo-title img {
    position: absolute;
    left: 20px;
  }
  nav div a {
    position: absolute;
    left: 55px;
    top: 10px;
  }
  nav ul {
    width: 250px;
    position: absolute;
    left: 100px;
    top: 5px;
    font-size: 10px;
  }
  nav ul li {
    margin: 0 0;
  }
  .content-first::after {
    position: absolute;
    top: -450px;
    left: 220px;
  }
  .content-first {
    margin: 0;
    margin-bottom: 40px;
  }
  .content-second {
    margin: 0;
    padding-left: 20px;
  }
  .content-second h4 {
    padding-left: 20px;
  }
  .content-second::after {
    font-size: 20px;
    left: -40px;
    animation: distort 4s infinite forwards;
  }
  .content-second::before {
    font-size: 20px;
    left: -40px;
    animation: distort 5s infinite forwards;
  }
  .content-first::before {
    font-size: 20px;
    left: -40px;
    animation: distort 6s infinite forwards;
  }
  aside {
    margin: 50px;
  }
  aside ul {
    display: flex;
    flex-direction: column;
    position: relative;
    left: -80px;
    padding: 10px;
  }
  aside ul li{
    width: 40px;
  }
  aside::after {
    font-size: 20px;
    top: 100px;
    left: -560px;
  }
  .article {
    margin-left: 80px;
    margin-right: 20px;
    flex-direction: row;
    background: #faf4f4;
    box-shadow: 0px 5px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 15px;
    overflow: hidden;
  }
  .article img[alt*='Article 1'] {
    content: url('https://images.cloudflareapps.com/EJzyxsCCQOeRa71a83tX_background-2.jpeg');
    display: flex;
    position: relative;
    margin-left: 0%;
    top: 0px;
    height: 100px;
    width: 200px;
    border-radius: 15px;
    background-size: cover;
    overflow: hidden;
  }
  .article img[alt*='Article 2'] {
    content: url('https://i.pinimg.com/originals/33/b3/0a/33b30abc85f6725e0bc7b538d46762a0.gif');
    display: flex;
    position: relative;
    margin-left: 0;
    top: 0px;
    height: 100px;
    width: 200px;
    border-radius: 15px;
    background-size: cover;
    overflow: hidden;
  }
  .article h3 {
    min-height: 50px;
    font-size: 20px;
  }
  .article p{
    font-size: 12px;
    width: fit-content;
  }

  .article img[alt*='Article 3'] {
    content: url('https://64.media.tumblr.com/tumblr_lkngq9Il2U1qaezmeo1_500.gif');
    display: flex;
    position: relative;
    margin-left: 0;
    top: 0px;
    height: 100px;
    width: 200px;
    border-radius: 15px;
    background-size: cover;
    overflow: hidden;
  }
  .articles{
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .row-first{
    display: flex;
    flex-direction: column-reverse;
  }
  .creativity {
    margin: 0;
    margin-left: 30px;
  }
  .article-long{
    position: relative;
    left: 30px;
    width: 10px;
    margin-bottom: 10px;
  }
  .article-long p{
    font-size: 12px;
    width: auto;
  }
  .article-long h3{
font-size: 20px;
  }
  .row-second img[alt*='Article 4']{
    height: 60px;
    width: 60px;
    position: relative;
    top: -60px;
    left: 0px;
  }
  footer{
    margin:0;
    margin-left: 15px;
    margin-top: 15px;
  }
  .creativity{
    margin-top: 15px;
  }
  form p::after{
    position: relative;
    left: 50px;
  }
}
