:root {
  --bg-color: #0A0808;
  --main-color: #f6f7f1;
  --highlight-color: #2833FF;
  --accent-color: #00D002;
  --button-paddings: 12px 50px;
  --buttons-border-radius: 2px;
  --ubuntu-font-family: "Ubuntu Mono", monospace;
}

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

body {
  min-height: 100vh;
  background-color: var(--bg-color);
}

.upd-header {
  width: 100%;
}

.section1, .main-holder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.main-holder {
  width: 90%
}

.accent {
  color: var(--accent-color);
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  justify-content: space-between;
  background: red;
}

.navbar {
  /* background-color: var(--bg-color); */
  border-bottom: 1px solid var(--highlight-color);
  color: var(--main-color);
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.nav-logo {
  width: 20%;
}

.nav-link.active {
  color: var(--accent-color);
}

.my-nav-bg {
  background-color: var(--bg-color);
}

.my-nav {
  width: 60%;
  flex-shrink: 0;
  flex: 1;
}

.my-nav-gap {
  width: 100%;
  gap: 20px;
  justify-content: center;
}

.nav-bar-btn {
  display: flex;
  width: 20%;
}

.hero-accent {
  font-size: 26px;
  color: var(--accent-color);
}

.content-wrapper {
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  color: var(--main-color);
  font-family: "Inter", sans-serif;
  background-image: url(https://s3.amazonaws.com/shecodesio-production/uploads/files/000/177/767/original/hero.png?1769785612);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  justify-content: center;
  align-items: center;
}

h1, h2, h3, h4 {
  font-family: "Cousine", monospace;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  min-height: 93.4vh;
  position: fixed;
}

.hero-content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.hero-img {
  background-size: cover;
  height: 100%;
}

.hero-mob {
  background-size: cover;
  height: 100%;
  display: none;
}

.hero-horiz-mob {
  background-size: cover;
  height: 100%;
  display: none;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-btn,
.about {
  border-radius: var(--buttons-border-radius);
  color: var(--main-color);
  text-decoration: none;
  padding: 14px 22px;
}

.main-btn {
  background: var(--highlight-color);
  padding: var(--button-paddings);
  transition: all 300ms ease;
}

.main-btn:hover {
  background: var(--accent-color);
  color: var(--bg-color);
}

.about {
  border: 1px solid var(--accent-color);
  padding: var(--button-paddings);
  transition: all 300ms ease;
}

.about:hover {
  background-color: var(--highlight-color);
  border: 1px solid var(--highlight-color);
}

.hero-scroll {
  display: flex;
  justify-content: center;
  padding: 25px;
}

.mouse {
  width: 35px;
  height: 60px;
  border: 1px solid #f6f7f085;
  border-radius: 60px;
  position: relative;
    -webkit-animation: beat 5s infinite;
	&::before {
		content: '';
		width: 9px;
		height: 9px;
		position: absolute;
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
		background-color: #f6f7f085;
		border-radius: 50%;
		opacity: 1;
		animation: wheel 2s infinite;
		-webkit-animation: wheel 2s infinite;
	}
}

@keyframes wheel {
	to {
		opacity: 0;
		top: 60px;
	}
}

@-webkit-keyframes wheel {
	to {
		opacity: 0;
		top: 60px;
	}
}

@keyframes beat {
  0%   {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
  }
  50%  {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1)
  }
  100%  {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
  }
}

main {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  width: 95%;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.projects {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
}

.projects-container {
  display: flex;
  flex-direction: column;
  padding: 32px;
  justify-content: center;
  align-items: center;
}

.projects-accent {
  font-size: 36px;
  color: var(--accent-color);
}

.project-field {
  display: flex;
  align-self: end;
  padding-left: 55px;
  background-image: url(https://s3.amazonaws.com/shecodesio-production/uploads/files/000/177/766/original/1_1_%281%29_2.png?1769785065);
  width: 250px;
  color: var(--main-color);
  /* border-bottom: 1px solid var(--main-color); */
  /* opacity: 0.4; */
  font-weight: 200;
  font-size: 14px;
  justify-content: center;
  align-content: center;
  padding-top: 14px;
  font-family: 'Cousine';
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
}

.project-cards-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 25px;
}

.project-card-buttons__items.design-works {
  width: 100%;
}

.project-card {
  display: flex;
  gap: 24px;
  padding: 15px;
  width: 82%;
}

.project-card:hover {
  background-color: var(--highlight-color);
  transition: all 300ms ease;
  transform: scale(1.01);
  border-radius: var(--buttons-border-radius);
}

.project-card.reverse {
  flex-direction: row-reverse;
}

.project-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.project-card-buttons {
  width: 100%;
  display: flex;
}

.project-card-buttons__items {
  display: flex;
  width: 50%;
  flex-direction: column;
  gap: 14px;
}

.project-technology {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: stretch;
}

.project-tech-text {
  padding: 10px 20px;
  border: 1px solid var(--highlight-color);
  background-color: var(--bg-color);
  text-align: center;
  width: 100%;
  transition: all 300ms ease;
}

.project-tech-text a {
  color: var(--main-color);
  text-decoration: none;
}

.project-tech-text:hover {
  background-color: var(--highlight-color);
}

.project-tech-text.accent-border {
  border: 1px solid var(--accent-color);

}

.project-tech-text.accent-border:hover {
  color: var(--highlight-color);
  background-color: var(--accent-color);
  letter-spacing: 2px;
}

.about-text {
  text-align: start;
}

.contact-link {
  color: var(--main-color);
  text-decoration: none;
}

.abt-img-gap {
  gap: 0px;
}

.services {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
}

.services-container {
  display: flex;
  flex-direction: column;
  padding: 32px;
  justify-content: center;
  align-items: center;
}

.services-card-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 25px 15px;
  width: 90%;
}

.service-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.service-number {
  background-color: var(--highlight-color);
  padding: 8px 13px;
  border-radius: 4px;
  border: 1px solid #8E94FA;
}

.service-title-text {
  font-family: "Cousine", monospace;
  font-size: 20px;
}

.service-card {
  padding: 30px;
  background-color: var(--bg-color);
  border: 1px solid #807F7F;
  width: 80%;
  transition: all 300ms ease;
  border-radius: var(--buttons-border-radius);
  opacity: 0;
  transform: translateY(20px);
}


.running-ripped {
  background-image: url(https://s3.amazonaws.com/shecodesio-production/uploads/files/000/177/820/original/divider.png?1770042593);
  background-position: center;
  height: 103px;
  background-repeat: no-repeat;
  margin-bottom: 35px;
}

.running-line-services {
  display: flex;
  flex-direction: row;
  padding: 0 10px;
  overflow: hidden;
  width: 100%;
}


.running-track {
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: scroll 12s linear infinite;
}

.running-service {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.run-service-img {
  background-image: url(https://s3.amazonaws.com/shecodesio-production/uploads/files/000/177/907/original/Line.png?1770285332);
  background-position: center;
  height: 43px;
  background-repeat: no-repeat;
  width: 43px;
}

.service-card.visible {
  animation: fadeUp 0.8s ease forwards;
}

.service-descr-text {
  width: 100%;
}

/* service cards timeouts */
.service-card:nth-child(1).visible {
  animation-delay: 0.2s;
}

.service-card:nth-child(2).visible {
  animation-delay: 0.4s;
}

.service-card:nth-child(3).visible {
  animation-delay: 0.6s;
}

.service-card:hover {
  padding: 30px;
  background-color: var(--highlight-color);
  border: 1px solid #807F7F;
  width: 80%;
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 25px;
  padding-bottom: 25px;
  gap: 40px;
}

.footer-ripped {
  background-image: url(https://s3.amazonaws.com/shecodesio-production/uploads/files/000/177/820/original/divider.png?1770042593);
  background-position: center;
  height: 103px;
  background-repeat: no-repeat;
  /* position: absolute; */
  width: 50%;
  left: 0;
  bottom: 0;
  z-index: 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  padding: 20px;
}

.footer-text {
  font-size: 12px;
}

.footer-text a {
  color: var(--accent-color);
  text-decoration: none;
}

.logo {
  width: 150px;
}


.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons img {
    height: 40px;
    width: 40px;
  }


/* about me page */
.about-content-wrapper {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  color: var(--main-color);
  font-family: "Inter", sans-serif;
  background-image: url(https://s3.amazonaws.com/shecodesio-production/uploads/files/000/177/767/original/hero.png?1769785612);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  /* justify-content: center; */
  align-items: center;
}

.about-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  margin: 60px auto;
  align-items: center;
}

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

.about-text-content {
  /* border: 1px dashed red; */
  width: 60%;
}

.about-page-accent {
  font-size: 60px;
  text-transform: uppercase;
}

.uppercase-about {
  text-transform: uppercase;
}

.about-horiz-mob {
  background-size: cover;
  height: 100%;
  display: none;
}
  
.about-me-description {
  display: flex;
  flex-direction: column;
}

.about-me-button-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.about-me-button-container .about {
  width: 50%;
  align-items: center;
  text-align: center;
}  

/* works page */
.works-content-wrapper {
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  color: var(--main-color);
  font-family: "Inter", sans-serif;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.graphic-project-cards-container {
  display: flex;
  flex-direction: row;
  gap: 60px;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap;
}

.design-project-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 15px;
  width: 40%;
}

footer.works {
  width: 100%;
}


/* contact page */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.contact-content-container {
  display: flex;
  padding: 20px;
  align-items: center;
  gap: 170px;
}

.contact-left-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px; 
  width: 60%;  
}

.contact-page-accent {
  display: flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  font-size: 120px;
  text-transform: uppercase;
  width: 90%;
  text-align: center;
}

.links-title-text {
  font-family: "Cousine", monospace;
  font-size: 20px;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 60px;
}

.contact-right-container {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.contact-email {
  display: flex;
  gap: 10px;
}

.contact-button-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* width: 100%; */
  justify-content: center;
}

.main-btn .contact-page-btn {
  width: 100%;
  align-items: center;
  text-align: center;
}

.contact-page a {
  text-decoration: none;
}


@media all and (max-width: 1664px) {
  .contact-page-accent {
    font-size: 90px;
  }
}


@media all and (max-width: 1180px) {
  .project-card {
    flex-direction: column;
    padding: 25px 0px;
    width: 100%;
  }

  .project-card.reverse {
    flex-direction: column;
  }

  .project-card-buttons__items {
    flex-direction: row;
    width: 100%;
  }

  .services-container {
    padding: 0;
  }

  .services-card-container {
    flex-direction: column;
    padding: 25px 0px;
    width: 100%;
  }

  .footer-ripped {
    width: 100%;
  }

  .footer-container {
    width: 95%;
  }

  .footer-text {
    align-self: end;
  }

  .social-icons img {
    height: 35px;
    width: 35px;
  }

  .graphic-project-cards-container {
    flex-direction: column;
  }

  .design-project-card {
    width: 100%;
  }

  .contact-page {
    margin: 0 auto;
    flex-direction: column;
  }

  .contact-content-container {
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    width: 100%;
  }

  .contact-left-container {
    justify-content: center;
    width: 100%;
  }

  .contact-page-accent {
    font-size: 60px;
    width: 100%;
  }

  .links-title-text {
    font-size: 16px;
  }

  .contact-right-container {
    width: 100%;
    align-items: center;
  }
}


@media all and (max-width: 932px) {
  .nav-bar-btn {
    justify-content: end;
  }

  .hero-content-container {
    padding: 25px;
  }

  .hero-horiz-mob {
    display: block;
  } 

  .hero-img {
    display: none;
  } 

  .project-cards-container {
    padding-top: 25px;
  }

  .project-card {
    flex-direction: column;
    font-size: 14px;
    padding: 0;
    width: 100%;
  }

  .project-card.reverse {
    flex-direction: column;
  }

  .project-card-buttons__items {
    width: 100%;
    flex-direction: row;
  }

  .hero-accent {
    font-size: 22px;
  }

  .project-card-buttons {
    font-size: 12px;
  }

  .logo-place img {
    height: 30px;
    width: 120px;
  }

  .footer-container {
    width: 95%;
  }

  .footer-text {
    align-self: end;
  }

  .social-icons img {
    height: 25px;
    width: 25px;
  }

  .about-page-accent {
    font-size: 30px;
  }

  .about-text-content {
    width: 100%;
  }

  .about-content {
    flex-direction: column;
  }

  .about-img {
    display: none;
  }

  .about-horiz-mob {
    display: block;
  }

  .contact-links {
    gap: 20px;
  }


}

@media all and (max-width: 440px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding: 27px;
  }

  .hero-img {
    display: none;
  }

  .hero-horiz-mob {
    display: none;
  } 

  .hero-accent {
    font-size: 15px;
  }

  .hero-mob {
    display: block;
  }  

  .hero-buttons {
    gap: 17px;
    font-size: 14px;
    display: flex;
    justify-content: stretch;
    width: 100%;
  }

  .main-btn, .about {
    padding: 12px;
    align-content: center;
    width: 100%;
    text-align: center;
    font-family: "Cousine", monospace;
  }

  .project-cards-container {
    padding-top: 25px;
  }

  .projects {
    padding: 10px;
  }

  .projects-container {
    padding: 25px 10px;
  }

  .project-card {
    flex-direction: column;
    font-size: 14px;
    padding: 0;
    width: 100%;
  }

  .project-card-buttons {
    width: 100%;
    display: flex;
  }

  .project-card-buttons__items {
    width: 50%;
    flex-direction: column;
  }

  .project-card.reverse {
    flex-direction: column;
  }

  .project-card-buttons__items {
    width: 100%;
  }

  .abt-img-gap {
    gap: 10px;
  }

  main {
    width: 100%;
  }

  .services {
    padding: 10px;
  }

  .services-container {
    padding: 0;
  }

  .services-card-container {
    width: 100%;
    padding: 25px 1px;
    flex-direction: column;
  }

  .service-card {
    width: 100%;
    padding: 10px
  }

  .service-card:hover {
    width: 100%;
  }

  .project-field {
    align-self: center;
    padding-left: 0;
    font-size: 14px;
    font-weight: 500;
    background-image: none;
  }

  .footer-ripped {
    background-image: url(https://s3.amazonaws.com/shecodesio-production/uploads/files/000/177/924/original/divider-mob.png?1770293176);
    width: 100%;
  }

  .running-ripped {
    background-image: url(https://s3.amazonaws.com/shecodesio-production/uploads/files/000/177/924/original/divider-mob.png?1770293176);
    width: 100%;
  }

  footer {
    gap: 0;
  }

  .footer-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .logo-place {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

  .footer-text {
    text-align: center;
  }

  .about-content {
    flex-direction: column;
  }

  .about-page-accent {
    font-size: 30px;
  }

  .about-text-content {
    width: 100%;
  }

  .about-horiz-mob {
    display: block;
  }

  .contact-page {
    padding: 20px;
  }

  .contact-content-container {
    padding: 0;
  }

}

/* @media all and (max-width: 390px) {
  .contact-page {
    padding: 20px;
  }
} */

@media all and (max-width: 375px) {
  .hero-content-container {
    padding: 2px;
  }

  .hero-accent {
    font-size: 12px;
  }
}

@media all and (max-width: 360px) {
  .contact-page {
    padding: 0;
  }

  .contact-page-accent {
    font-size: 30px;
  }

  .contact-right-container {
    padding: 0 20px;
  }

  .contact-links {
    gap: 10px;
  }

  .links-title-text, p, .contact-email {
    font-size: 14px;
  }

  .contact-button-container {
    width: 80%;
  }
}