:root {
  --DarkBlue: hsl(233, 26%, 24%);
  --grayishblue: hsl(233, 8%, 62%);
  --primary-clr: #00c7fa;
  --secondary-clr: orange;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

* {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

img {
  max-width: 100%;
  display: inline-block;
}

body {
  line-height: 1.6;
  color: #fff;
  background: #000;
  font-family: "Poppins", serif;
}

.container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 2em;
}

section {
  padding: 6rem 0;
}

.flow-content > * + * {
  margin-top: 1rem;
}

.flexbox {
  display: flex;
  flex-direction: column;
}

.flexbox > * {
  flex-basis: 100%;
}

.flexbox > * + * {
  margin: 1rem 0 0 0;
}

@media (min-width: 40em) {
  .flexbox {
    display: flex;
    flex-direction: row;
  }
  .flexbox > * + * {
    margin: 0 0 0 2rem;
  }
}
/* UTILITIES */
iframe {
  border-radius: 0.3em;
}

.btn {
  border: 0;
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 0.3em;
  background: var(--secondary-clr);
  display: inline-block;
  color: #fff;
}
.btn.btn-open {
  margin-left: auto;
}
.btn.btn-close {
  position: absolute;
  top: 2em;
  right: 2em;
}

.align-left-title {
  font-size: 1.5rem;
  color: var(--primary-clr);
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
}
.align-left-title:after {
  content: "";
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 50%;
  height: 0.3rem;
  background: var(--primary-clr);
}

.highlight {
  color: var(--primary-clr);
  font-weight: 700;
}

.social-icon {
  transition: scale 200ms ease-out;
}
.social-icon:hover {
  scale: 1.1;
}

.cta-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--primary-clr);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-content: center;
  transition: transform 300ms ease-in-out;
  transform: translateY(4rem);
  z-index: 99999;
}
.cta-top.sticky {
  transform: none;
}
.cta-top:hover {
  animation: scale 1000ms infinite ease-in-out;
}
.cta-top img {
  transition: transform 300ms ease-in-out;
}
.cta-top:hover img {
  transform: rotate(180deg);
}
@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale(1.1);
  }
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #000;
}
.header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .nav .logo img {
  height: 6rem;
}
.header .nav ul {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 50%;
  min-height: 100vh;
  background: var(--DarkBlue);
  position: fixed;
  top: 0;
  right: -400px;
  z-index: 100;
  transition: transform 250ms ease-in-out;
}
.header .nav .reveal {
  transform: translateX(-400px);
}
.header .nav li {
  color: #fff;
}
.header .nav .nav__link {
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: all 250ms ease-out;
  position: relative;
}
.header .nav .nav__link:hover,
.header .nav .nav__link:focus {
  color: var(--primary-clr);
}
.header .nav .nav__link:after {
  content: "";
  position: absolute;
  bottom: -0.2em;
  left: 0;
  width: 0%;
  height: 0.2em;
  background: var(--primary-clr);
  transition: all 250ms ease-out;
}
.header .nav .nav__link:hover:after,
.header .nav .nav__link:focus:after {
  width: 100%;
}
.header .nav img {
  border-radius: 3px;
}

@media (min-width: 40em) {
  .header .btn {
    display: none;
  }
  .header .nav ul {
    transform: none;
    position: initial;
    width: auto;
    min-height: auto;
    flex-direction: row;
    background: transparent;
  }
  .header .nav li {
    margin-left: 2em;
    color: #fff;
  }
  .header .nav a {
    font-size: 1em;
  }
}
/* HERO SECTION */
.hero .flexbox {
  align-items: center;
  justify-content: center;
}
.hero .hero__title {
  font-size: 4rem;
  line-height: 1;
}
.hero .hero__body {
  font-size: 1.125rem;
  color: var(--grayishblue);
}
.hero .btn {
  margin-right: 1rem;
  transition: all 250ms ease-out;
  border: 1px solid transparent;
}
.hero .btn-primary:focus, .hero .btn-primary:hover {
  background: transparent;
  border: 1px solid var(--secondary-clr);
  color: var(--secondary-clr);
}
.hero .btn-secondary {
  background: transparent;
  border: 1px solid var(--secondary-clr);
  color: var(--secondary-clr);
}
.hero .btn-secondary:hover, .hero .btn-secondary:focus {
  background: var(--secondary-clr);
  color: #fff;
}

/* ABOUT SECTION */
.about {
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--DarkBlue);
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("../src/bg.jpg");
  color: #fff;
}
.about .about-content {
  max-width: 65ch;
}
.about .about-sidebar {
  display: flex;
}
.about .about-sidebar .box {
  background: var(--primary-clr);
  display: flex;
  align-items: flex-end;
  border-radius: 0.3em;
  letter-spacing: 0.1rem;
  padding: 1rem;
  background-size: cover;
  flex-basis: 100%;
}
.about .about-sidebar .box1 {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgb(0, 0, 0)), url("../src/web dev.jpg");
  background-position: center center;
  margin-right: 1rem;
}
.about .about-sidebar .box2 {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgb(0, 0, 0)), url("../src/Ps.jpg");
  background-position: left bottom;
}

/* PROJECT SECTION */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1rem;
}

.box {
  border-radius: 3px;
  overflow: hidden;
  background: #121212;
  padding: 1rem;
}
.box .wrapper p {
  color: var(--grayishblue);
}
.box img {
  transition: scale 250ms ease-out;
  border-radius: 0.3em;
}
.box:hover img {
  scale: 1.1;
}
.box small {
  border: 1px solid black;
  padding: 0.5em 1em;
  border-radius: 3px;
  font-size: 0.7rem;
}
.box small.html {
  color: #e34c26;
  border-color: #e34c26;
}
.box small.scss {
  color: #2965f1;
  border-color: #2965f1;
}
.box small.tailwind {
  color: #38bdf8;
  border-color: #38bdf8;
}
.box small.javascript {
  color: #f0db4f;
  border-color: #f0db4f;
}

/* CONTACT SECTION */
.contact {
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("/src/bg.jpg");
  background-size: cover;
  background-color: var(--DarkBlue);
  color: #fff;
}
.contact .btn {
  padding: 1em 2em;
}
.contact .form div {
  display: flex;
  flex-direction: column;
}
.contact .form div > * + * {
  margin-bottom: 1rem;
}
.contact .form input {
  border: none;
}
.contact .form input,
.contact .form textarea {
  padding: 1em;
  border-radius: 6px;
  outline: none;
}
.contact .form input:focus, .contact .form input:hover,
.contact .form textarea:focus,
.contact .form textarea:hover {
  outline: 3px solid var(--primary-clr);
}

/* YOUTUBE SECTION */
.youtube {
  padding-top: 0;
}

.youtube__content {
  background: #121212;
  border-radius: 0.3em;
}

.youtube__content p {
  color: var(--grayishblue);
}/*# sourceMappingURL=style.css.map */