:root {
  --softGreen: #c7dccd;
  --darkGreen: #123a33;
  --brightGreen: #cdff7c;
  --mud: #e0d5c8;
  --grey60: #797c79;
  --grey10: #fafaf6;
  --grey80: #1b1b1b;
}

body {
  font-family: IBM Plex Sans;
  font-size: 12px;
  color: var(--grey80);
}

p {
  font-weight: 300;
}

button {
  display: flex;
  width: 209px;
  height: 58px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  font-size: 1.5em;
  font-weight: 400;
  letter-spacing: 2px;
}

button:hover {
  cursor: pointer;
}

.button-sustainability {
  background-color: var(--darkGreen);
  border: none;
  margin-left: 32px;
  color: var(--grey10);
  width: 274px;
  height: 58px;
  font-family: IBM Plex Sans;
}

.button-register {
  background-color: var(--brightGreen);
  border: none;
  margin-left: 32px;
  color: black;
  font-family: IBM Plex Sans;
}

button.read-more {
  border: 2px solid var(--brightGreen);
  background-color: var(--darkGreen);
  color: var(--brightGreen);
  font-size: 18px;
  width: 259px;
  font-family: IBM Plex Sans;
  margin-bottom: 0px;
  margin-top: 30px;
}

.sustainability-img {
  width: 95%;
  margin: auto;
  display: flex;
  max-height: 385px;
}

.sustainability {
  background-color: var(--grey10);
  display: flex;
  height: 368px;
  width: 400px;
  margin: auto;
  margin-bottom: 48px;
  flex-direction: column;
  align-items: flex-start;
  gap: 33px;
}

.container-sustainability {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 32px 0px 32px;
}

h4.sustainability-h4 {
  font-size: 40px;
  margin-bottom: 0;
  margin-top: 0px;
  line-height: 50px;
}

h5.sustainability-h5 {
  margin-top: 16px;
  margin-bottom: 0px;
}

.environment {
  margin: auto;
  margin-bottom: 48px;
  height: 505px;
  width: 95%;
  background-image: url("pictures/Miljobild-mobil-test.png");
  background-size: cover;
  background-position: center;
  display: flex;
}

.register {
  background-color: var(--mud);
  display: flex;
  height: 567px;
  width: 95%;
  margin: auto;
  margin-bottom: 48px;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  margin-left: 2.5%;
}

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

.email-register {
  display: flex;
  flex-direction: column;
  padding: 0px 32px;
}

.container-email-register {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

h4.register-h4 {
  margin-bottom: 0;
  margin-top: 0px;
  line-height: 40px;
}

h5.register-h5 {
  margin-top: 16px;
  margin-bottom: 0px;
  font-weight: 300px;
}

label {
  font-size: 1.7em;
  font-weight: 400;
  margin-bottom: 5px;
}

input {
  height: 61px;
  width: 296px;
  border: none;
  font-size: 1.5em;
  padding: 0 20px;
  font-family: IBM Plex Sans;
}

h5 {
  font-size: 1.7em;
  font-weight: 300;
}

.tree-planted {
  background-color: var(--darkGreen);
  display: flex;
  height: 691px;
  width: 95%;
  margin: auto;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.container-planted {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tree-icon {
  width: 58px;
  height: 70px;
}

.cloud-icon {
  width: 70px;
  height: 44px;
}

h4.number {
  color: white;
  font-size: 4.5em;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  line-height: 0px;
}

h2.number {
  font-weight: 500;
  font-size: 7.3em;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  color: white;
}

h5.text-to-number {
  color: var(--softGreen);
  font-weight: 400;
  font-size: 1.5em;
  margin-top: 0px;
  margin-bottom: 0px;
  letter-spacing: 2px;
}

footer {
  background-color: var(--softGreen);
}

.footer-start {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  margin-bottom: 33px;
}

.circle-arrow {
  margin-top: 30px;
  height: 40px;
  width: 40px;
  cursor: pointer;
}

.arrow {
  height: 30px;
  width: 30px;
  cursor: pointer;
}

h3.to-the-top {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 2px;
}

.footer-middle {
  display: flex;
  height: 60px;
  border: none;
  font-size: 20px;
  background-color: var(--softGreen);
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding-left: 30px;
  padding-right: 30px;
}

h4 {
  font-size: 32px;
  font-weight: 400;
}

.bold-word {
  font-weight: 500px;
  font-size: 18px;
}

.footer-end {
  padding: 40px;
  display: flex;
  justify-content: space-evenly;
}

hr {
  border: none;
  height: 1px;
  background-color: var(--grey60);
  margin-left: 10px;
  margin-right: 10px;
}

.contact-info.open h4 {
  margin: 30px;
  font-size: 32px;
}

.contact-info.open p {
  margin: 30px;
  font-size: 20px;
  line-height: 31px;
}

.contact-info h4,
.contact-info p {
  font-size: 0px;
}

.about-info.open h4 {
  margin: 30px;
  font-size: 32px;
}

.about-info.open p {
  margin: 30px;
  font-size: 20px;
  line-height: 31px;
}

.about-info h4,
.about-info p {
  font-size: 0px;
}

.follow-h4 {
  display: none;
}

.icons {
  cursor: pointer;
}

.icons p {
  font-size: 0px;
}

@media (min-width: 600px) {
  .grid {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-template-rows: 1fr 1fr;
  }

  .sustainability-section {
    width: 95%;
    display: flex;
    flex-direction: row-reverse;
    margin-left: 2.5%;
    height: 385px;

    /* display:grid;
    grid-template-columns: 1fr 1fr; */
  }

  .sustainability-img {
    width: 50%;
  }

  .sustainability {
    width: 50%;
    height: 100%;
    margin: 0px;
  }

  .environment {
    margin-bottom: 48px;
    height: 445px;
    width: 95vw;
    object-fit: cover;
    /* max-width: 1216px; */
    background-image: url("pictures/Miljobild-desktop.png");
    background-size: cover;
    background-position: center;
    margin: 2.5%;
    display: flex;
  }

  /* .sustainability {
    background-color: var(--grey10);
    display:flex;
    height: 368px;
    width: 400px;
    margin: auto;
    margin-bottom: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 33px;
  } */

  .register {
    background-color: var(--mud);
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 385px;
    gap: 0px;
    width: 95%;
    margin-bottom: 48px;
  }
  .container-register {
    width: 50%;
    display: block;
    padding: 88px;
  }

  .container-email-register {
    display: flex;
    background-color: var(--grey10);
    height: 385px;
    justify-content: center;
    padding-left: 88px;
  }

  input {
    background-color: var(--grey10);
    border: 1px solid var(--grey80);
  }

  input:focus {
    outline: none;
  }

  h5.register-h5 {
    align-self: stretch;
    width: 413px;
  }

  .tree-planted {
    display: flex;
    height: 380px;
    width: 95%;
    margin: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .tree {
    padding-left: 60px;
  }
  .cloud {
    padding-right: 60px;
    margin-top: 24px;
  }

  h4.number {
    padding-left: 45px;
    padding-right: 20px;
    margin-top: 30px;
    font-weight: 500;
  }

  .footer-middle-end {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-bottom: 80px;
  }

  .footer-middle {
    display: flex;
    padding-left: 0px;
  }

  .desktop-footer {
    display: flex;
    flex-direction: column;
  }
  .footer-middle img {
    height: 0px;
  }

  .about-info h4 {
    font-size: 28px;
  }
  .footer-middle h4 {
    font-size: 20px;
    text-transform: uppercase;
  }

  .about-info p {
    font-size: 20px;
    margin-top: 0px;
  }
  .contact-info h4 {
    font-size: 28px;
  }

  .contact-info p {
    font-size: 20px;
    margin-top: 0px;
  }

  .footer-end {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 18px;
    gap: 10px;
  }

  .icon {
    height: 24px;
    width: 24px;
  }

  .icons {
    display: flex;
    align-items: center;
    line-height: 20px;
  }

  .follow-h4 {
    font-size: 20px;
    display: inline;
    margin: 0px;
    font-weight: 400;
  }

  .icons p {
    font-size: 20px;
    padding-left: 5px;
    margin: 0px;
  }
}
