@font-face {
  font-family: Miratrix;
  src: url(../fonts/NeueMachina-Regular.otf);
  font-weight: normal;
}

@font-face {
  font-family: HelveticaLight;
  src: url(../fonts/HelveticaLTStd-Light.otf);
  font-weight: light;
}
@font-face {
  font-family: HelveticaBold;
  src: url(../fonts/HelveticaLTStd-Bold.otf);
  font-weight: bold;
}
/* General Rules */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
html {
  font-size: 62.5%;
}
body {
  color: white;
  line-height: 1.7;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  width: 100%;
  height: auto;
}
/* General Class */
.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Button Set */
.btn,
.btn {
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.5rem 7rem;
  display: inline-block;
  transition: all 0.2s;
  position: relative;
  font-size: 1.6rem;
  font-weight: bold;
  font-family: "Miratrix", Helvetica, sans-serif;
  cursor: pointer;
}
.btn:active {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}
.btn:hover {
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
}
.btn-black {
  color: #ffffff;
  background-color: #000000;

}
input[type="text"] {
  background: #1c1b1b;
  color: white;
  padding: 1rem;
  width: 621px;
  height: 65px;
  border: none;
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

input[type="button"] {
  background: #828282;
  border: none;
  padding: 1rem;
  width: 621px;
  height: 65px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10rem;
  font-family: "Miratrix", Helvetica, sans-serif;
}
input[type="button"]:hover {
  cursor: pointer;
  background-color: rgb(22, 22, 22);
}

main {
  background: #000000;
}
.placeholderRed {
  border: 1px solid red !important;

}
.placeholderNone {
  border: none !important;

}
/* Header */
header {
  background: white;
}
.logo {
  color: black;
  height: 6rem;
}
/* Section About Ahmed Title, Description and Img */
.hero {
  display: grid;
  grid-template-columns: 90px 2fr 1fr 2fr 1fr;
  background-color: white;
  position: relative;
}
.hero::after {
  content: "";
  height: 10vh;
  width: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: black;
  z-index: 1;
}
.profile-photo {
  grid-column: 2/3;
  z-index: 2;
}
.text-box {
  grid-column: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 1rem;
}
#VisualDesigner {
  color: black;
  font-family: "Miratrix", Helvetica, sans-serif;
  font-size: 40px;
}
#first-text {
  font-size: 1.5rem;
  width: 90%;
  color: black;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-family: "HelveticaLight", Helvetica, sans-serif;
}
/* Projects */
#projectsOne {
  color: white;
  background-color: black;
  display: grid;
  grid-template-columns: 150px 50px 1.5fr 100px 1fr 100px;
  grid-template-rows: 150px 1fr 200px 150px;
}
#projectsOne #projectOne {
  grid-column: 2/4;
  grid-row: 1/3;
}
#projectsOne #projectTwo {
  grid-column: 5/6;
  grid-row: 2/3;
}

#projectsOne #brandingFigure {
  grid-column: 3/7;
  grid-row: 3 / auto;
  display: flex;
  align-items: center;
}
#brandingFigure h1 {
  font-family: "Miratrix", Helvetica, sans-serif;
  font-size: 6rem;
  text-transform: uppercase;
}
#projectsOne #brandingDescription {
  grid-column: 3/4;
  grid-row: 4;
  font-family: "HelveticaLight", Helvetica, sans-serif;
  display: block;
  width: 300px;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
}
#projectsTwo {
  display: grid;
  grid-template-columns: 100px 1fr 300px 1fr 100px;
  grid-template-rows: 50px 150px 1fr;
  background-color: black;
}
#projectThree {
  grid-column: 2/3;
  grid-row: 3/4;
}
#projectFour {
  grid-column: 4;
  grid-row: 2/4;
}

#projectsThree {
  display: grid;
  grid-template-columns: 100px 1fr 250px 1fr 100px;
  grid-template-rows: 150px 100px 1fr;
  background-color: black;
}
#projectFive {
  grid-column: 2/3;
  grid-row: 2/3;
}
#projectSix {
  grid-column: 4/5;
  grid-row: 3/4;
}

/* General Rules for projects */
#projectsOne figure h3 {
  font-family: "HelveticaBold", Helvetica, sans-serif;
}
#projectOne figure p {
  font-family: "HelveticaLight", Helvetica, sans-serif;
  color: rgba(255, 255, 255, 0.5);
}
/* Podcast section */
.ask-designer {
  display: grid;
  grid-template-columns: 5rem 2fr 100px 1fr 100px;
  grid-template-rows: 100px 100%;
  background-color: black;
  margin: 200px 0;
}
.podcasting {
  grid-column: 2/3;
  grid-row: 2/3;
}
.pod-text {
  width: 32vw;
  font-family: "HelveticaLight", Helvetica, sans-serif;
  font-size: 1.2rem;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.66);
}
.pod-title {
  font-size: 7rem;
  font-family: "Miratrix", Helvetica, sans-serif;
  text-transform: uppercase;
}
.pod-btn {
  background-color: rgb(255, 255, 255); /* Green */
  border: none;
  color: rgb(0, 0, 0);
  padding: 1.2rem 3rem;
  border-radius: 100px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  margin-top: 3rem;
}
.pod-btn:active {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(224, 224, 224, 0.082);
}
.pod-btn a {
  font-family: "HelveticaBold", Helvetica, sans-serif;
  color: black;
  font-size: 2rem;
}
.pod-img {
  grid-column: 4/5;
  grid-row: 2/3;
}

/* More Button */
.more {
  height: 60vh;
  display: flex;
  background-color: black;
  flex-direction: column;
  justify-content: center;
}
#moreAnchor {
  display: flex;
}
#moreWord {
  font-family: "HelveticaBold", Helvetica, sans-serif;
  text-transform: uppercase;
  color: white;
  font-size: 3rem;
  vertical-align: middle;
  margin-right: 10px;
}
/* Section Contact Us */
.connectMe {
  padding-top: 0rem;
  background-color: black;
}
#connectMeForm {
  display: flex;
  flex-direction: column;
}
.connectMe p {
  padding-bottom: 5rem;
  font-size: 2rem;
  color: #ffffff;
  opacity: 0.6;
}

#ConnectMeTitle {
  font-size: 10rem;
  font-family: "Miratrix", Helvetica, sans-serif;
}
#ConnectMeDescription {
  font-family: "HelveticaLight", Helvetica, sans-serif;
}

#ConnectFeedback {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 50px 0 100px;
}
#ConnectFeedback svg {
  width: 100%;
}
#ConnectFeedback h1 {
  font-family: "HelveticaLight", Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 100;
  text-align: center;
}

/* Social Media Footer */
.social {
  display: flex;
  align-items: center;
}
.social a {
  margin-right: 2rem;
}
#copyright {
  display: flex;
  vertical-align: middle;
  padding: 2rem;
}
#copyright svg {
  align-self: center;
  margin-right: 10px;
}
#copyrightText {
  font-family: "HelveticaLight", Helvetica, sans-serif;
  font-size: 1.5rem;
  align-self: center;
}

a {
  text-decoration: none;
  outline: none;
}

a:hover,
a:focus {
  outline: none;
}
/* Animation */
.content__item {
  --imgwidth: calc(var(--imgwidthmax) * var(--aspect-ratio));
  width: var(--imgwidth);
  max-width: 100%;
  position: relative;
  will-change: transform;
  display: grid;
  grid-template-columns: 50% 50%;
}
.content__item-imgwrap {
  position: relative;
  --imgwidth: 100%;
  grid-area: 1 / 1 / 3 / 3;
  overflow: hidden;
  width: var(--imgwidth);
  padding-bottom: calc(var(--imgwidth) / (var(--aspect-ratio)));
  will-change: transform;
}
.content__item-img {
  --overflow: 40px;
  height: calc(100% + (2 * var(--overflow)));
  top: calc(-1 * var(--overflow));
  width: 100%;
  position: absolute;
  background-size: cover;
  background-position: 50% 0%;
  will-change: transform;
}
.content__item-title {
  position: relative;
  font-family: "Miratrix", Helvetica, sans-serif;
  font-size: 3rem;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 5px;
  line-height: 1;
  padding: 0 2vw;
  will-change: transform;
}
@media (max-width: 724px) {
  .hero {
    grid-template-columns: 100%;
    grid-template-rows: 1fr;
  }
  .profile-photo {
    padding: 0;
    grid-column: 1/2;
  }
  .profile-photo img {
    padding: 0;
  }
  .text-box {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 0rem 1rem;
    margin-bottom: 5rem;
  }
  .text-box > h1:nth-child(1) {
    color: black;
    font-family: "Miratrix", Helvetica, sans-serif;
    font-size: 4rem;
  }

  .hero::after {
    height: 5vw;
  }
  #projectsOne {
    color: white;
    background-color: black;
    display: grid;
    grid-template-columns: 3rem 1fr 3rem;
    grid-template-rows: 5rem 1fr;
    justify-content: center;
    row-gap: 5rem;
  }
  #projectsOne #projectOne {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  #projectsOne #projectTwo {
    grid-column: 2/3;
    grid-row: 3/4;
  }

  #projectsOne #brandingFigure {
    grid-column: 2/3;
    grid-row: 4/5;
    padding: 1rem;
  }
  #projectsOne #brandingDescription {
    grid-column: 2/3;
    grid-row: 5/6;
    font-family: "HelveticaLight", Helvetica, sans-serif;
    display: block;
    width: 300px;
    padding: 1rem;

    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
  }

  #projectsTwo {
    display: grid;
    grid-template-columns: 3rem 1fr 3rem;
    grid-template-rows: 1fr 1fr 20px;
    row-gap: 2rem;
    background-color: black;
  }
  #projectThree {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  #projectFour {
    grid-column: 2/3;
    grid-row: 2/3;
  }

  #projectsThree {
    display: grid;
    grid-template-columns: 3rem 1fr 3rem;
    row-gap: 3rem;
    background-color: black;
  }
  #projectFive {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  #projectSix {
    grid-column: 2/3;
    grid-row: 3/4;
  }
  .ask-designer {
    grid-template-columns: 3rem 1fr 3rem;
    grid-template-rows: 1fr;
    row-gap: 3rem;
    margin: 50px 0;
  }
  .podcasting {
    grid-column: 2/3;
    grid-row: 2/3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    order: 2;
  }
  .pod-text {
    grid-column: 2/3;
    width: 97%;
  }
  .pod-title {
    font-size: 5rem;
    align-self: flex-start;
  }
  .pod-btn {
    align-self: start;
  }
  .pod-img {
    grid-column: 2/3;
    grid-row: 1/2;
    order: 1;
  }

  input[type="text"] {
    background: #1c1b1b;
    color: white;
    padding: 1rem;
    width: 300px;
    height: 65px;
    border: none;
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }
  input[type="button"] {
    background: #828282;
    border: none;
    padding: 1rem;
    width: 300px;
    height: 65px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10rem;
    font-family: "Miratrix", Helvetica, sans-serif;

  }
  #ConnectMeTitle {
    font-size: 4rem;
  }
  #ConnectMeDescription {
    font-size: 1.3rem;
  }
  .more {
    height: 30vh;
  }
}
