* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Poppins, sans-serif;
  align-items: center;
  justify-content: center;
}

section {
  overflow: hidden;
}

a {
  color: rgb(240, 240, 240);
  text-decoration: none;
}

a:visited {
  color: rgb(240, 240, 240);
}

h2 {
  font-size: 3rem;
  padding-top: 90px;
  padding-bottom: 90px;
  text-shadow: 2px 2px 0px rgba(37, 44, 49, 0.6);
}

/******Header Section******/

header {
  background: linear-gradient(
    64deg,
    #08b7f2,
    #1e86a9,
    #75cce9,
    #61818b,
    #c6e7f1,
    #60d4f7,
    #2a95b5,
    #13aad7
  );
  background-size: 1600% 1600%;
  -webkit-animation: AnimationName 56s ease infinite;
  -moz-animation: AnimationName 56s ease infinite;
  -o-animation: AnimationName 56s ease infinite;
  animation: AnimationName 56s ease infinite;
  align-items: center;
  text-align: center;
  align-content: center;
  align-self: center;
  justify-content: center;
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 49%;
  }
  50% {
    background-position: 100% 52%;
  }
  100% {
    background-position: 0% 49%;
  }
}
@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 49%;
  }
  50% {
    background-position: 100% 52%;
  }
  100% {
    background-position: 0% 49%;
  }
}
@-o-keyframes AnimationName {
  0% {
    background-position: 0% 49%;
  }
  50% {
    background-position: 100% 52%;
  }
  100% {
    background-position: 0% 49%;
  }
}
@keyframes AnimationName {
  0% {
    background-position: 0% 49%;
  }
  50% {
    background-position: 100% 52%;
  }
  100% {
    background-position: 0% 49%;
  }
}

.intro {
  margin: auto;
  max-width: 700px;
  justify-content: center;
}

.hi {
  color: rgb(240, 240, 240);
  font-weight: 200;
  font-size: 5rem;
  padding-top: 120px;
}

.my-name {
  font-weight: lighter;
  font-size: 2rem;
  padding-top: 20px;
}

.name {
  color: rgb(188, 224, 255);
  font-weight: lighter;
  font-size: 4rem;
  padding-top: 10px;
  padding-bottom: 20px;
}

.stacks {
  display: flex;
  justify-content: center;
  padding: 20px;
  align-items: center;
  align-content: center;
}

.stacks i {
  width: 25px;
  height: 30px;
  align-items: center;
  display: inherit;
  justify-content: center;
  font-size: 3rem;
  margin: 0px 30px;
  background-color: white;
  transition: all 0.2s ease-in-out;
}

.stacks i:last-child {
  background: none;
}

.stacks i:hover {
  cursor: pointer;
  transform: scale(1.5);
  transition: all 0.2s ease-in-out;
}

i ~ .fa-square-js {
  height: 40px;
  width: 40px;
}

/******Hamburger******/

.hamburger {
  display: none;
  cursor: pointer;
  text-align: right;
  margin-top: 10px;
  margin-bottom: 10px;
}

.hamburger input {
  display: none;
}

.line1,
.line2,
.line3 {
  width: 35px;
  height: 5px;
  margin: 6px 0;
  background-color: white;
  transition: 0.4s;
}

.change .line1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change .line2 {
  opacity: 0;
}

.change .line3 {
  transform: translate(0, -11px) rotate(45deg);
}

/******Navigation Bar******/

.logo {
  display: flex;
  text-align: left;
  cursor: pointer;
  margin-right: 200px;
}

.logo a {
  display: flex;
  transform: scale(1);
  transition: transform 0.5s ease-in-out;
}

.logo a:hover {
  transform: scale(1.05);
  transition: transform 0.5s ease-in-out;
}

.logo p {
  display: flex;
}

.corey {
  font-size: 1rem;
  font-weight: lighter;
  color: rgb(246, 246, 246);
  text-shadow: 2px 2px 0px rgb(43, 43, 43);
}

.burgos {
  font-size: 1.5rem;
  font-weight: bolder;
  color: rgb(57, 83, 143);
  text-shadow: 1px 1px 0px rgb(43, 43, 43);
  text-transform: capitalize;
}

.nav-bar {
  background-color: rgb(64, 114, 160);
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 100;
  box-shadow: 0px 10px 0px rgba(37, 44, 49, 0.6);
}

.menu {
  text-align: right;
}

.menu li {
  display: inline-block;
  list-style: none;
  padding: 20px 20px;
  text-align: center;
  text-transform: uppercase;
}

.menu li:hover {
  cursor: pointer;
  background-color: rgb(51, 61, 85);
  transition: background-color 0.3s ease-in-out;
}

.menu li a {
  color: rgb(240, 240, 240);
  text-decoration: none;
}

/******Animated Head Classes******/

.head-container {
  width: 350px;
  height: 350px;
  border: solid 4px #3d3d3d;
  border-radius: 50%;
  box-shadow: 10px 10px 0px rgba(37, 44, 49, 0.6);
  overflow: hidden;
  margin: auto;
  text-align: center;
  align-items: center;
}

.head {
  background: url("../img/coreyburgoscom_face.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 500px;
  background-size: cover;
  width: 500px;
  height: 500px;
  position: relative;
  left: -32%;
  top: -32%;
}

/******About Me Section******/

#about {
  background-color: rgb(188, 224, 255);
}

#about h2 {
  color: rgb(240, 240, 240);
  text-align: center;
  padding-bottom: 20px;
}

.about-all {
  display: flex;
  padding-left: 10%;
  padding-right: 10%;
  justify-content: center;
  margin: auto;
  padding-bottom: 120px;
}

.about-img {
  display: flex;
  width: 350px;
  height: 400px;
  background-image: url("../img/family.JPG");
  background-position: center;
  background-size: 350px;
  border: 2px solid rgb(43, 43, 43);
  box-shadow: 10px 10px 0px rgba(37, 44, 49, 0.6);
  margin-right: 20px;
}

.about-card {
  background-color: rgb(246, 246, 246);
  padding: 20px;
  box-shadow: 10px 10px 0px rgba(37, 44, 49, 0.6);
  max-width: 800px;
  line-height: 30px;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 16px;
}

/******Projects Section******/

#projects {
  background-color: rgb(240, 240, 240);
  text-align: right;
  overflow: hidden;
}

#projects h2 {
  color: rgb(215, 215, 215);
  text-align: center;
  padding-bottom: 20px;
}

.project-all {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  padding-top: 30px;
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 120px;
  justify-content: center;
}

.project-card {
  background-color: rgb(246, 246, 246);
  padding: 20px;
  box-shadow: 10px 10px 0px rgba(37, 44, 49, 0.6);
  max-width: 80%;
  justify-content: center;
  margin: auto;
  margin-bottom: 40px;
  text-align: center;
}

.project1 {
  background-image: url(/img/project_001.png);
}

/******School Section******/

#school {
  background-color: rgb(188, 224, 255);
}

#school h2 {
  color: rgb(240, 240, 240);
  text-align: center;
  padding-bottom: 20px;
}

#school h3 {
  text-align: center;
  font-size: 1.8rem;
  padding: 20px;
}

.school-card {
  background-color: rgb(246, 246, 246);
  padding: 20px;
  box-shadow: 10px 10px 0px rgba(37, 44, 49, 0.6);
  max-width: 80%;
  justify-content: center;
  margin: auto;
  margin-bottom: 40px;
}

.description {
  text-align: center;
  padding: 10px;
}

.description p {
  font-size: 20px;
}

.school-all {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  padding-top: 30px;
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 120px;
  justify-content: center;
}

.col {
  display: flex;
  overflow: hidden;
  box-shadow: 10px 10px 0px rgba(37, 44, 49, 0.6);
}

figure {
  display: flex;
  width: 300px;
  background-color: rgb(34, 49, 69);
  border: 2px solid rgb(43, 43, 43);
}

figcaption {
  text-align: center;
}

.image {
  height: 150px;
  width: 300px;
  background-size: cover;
  background-position: center;
  transition: all 0.6s;
}

.image:hover {
  transform: scale(1.5);
}

.case0 {
  background-image: url(/img/t1_case_jedds_tree_care.png);
}

.case1 {
  background-image: url(/img/case1_mountain_wheels.png);
}

.case2 {
  background-image: url(/img/case2_save_your_fork.png);
}

.case3 {
  background-image: url(/img/case3_marlin_internet.png);
}

.case4 {
  background-image: url(/img/case4_spice_bowl.png);
}

.review1 {
  background-image: url(/img/review1_ferris_family.png);
}

.review2 {
  background-image: url(/img/review2_radio.png);
}

.review3 {
  background-image: url(/img/review3.png);
}

.tutorial1 {
  background-image: url(/img/tutorial1_curbside_thai.png);
}

.tutorial2 {
  background-image: url(/img/tutorial2_tri_and_succeed_sports.png);
}

.tutorial3 {
  background-image: url(/img/tutorial3_pandaiasia_chocolates.png);
}

.tutorial4 {
  background-image: url(/img/tutorial4_the_komatsu_family.png);
}

.tutorial5 {
  background-image: url(/img/tutorial5_trusted_friends_daycare.png);
}

.tutorial6 {
  background-image: url(/img/tutorial6_dlr_radio.png);
}

.tutorial7 {
  background-image: url(/img/tutorial7_redball_pizza.png);
}

.tutorial8 {
  background-image: url(/img/tutorial8_cinema_penguin.png);
}

.final {
  background-image: url(/img/final_bread_on_bread.png);
}

/******Contact Section******/

#contact {
  background-color: rgb(79, 140, 197);
  overflow: hidden;
}

#contact h2 {
  color: rgb(246, 246, 246);
  text-align: center;
  padding-bottom: 20px;
}

.contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
}

form {
  width: 80%;
  max-width: 600px;
}

.input-group {
  margin-bottom: 10px;
  position: relative;
}

input,
textarea {
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  border: solid 2px black;
  color: black;
  font-size: 15px;
  box-shadow: 10px 10px 0px rgba(37, 44, 49, 0.6);
}

label {
  padding-top: 10px;
  color: black;
}

button {
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 120px;
  color: white;
  outline: none;
  border: 2px black solid;
  cursor: pointer;
  background-color: rgb(43, 43, 43);
  font-weight: bold;
  box-shadow: 10px 10px 0px rgba(37, 44, 49, 0.6);
}

/******JavaScript Scroll Classes******/

.js-scroll-top-to-bottom {
  opacity: 0;
  overflow: hidden;
  transform: translateY(-20%);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.js-scroll-left-to-right {
  opacity: 0;
  overflow: hidden;
  transform: translateX(-20%);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.js-scroll-right-to-left {
  opacity: 0;
  overflow: hidden !important;
  transform: translateX(20%);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/******Footer Section******/

footer {
  background-color: rgb(34, 49, 69);
  color: rgb(240, 240, 240);
  padding: 100px 10%;
  text-align: center;
}

.social .fa-brands {
  font-size: 3rem;
  margin: 20px;
  transition: 0.2s ease-in-out;
}

.social a {
  text-decoration: none;
}

.social .fa-brands:hover {
  transform: scale(1.5);
  transition: 0.2s ease-in-out;
}

/******Loader******/

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(79, 140, 197);
  transition: opacity 0.75s, visibility 0.75s;
  z-index: 999;
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader::after {
  content: "";
  width: 100px;
  height: 100px;
  border: 15px solid #dddddd;
  border-top-color: rgb(34, 49, 69);
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}

@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
