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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

.hero-section {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  background: #0f0f0f;
}

.hero-logo {
  position: fixed;
  margin: 2em;
  color: white;
  font-family: "Cosi Azure";
  font-style: 16px;
  mix-blend-mode: difference;
  z-index: 2;
}

.menu-toggle {
  position: fixed;
  right: 0;
  margin: 2em;
  color: white;
  z-index: 1;
}

.menu-toggle ion-icon {
  font-style: 16px;
}

.media {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 2em;
  z-index: 2;
}

.media ul {
  list-style: none;
}

.media ul li {
  padding: 10px 0;
}

.media ul li a {
  color: white;
}

.view-photos {
  position: absolute;
  left: 0;
  bottom: 1em;
  margin: 2em;
  z-index: 2;
}

.view-photos a {
  color: white;
  text-decoration: underline;
  font-style: italic;
}

.view-photos a:hover {
  color: white;
}

.hero-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: auto;
  opacity: 70%;
}

.hero-img img {
  width: 100%;
  height: 100%;
}

/* Media query for iPhone X */
@media (min-width: 150px) {
  .hero-img {
    width: 90%; /* Adjust the width as needed for iPhone X */
  }
}

/* Media query for iPad */
@media (min-width: 768px) {
  .hero-img {
    width: 60%; /* Adjust the width as needed for iPad */
  }
}

.hero-title {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
}

.hero-title .letter {
  display: inline-block;
  opacity: 0;
  font-size: 72px;
  color: #fff;
  font-family: "Times New Roman";
  text-transform: uppercase !important;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-title .letter {
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  .hero-title .letter {
    font-size: 18px;
  }
}

/* About section */

.about-section {
  padding: 120px 0;
}

.about-section h1 {
  font-size: 84px;
  font-family: "Times New Roman";
  text-transform: uppercase;
}

.about-section h3 {
  font-family: Helvetica;
  padding: 8px 0;
  margin-bottom: 20px;
  font-style: italic;
}

.about-link {
  margin: 50px 0;
}

.about-link a {
  color: black;
  padding: 18px 36px;
  border: 1px solid black;
  font-size: 12px;
  letter-spacing: 4px;
}

.about-link a:hover {
  text-decoration: none;
  color: white;
  background: black;
}

.smaller-img {
  width: 375px; /* Adjust the width as needed */
  height: auto; /* Maintain aspect ratio */
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
}

/* Min-width media queries */

@media (min-width: 200px) {
  .about-section h1 {
    font-size: 50px; /* Adjust the font size for screens with a width of 600 pixels or more */
  }
  .smaller-img {
    width: 345px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
  }
}

@media (min-width: 600px) {
  .about-section h1 {
    font-size: 72px; /* Adjust the font size for screens with a width of 600 pixels or more */
  }
}

@media (min-width: 768px) {
  .about-section h1 {
    font-size: 60px; /* Adjust the font size for screens with a width of 768 pixels or more */
  }
}

@media (min-width: 992px) {
  .about-section h1 {
    font-size: 48px; /* Adjust the font size for screens with a width of 992 pixels or more */
  }
}

/* projects section */

.project-section {
  background: #0f0f0f;
  padding-top: 120px;
  overflow: hidden;
}

.project-section h1 {
  font-size: 84px;
  font-family: "Times New Roman";
  text-transform: uppercase;
  color: white;
}

.project-section p {
  color: grey;
  width: 100%;
}

.project-heading {
  margin-bottom: 120px;
}

.project-section ion-icon {
  color: white;
  font-size: 148px;
}

.project-img {
  height: 500px;
  width: 100vw;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: top;
}

.project {
  margin: 0 !important;
  padding: 0 !important;
}

/* Min-width media queries */

@media (min-width: 200px) {
  .project-section h1 {
    font-size: 50px; /* Adjust the font size for screens with a width of 600 pixels or more */
  }
}

@media (min-width: 600px) {
  .project-section h1 {
    font-size: 72px; /* Adjust the font size for screens with a width of 600 pixels or more */
  }
}

@media (min-width: 768px) {
  .project-section h1 {
    font-size: 60px; /* Adjust the font size for screens with a width of 768 pixels or more */
  }

  .project-img {
    max-width: 100%;
    height: 500px;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (min-width: 992px) {
  .project-section h1 {
    font-size: 48px; /* Adjust the font size for screens with a width of 992 pixels or more */
  }
}

/* contact section */

.social-media {
  padding: 0 0;
  margin-top: 120px;
}

.social-media h1 {
  font-size: 84px;
  font-family: "Times New Roman";
  text-transform: uppercase;
}

.social-media h3 {
  font-family: Helvetica;
  color: #000 !important;
  padding: 8px 0;
  margin-bottom: 20px;
  font-style: italic;
  text-decoration: underline;
}

.social-icons {
  margin: 0 !important;
  padding: 0 !important;
}

.social-icons ul {
  margin: 80px 0 !important;
  padding: 0 !important;
}

.social-icons ul li {
  display: inline-block;
  list-style: none;
  padding-right: 40px;
}

.social-icons ul li a {
  color: black;
  font-style: italic;
  font-family: "Cormorant";
}

/* Min-width media queries */

@media (min-width: 200px) {
  .social-media h1 {
    font-size: 50px; /* Adjust the font size for screens with a width of 600 pixels or more */
  }
  .social-media h3 {
    font-size: 24px;
  }
}

@media (min-width: 600px) {
  .social-media h1 {
    font-size: 72px; /* Adjust the font size for screens with a width of 600 pixels or more */
  }
}

@media (min-width: 768px) {
  .social-media h1 {
    font-size: 60px; /* Adjust the font size for screens with a width of 768 pixels or more */
  }

  .social-icons ul {
    margin: 60px 0 !important; /* Adjust the margin for screens with a width of 768 pixels or more */
  }
}

@media (min-width: 992px) {
  .social-media h1 {
    font-size: 48px; /* Adjust the font size for screens with a width of 992 pixels or more */
  }

  .social-icons ul {
    margin: 40px 0 !important; /* Adjust the margin for screens with a width of 992 pixels or more */
  }
}

/* part of projects section */

.card-container {
  position: relative;
  background: #fff;
  color: #000;
  width: auto;
  height: 500px;
  transition: all 0.2s ease-out;
  overflow: hidden;
}

.preview-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px;
  font-size: 20px;
  color: black;
}

.card-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 260px;
  height: 260px;
  border-radius: 100%;
  background: #fff;
  transition: 0.3s;
}

.card-container:hover {
  background: #000;
  color: #fff;
  transition: all 0.2s ease-out;
}

.card-container:hover .preview-text,
.card-container:hover .plus-icon {
  color: #fff;
}

.card-container:hover .card-icon {
  display: none;
}

.card-container:hover .card-circle {
  transform: translate(-50%, -50%) scale(1);
}

.text-wrapper {
  position: absolute;
  top: 50%;
  left: -20%;
  transform: translate(0, -50%);
  font-size: 40px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.1s ease-out;
  animation: float-text 40s linear infinite;
  animation-delay: 0.3s;
  z-index: 2;
  opacity: 0;
  padding: 20px 0;
  mix-blend-mode: difference;
}

@keyframes float-text {
  0% {
    left: -20%;
  }

  50% {
    left: -100%;
  }

  100% {
    left: -20%;
  }
}

.card-container:hover .text-wrapper {
  opacity: 1;
}

/* -------------------- */

@media (max-width: 900px) {
  .hero-section .hero-title .letter {
    font-size: 24px !important;
  }

  .overlay ul li {
    font-size: 30px;
    padding: 10px 0;
  }

  .menu-toggle ion-icon {
    font-style: 14px;
  }
}

@media (min-width: 768px) {
  .project-img {
    max-width: 100%;
    height: 500px;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
