.main {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: stretch;
  font-family: "Quicksand", sans-serif;
  font-weight: 900;
  min-height: 100vh;
}


.header-section, .main-content {
  flex: 0 0 auto;
}

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



/* header */

.header-content {
  background-color: #0f1f3e;
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-bottom: 8px solid #ee225b;
  padding: 40px 40px;
}

.header-links {
  display: flex;
  gap: clamp(20px, 2vw, 50px);
  align-items: flex-end;
}

.about-me-page,
.graphic-design-page {
  text-decoration: none;
  color: inherit;
  align-self: flex-end;
  padding-right: 50px;
}

.about-me,
.graphic-design {
  font-size: clamp(20px, 1.8vw, 34px);
  white-space: nowrap;
  font-weight: 400;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  margin: 0;
  transition: color 0.2s ease;
}

.about-me:hover, .graphic-design:hover {
  color: #ee225b;
}

.logo-wrapper {
  position: relative;
  width: clamp(80px, 10vw, 200px);
  aspect-ratio: 1 / 1;
}

.logo-wrapper img {
   width: 100%;
  height: 100%;
  display: block;
  margin-top: 10px;
  margin-left: 50px;
}

.logo-circle,
.logo-mark {
  position: absolute;
  inset: 0;
}

.logo-circle {
  z-index: 1;
  transition: transform 0.5s ease;
}

.logo-mark {
  z-index: 2;
  pointer-events: none;
}

.logo-wrapper:hover .logo-circle {
  transform: scale(1.2) translate(-5%, -5%);
}

/* header */

/* header */


.main-content {
 display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-top: 50px;
  margin-top: 50px;
}

.page-header {
 color: #0f1f3e;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 200;
  margin: 0 0 20px 0;
  max-width: 90%;  
  margin: 0 0 10px 120px;
}

.description {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 400;
  margin: 0 0 40px 0;
  line-height: 1.5;
  max-width: 700px; 
  margin: 0 0 20px 120px;
}

.book-link {
    color: #ee255b;
}

.mockups-container{
 display: grid;
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: auto;
gap: 5px;
justify-content: center;
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}

.box img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 50px;
}

.video-container{
 width: 100%;
  height: auto;
  display: block;
  max-width: 1200px;
  align-self: center;
  padding-top: 50px;
}

.video-container video{
  width: 80%;
  height: auto; 
  display: block;
  margin: 0 auto; 
}



/* arrow buttons */

.project-arrows {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-top: 146px;
  padding-right: 70px;
}

.arrow-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.arrow-caption {
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 200;
  margin: 0;
  white-space: nowrap;
}

.arrow-wrapper {
  position: relative;
  width: clamp(30px, 4vw, 50px);
  height: clamp(30px, 4vw, 50px);
}

.arrow-wrapper img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease-in-out;
}

.arrow-hover {
  opacity: 0;
}

.arrow-wrapper:hover .arrow-hover {
  opacity: 1;
}

.arrow-wrapper:hover .arrow-default {
  opacity: 0;
}


/* arrow buttons */



/* footer */

.contact-footer {
  background-color: #0f1f3e;
  margin-top: 57px;
  width: 100%;
  padding: 36px 20px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.contact-info {
  font-size: clamp(14px, 2vw, 20px);
  color: #fff;
  font-weight: 200;
  line-height: 1.6;
  font-style: normal;
   padding: 36px clamp(20px, 10vw, 70px);
   margin: 0;
}

/* footer */



@media (max-width: 768px) {

.logo-wrapper {
    padding-bottom: 24px;
  }

  .header-content {
    padding: 15px 20px;
  }
  .contact-footer {
    padding: 24px 15px;
  }

 .header-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding-top: 20px;
  }

  .about-me,
  .graphic-design {
    font-size: clamp(18px, 4vw, 24px);
  }

   .mockups-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

    .mockups-container .box img {
    max-width: 90%;
    margin: 0 auto; 
}

.main-content {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
  }

  .page-header, .description {
    margin-left: 0;
  }

 .project-arrows {
    margin-top: 100px;
    padding-right: 15px;
  }

  .arrow-caption {
    font-size: clamp(16px, 3vw, 22px);
  }

  .arrow-wrapper {
    width: clamp(10px, 10vw, 30px);
    height: clamp(10px, 10vw, 30px);
  }
}