:root {
  --background-black: #181719;
  --footer-color: #a9a9a9;
  --main-font: 'Montserrat', sans-serif;
  --logo-font: 'Crimson Pro', sans-serif;
  --heading-font: 'Lora', sans-serif;
  --gray-font: #828282;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  background-color: var(--background-black);
  color: white;
  font-family: var(--main-font);
  font-size: 1.6rem;
  margin: 0 auto;
  max-width: 1440px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  margin: 2rem 1.2rem 3.8rem;
}

@media screen and (min-width: 768px) {
  .header {
    margin: 4rem 4rem 15rem;
  }
}

.header-logo {
  border: 1px solid white;
  font-family: var(--logo-font);
  padding: 0.8rem;
  text-transform: uppercase;
}

.header-navbar-logo {
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .header-navbar-logo {
    display: none;
  }
}

.header-navbar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgb(0, 0, 0, 0.9);
  overflow-x: hidden;
  overflow-y: hidden;
  transition: 0.5s;
}

.header-navbar .closebtn {
  color: white;
  font-size: 55px;
  position: absolute;
  right: 1.2rem;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .header-navbar .closebtn {
    display: none;
  }
}

.header-navbar.mobile {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .header-navbar.mobile {
    display: none;
  }
}

.header-navbar .mobile-nav-link {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 3.2rem;
  text-decoration: none;
}

.header-navbar .mobile-nav-link:first-child {
  font-weight: bold;
}

.desktop-nav {
  display: none;
}

@media screen and (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
  }
}

.desktop-nav {
  color: red;
  text-decoration: none;
}

.desktop-nav-link {
  color: white;
  margin-left: 4rem;
  text-decoration: none;
}

.desktop-nav-link:first-child {
  font-weight: bold;
}

/* Main - text section */
.main-section {
  margin: 0 1.2rem;
}

@media screen and (min-width: 768px) {
  .main-section {
    display: flex;
    margin: 0 4rem;
  }
}

.text-section .heading {
  font-family: var(--heading-font);
  font-size: 3.6rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.text-section .description {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  margin-right: 8.6rem;
}

@media screen and (min-width: 768px) {
  .text-section .description {
    font-size: 1.8rem;
    /* margin-right: 0; */
  }
}

.text-section .cta {
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

@media screen and (min-width: 768px) {
  .text-section .cta {
    font-size: 1.8rem;
  }
}

.text-section .cta span {
  margin-left: 1.5rem;
}

/* Main - image section */
.image-section .design-image {
  height: 28rem;
  width: 100%;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .image-section .design-image {
    margin-left: 5rem;
    width: 90%;
  }
}

.designer-card {
  background-color: var(--background-black);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 1.6rem 2rem 2.5rem;
  position: relative;
  top: -6rem;
  left: 1rem;
  width: 88%;
  z-index: 5;
}

@media screen and (min-width: 768px) {
  .designer-card {
    left: 8rem;
    width: 50%;
  }
}

.designer-card .info {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.designer-card .img {
  border-radius: 100%;
  height: 4rem;
  width: 4rem;
  margin-right: 1.3rem;
}

.designer-card .name-job {
  font-weight: 500;
}

.designer-card .name {
  font-size: 1.2rem;
  margin-bottom: 0.585rem;
}

.designer-card .job {
  color: var(--gray-font);
  font-size: 1rem;
}

.design-description {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  width: 21rem;
}

/* Footer */
.extra-line {
  color: var(--footer-color);
  margin: 0 auto 1rem;
  width: 65%;
}

@media screen and (min-width: 768px) {
  .extra-line {
    display: none;
  }
}

.footer {
  color: var(--footer-color);
  font-size: 1.4rem;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer {
    margin-top: 20rem;
  }
}
