/* UNIVERSAL SELECTORS *******************************************************/
body {
  background-color: rgb(11, 25, 76);
}

html,
* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;

  /* transition: 1; */
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #f0a8a8;
  cursor: pointer;
}

h3 {
  margin: 20px 0px 34px;
}

p a {
  color: #f7caca;
}

.lobster-font {
  font-family: "Lobster", cursive;
}

.yellow {
  color: #ffe077;
}

button {
  border-radius: 5px;
  border: 0px;
  color: #462424;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 10px;
  padding: 12px 25px;
  cursor: pointer;
  min-width: 200px;
}

.button:hover {
  box-shadow: 0 0 15px rgba(33, 33, 33, 0.4);
}

/* button:focus {
  outline: none;
  box-shadow: inset 0 0 0 3px lightskyblue;
} */

.primary-button {
  background: linear-gradient(
    to bottom right,
    rgb(240, 168, 168),
    rgb(240, 120, 120)
  );
  border: 1px solid rgba(240, 120, 120, 0.5);
}

.primary-button:hover {
  background: linear-gradient(
    to bottom right,
    rgb(219, 103, 103),
    rgb(240, 120, 120)
  );
}

.primary-button:active {
  background: rgb(238, 160, 160);
  box-shadow: none;
  box-shadow: inset 0 0 10px #14035f;
  outline: 0;
}

.disabled-button,
.disabled-button:hover {
  background: gray;
  border: none;
  color: white;
  cursor: unset;
}

.secondary-button {
  background: none;
  border: 1px solid #f8efef;
  color: white;
}

.secondary-button:hover {
  background: rgba(13, 1, 36, 0.2);
}

.secondary-button:active {
  background: rgba(255, 255, 255, 0.2);
}

/* NAV *******************************************************/

nav {
  position: absolute;
  z-index: 999;
}

.nav-container {
  /* position: inherit; */
  display: flex;
  justify-content: center;
  flex-direction: row;

  margin: 0 auto;
  width: 100vw;
}

.nav-container div {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  padding: 5px 50px;
  min-width: 201px;
  text-align: center;
  /* min-height: 400px; */
}

.nav-container div:hover {
  /* border-bottom: 2px solid rgb(168, 185, 240); */
  color: #f0a8a8;
}

#home-button-div {
  display: flex;
  align-content: center;
  align-self: center;
  justify-self: center;
  min-width: 170px;
  min-height: 93.45px;
}

.ad-logo,
.home-button {
  display: display;
  margin-top: 5px;
  width: 70px;
  color: white;

  /* transition: 0.3s; */
}

/* .home-button {
  transform: scale(0);
  transition: 0.3s;
  display: none;
  color: white;
} */

.menu-icon,
.close-icon {
  display: none;
}

.nav-mobile {
  display: none;
}

@media screen and (max-width: 875px) {
  .nav {
    /* z-index: unset; */
  }

  .menu-icon {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 30px;
    width: 25px;
  }

  .close-icon {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
  }

  .nav-mobile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: space-between;

    position: fixed;
    top: 0;
    left: -100%;
    background: linear-gradient(rgb(11, 25, 77), rgb(68, 81, 189));
    color: #e5eafa;
    width: 100%;
    height: 100vh;
    /* min-height: 500px; */
    padding: 30px 30px;
    z-index: 99;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  .mobile-menu-profile.mobile-menu-name,
  .mobile-menu-occupation {
    overflow-x: unset;
  }

  .mobile-menu-profile {
    margin-bottom: 15px;
    width: 100px;
  }

  .mobile-menu-name {
    font-weight: 600;
  }

  .mobile-menu-occupation {
    color: #fdd487;
    margin-bottom: 100px;
  }

  .mobile-menu-items {
    display: flex;
    flex-direction: column;
    align-content: space-around;
    height: 400px;
  }

  .mobile-menu-items div {
    font-size: 30px;
    padding-bottom: 15px;
  }

  .show {
    left: 0;
  }
}

/* BANNER *******************************************************/

#banner-div {
  /* position: absolute; */
  background-color: rgb(11, 25, 76);
  background-image: url("../images/home-page/home-page-city-view.jpg");
  background-size: 100%;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  color: white;
  height: 108vh;
  min-width: 1600px;
  overflow: hidden;
  /* min-height: 1350px; */

  /* transition: 1; */
}

.banner-info {
  position: absolute;
  /* right: 200px; */
  right: 15vw;
  top: 220px;
  /* width: 500px; */
  /* transition: 2s; */

  z-index: 93;
}

.banner-info h1 {
  font-size: 50px;
}

.banner-info h3 {
  opacity: 0.8;
}

.banner-info .lobster-font {
  font-size: 55px;
}

.banner-button {
  display: flex;
  margin-bottom: 34px;
}

.banner-social i {
  color: white;
  cursor: pointer;
  font-size: 25px;
  margin-right: 15px;
  opacity: 0.7;
}

.man-on-cliff {
  position: absolute;
  width: 600px;
  right: 70vw;
  /* bottom: -100px; */
  top: 250px;
  z-index: 98;
}

@media screen and (max-width: 1400px) {
  .banner-info {
    right: 8vw;
  }
}

@media screen and (max-width: 930px) {
  .banner-info {
    right: 4vw;
  }
}

@media screen and (max-width: 875px) {
  .nav-container div:nth-child(1),
  .nav-container div:nth-child(2),
  .nav-container div:nth-child(4),
  .nav-container div:nth-child(5) {
    display: none;
  }

  .ad-logo {
    margin-top: 15px;
    width: 50px;
  }

  #banner-div {
    background-image: url("../images/home-page/home-page-mountain-view-mobile.jpg");
  }
}

@media screen and (max-width: 600px) {
  #banner-div {
    background-color: rgb(11, 25, 76);
    /* background-image: url("../images/home-page/banner-background-blue-mobile.jpg"); */

    /* background-size: 100%; */
    /* max-width: 100%; */
    overflow-x: hidden;
  }

  .banner-info {
    /* position: static; */
    top: 20px;
    left: 5vw;
    margin-top: 120px;
    /* width: 500px; */
    /* transition: 2s; */
  }

  .banner-info h1 {
    font-size: 28px;
  }

  .banner-info .lobster-font {
    font-size: 32px;
  }

  .banner-info .primary-button,
  .banner-info .secondary-button {
    min-width: 160px;
    font-size: 12px;
  }

  .banner-info .secondary-button {
    margin-right: 0px;
  }

  .man-on-cliff {
    position: absolute;
    width: 300px;
    left: -20vw;
    top: 450px;
    z-index: 98;
  }
}

/* UX SECTION *******************************************************/

section {
  padding: 30px 10%;
}

#UI,
#articles {
  margin-top: -80px;
}

section#UX {
  color: white;
  position: relative;
  /* top: -40px; */
  background: linear-gradient(to bottom, rgb(11, 25, 76), rgb(25, 32, 29));
  /* height: 5000px; */
}

.section-header {
  display: flex;
  margin: 150px auto;
  justify-content: center;
}

.section-header div:nth-child(1) {
  position: absolute;
  align-self: center;

  font-size: 130px;
  font-weight: 700;
  opacity: 0.33;
  text-align: center;
  z-index: 1;
}

.section-header div:nth-child(2) {
  /* color: #ddd8d8; */
  color: #ffe077;
  text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  font-family: "Lobster", cursive;
  font-size: 50px;
  text-align: center;
  z-index: 2;
}

/* UI SECTION *******************************************************/
#UI {
  background-color: white;
}

#UI .section-header div:nth-child(1),
#articles .section-header div:nth-child(1) {
  color: #b5b2e9;
}

#UI .section-header div:nth-child(2),
#articles .section-header div:nth-child(2) {
  color: #5751bf;
}

.card-container {
  display: flex;
  margin: 0 0 200px;
  flex-direction: row;
  /* max-width: 2000px; */
}

.card-image {
  width: 55%;
}

.right-image .card-image {
  order: 2;
}

.card-image img {
  border-radius: 5px;
  width: 100%;
}

.card-info {
  padding: 0px 0px 0px 50px;
  width: 45%;
}

.right-image .card-info {
  padding: 0px 50px 0px 0px;
}

.card-info h2 {
  color: #e5eafa;
  font-size: 35px;
  font-weight: 600;
  line-height: 48px;
  margin-bottom: 30px;
}

#UI .card-info h2 {
  color: #393939;
}

#articles .card-info h2 {
  color: #393939;
}

.card-info p {
  color: lightgray;
  margin: 0px 0px;
  font-size: 20px;
}

#UI .card-info p,
#articles .card-info p {
  color: #585858;
}

.card-info button {
  margin-top: 30px;
}

.custom-shape-divider-top-1599719125 {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1599719125 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 83px;
}

.custom-shape-divider-top-1599719125 .shape-fill {
  fill: #192027;
}

.custom-shape-divider-top-1599719125 .shape-fill-white {
  fill: white;
}

.mosaic-row {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  /* flex-direction: row; */
  /* width: 100%; */
}

.mosaic-row:nth-child(2) {
  margin-left: -100px;
}
.mosaic-row img {
  display: block;
  width: 100%;
  /* max-width: 200px; */
}

#articles {
  background-color: #e7eef8;
}

@media screen and (max-width: 875px) {
  section {
    padding: 30px 5%;
  }

  section#UX {
    margin-top: -50px;
  }

  .section-header {
    margin: 100px auto;
  }

  section#UX .section-header {
    margin: 50px auto 100px;
  }

  .card-info h2 {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 18px;
  }

  .card-info p {
    color: lightgray;
    margin: 0px 0px;
    font-size: 18px;
  }

  .custom-shape-divider-top-1599719125 {
    margin-top: -40px;
    width: 160%;
  }
}

@media screen and (max-width: 750px) {
  .card-container {
    flex-direction: column;
  }

  .card-image {
    margin-bottom: 18px;
    width: 100%;
  }

  .right-image .card-image {
    order: unset;
  }

  .card-info {
    padding: 0px;
    width: 100%;
  }

  .right-info {
    margin-right: 0px;
    /* order: 2; */
  }

  .card-container {
    margin: 0px 0px 100px;
  }
}

@media screen and (max-width: 600px) {
  #UX.section-header {
    margin-top: 0px;
  }

  .section-header div:nth-child(1) {
    font-size: 80px;
  }

  .section-header div:nth-child(2) {
    font-size: 30px;
  }

  .right-image .card-info {
    padding: 0px 0px 0px 0px;
  }

  .card-info button {
    margin-right: 0px;
    width: 100%;
  }
}

/* FOOTER *******************************************************/

footer {
  background: #192029;
  padding: 70px 10% 0px;
  width: 100vw;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 275px 275px;
  grid-template-rows: auto auto auto 100px;
  grid-template-areas:
    "footer-logo sitemap-UX sitemap-UI"
    "footer-info sitemap-other sitemap-articles"
    "footer-contact footer-contact ."
    "footer-copyright footer-copyright footer-copyright";
  /* justify-items: center; */
  margin: 0px auto;
  max-width: 1200px;
  /* width: 1000px; */
}

footer p {
  color: rgb(224, 222, 222);
  font-size: 16px;
  line-height: 160%;
  margin-bottom: 0px;
  margin-top: 0px;
}

footer a {
  color: rgb(224, 222, 222);
}

footer a:hover {
  color: #f0a8a8;
  cursor: pointer;
}

.footer-logo {
  grid-area: footer-logo;
  display: flex;
  margin-bottom: 30px;
  cursor: pointer;
}

.footer-logo:hover {
  cursor: pointer;
}

.footer-info {
  grid-area: footer-info;
  margin-bottom: 30px;
}

.footer-info i {
  color: white;
  cursor: pointer;
  font-size: 25px;
  margin-top: 10px;
  margin-right: 15px;
}

.banner-social i:hover,
.footer-info i:hover {
  color: #f0a8a8;
  opacity: 1;
}

.footer-contact {
  grid-area: footer-contact;

  max-width: 500px;
}

.footer-contact p {
  color: rgba(211, 211, 211, 0.575);
}

.footer-logo,
.footer-info,
.footer-contact {
  align-self: flex-start;
}

.footer-contact {
  grid-area: footer-contact;
  margin-top: auto;
  align-self: flex-end;
}

.footer-contact a {
  color: #f0a8a8;
  text-decoration: none;
}

.footer-copyright {
  grid-area: footer-copyright;
  align-self: flex-end;
  justify-self: center;
  margin-bottom: 20px;
}

.sitemap-UX {
  grid-area: sitemap-UX;
}

.sitemap-UI {
  grid-area: sitemap-UI;
}

.sitemap-other {
  grid-area: sitemap-other;
}

.sitemap-articles {
  grid-area: sitemap-articles;
}

.sitemap-UI,
.sitemap-UX,
.sitemap-articles,
.sitemap-other {
  justify-self: flex-end;
  min-width: 200px;
}

.footer-social {
  grid-area: footer-social;
}

footer h4 {
  font-weight: 700;
  color: #bcd8fa;
}

.footer-logo img {
  align-self: flex-start;
  margin-right: 20px;
}

.footer-logo h2 {
  /* align-self: center; */
  color: #bcd8fa;
  font-size: 30px;
  font-weight: 500;
  line-height: 30px;
  overflow-y: hidden;
}

.footer-logo h2:nth-child(1) {
  align-self: flex-end;
}

.footer-logo h2:nth-child(2) {
  align-self: flex-start;
}

.footer-logo div {
  align-self: center;
}

@media screen and (max-width: 900px) {
  footer {
    padding: 35px 5% 0px;
  }

  .footer-container {
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    grid-template-areas:
      "footer-logo footer-logo"
      "footer-info footer-info"
      "footer-contact footer-contact"
      "sitemap-UX sitemap-UI"
      "sitemap-other sitemap-articles"
      "footer-copyright footer-copyright";
  }

  .footer-container div {
    justify-self: flex-start;
  }

  .footer-container h2 {
    font-size: 25px;
    line-height: 25px;
  }

  div[class^="sitemap"] {
    margin-bottom: 30px;
  }

  .footer-logo {
    margin-bottom: 0px !important;
  }

  .footer-contact {
    padding-bottom: 25px;
  }

  .footer-copyright {
    padding-top: 50px;
  }
}

@media screen and (max-width: 750px) {
  .footer-container {
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-template-areas:
      "footer-logo"
      "footer-info"
      "footer-contact"
      "sitemap-UX"
      "sitemap-UI"
      "sitemap-other"
      "sitemap-articles"
      "footer-copyright";
  }
}
