/* Google font 'Open sans' */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  font-family: "Open Sans", sans-serif;

  /* --colour-1: #5F6F52; */
  --colour-1: #294b39;
  --colour-2: #A9B388;
  --colour-3: #FEFAE0;
  --colour-4: #B99470;
  --grey-bg: rgba(210,210, 210,1);

  /* remove default styles */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;

  background-color: var(--grey-bg);

  overflow-x: hidden;
}

#section-1 {
  background-image: url("images/mbingu-4.jpg");
  background-repeat: no-repeat;
  background-position: center 25%;
  height: 700px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  /* Standard syntax */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-size: cover;
}

#section-1-blurb {
  font-size: 2.5vw;
  font-weight: 600;

  width: 90%;
  max-width: 900px;
  color: white;
  margin: auto auto 12rem 3rem;
  text-shadow:
  0 0 5px rgba(0,0,0,0.8),
  0 2px 10px rgba(0,0,0,0.7),
  0 5px 15px rgba(0,0,0,0.5);
}

#section-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 4rem 0;
  flex-wrap: wrap;
}

#section-2-header {
  /* color: var(--colour-1); */
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  /* text-shadow: 1px 1px 1px #000; */
}

#section-2-content {
  display: flex;
  gap: 2rem;
}

#section-2-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 150% 150% 150% 150% / 40% 40% 40% 40%;
  
}

#section-2-blurb {
  width: 90%;
  max-width: 900px;
  font-size: 1.5rem;

  padding: 1rem 3rem;
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
  /* background-color: rgba(220, 220, 220, 1); */
  border-radius: 0.2rem;

  text-align: center;
}

#logo {
  width: 50%;
  max-width: 400px;
}

img {
  max-width: 100%;
}

footer {
  background-color: var(--colour-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 1.5rem 0;

  color: var(--colour-3)
}

#footer a {
  color: var(--colour-3);
}

#footer-header {
  margin-bottom: 1rem;
}

#contact-list {
  list-style: none;

  display: flex;
  flex-direction: column;

  font-size: 1.5rem;
}

.list-left-item {
  width: 6rem;
}

.list-right-item {
  color: var(--colour-3);
}

.list-right-item:hover {
  color: var(--colour-2);
}

.list-right-item:active {
  color: var(--colour-4);
}

#contact-list li {
  display: flex;
  gap: 5px;
}

#linkedin-logo {
  height: 50px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  #section-2-blurb {
    padding: 0;
  }
  #section-2-content {
    flex-direction: column;
    align-items: center;
  }

  #section-1-blurb {
    font-size: 5vw;
  }
}
