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

  transition: 300ms;
}

body {
  font-family: "circe", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 10px;

  background-color: var(--primaryColorL);
  color: var(--primaryColorD);
  background-image: url(../img/bacground1.png);
  background-size: cover;
}

/*** *** GENERAL *** ***/
main, footer {
  display: flex;
  flex-direction: column;
}

.content__margin {
  padding: var(--breathe);
}
.content__margin-30 {
  padding: var(--thirtySpacing);
}
  .col--equal-text {
      column-count: 2;
      column-gap: var(--thirtySpacing);
  }

.colorblock--l-purple {
  background-color: var(--secondaryPurpleColor);
  color: var(--primaryColorL);
}
.colorblock--purple {
  background-color: var(--primaryPurpleColor);
  color: var(--primaryColorL);
}
/* *** LAYOUT *** */
.site-hero {
  padding: var(--breathe);
}

.content__full {
  display: flex;
  flex-direction: column;
  padding: var(--twentySpacing) 0;
}

.content__margin {
  display: flex;
  flex-direction: row;

  padding: var(--breathe);
}

.content__margin-v {
  display: flex;
  flex-direction: column;

  gap: var(--twentySpacing);

  padding: var(--thirtySpacing) var(--breathe);
}
  #beginning {
    position: absolute;
    fill: none;
    stroke: var(--primaryColorM);
    stroke-width: 2px;
    margin-top: 20vh;
    width: 30vw;
    opacity: .2;
  }
    #beginning::after {
      content: '-';
      color: var(--accentColor);
    }
  .section__body {
    display: flex;
    gap: var(--twentySpacing);
    flex-direction: row;
    justify-content: center;
  }
  .segment__title {
    display: flex;
    gap: var(--twentySpacing);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--thirtySpacing);
  }
    #how-sender-section .segment__title {
      background-image: url(../img/sender.png);
      background-size: cover;
      background-position: bottom right;
      background-repeat: no-repeat;
    }
    #how-senders-section .segment__title {
      background-image: url(../img/senders.png);
      background-size: contain;
      background-position: bottom right;
      background-repeat: no-repeat;
    }
    .section__body > div,
    .segment__title > div {
      flex-basis: 100%;

      text-align: center;
    }
      .section__body p {
        text-align: left;
      }
    .section__body--centre {
      flex-basis: 100%;
      align-items: center;
      justify-content: center;
    }

    .section__layered {
      position: relative;
      width: 100%;
    }
      .section__layered .background {
        position: relative;
        text-align: center;
      }
        .section__layered .background svg {
          fill: var(--secondaryPurpleColor);
          stroke: var(--secondaryPurpleColor);
          width: 90vh;
        }
      .section__layered .foreground {
        position: absolute;
        top: 0;
        left: 0;
        padding: 30px;
        gap: 30px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;

      }

       .section__layered .foreground > div {
        flex-basis: 100%;
       }
        
      .section__layered .foreground p {
        overflow: hidden;
        height: 0;

        transition: 5s;

      }
        .section__layered #creators:hover p {
          height: auto;
        }
        .section__layered #space:hover p {
          height: auto;
        }
        .section__layered #shift:hover p {
          height: auto;
        }

/* *** TYPOGRAPHY *** */

h1 {
  font-weight: 800;
  font-style: normal;
}
  .site-hero h1 {
    font-size: var(--mediumSize);
    line-height: 1;
    text-align: center;
  }
  .site-hero h1 span {
    display: block;
    font-size: clamp(3rem, 30vw, 40rem);
    max-width: min(60ch, 100vw); /* balance readability & fit */;
    font-family: "aw-conqueror-didot", serif;
    text-transform: capitalize;
    text-decoration-color: var(--accentColor);
  }
  
h2,
.section__title h2 {
  display: block;
  font-size: var(--mediumNormalSize);
  font-weight: 300;
  line-height: var(--mediumSize);
}
  .section__title h2 {
    text-align: center;
  }

h3 {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
  opacity: .6;

  margin-bottom: var(--tenSpacing);
}
  .section__title h3 {
    text-align: center;
  }

h4 {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
  opacity: .6;

  margin-bottom: var(--tenSpacing);
}
p {
  text-indent: 0;
  font-size: var(--normalSize);
  text-indent: var(--tenSpacing);
  opacity: .6;
}

.light {
  color: var(--primaryColorL)
}

/* *** BUTTON *** */
a.btn, button {
  display: inline-block;
  margin: 10px;
  padding: 8px var(--twentySpacing);
  border: 2px solid var(--primaryPurpleColor);
  color: var(--primaryPurpleColor);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
}
.btn.btn--primary {
  border: 2px solid var(--primaryPurpleColor);
  background-color: var(--primaryPurpleColor);
  color: var(--primaryYellowColor);
  border-radius: 9999px;
}
  .btn.btn--primary:hover {
    background: none;
    color: var(--primaryPurpleColor);
  }

  .btn.btn--secondary {
    border: 2px solid var(--primaryPurpleColor);
    color: var(--primaryPurpleColor);
    border-radius: 3px;
  }
  .btn.btn--secondary:hover {
    border: 2px solid var(--hoverColor);
    background-color: var(--primaryPurpleColor);
    color: var(--primaryYellowColor);
  }

.btn.btn--circle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 60px;
  padding: 0;
  color: var(--primaryColorL);
  border: 8px solid var(--primaryColorL);
  border-radius: 9999px;
}
 .btn.btn--circle:hover {
  border: 0px;
  background-color: var(--primaryColorM);
 } 

/* on coloured backgrounds */
.colorblock--purple .btn--primary {
  border: 2px solid var(--primaryYellowColor);
  border-radius: 9999px;
  color: var(--primaryYellowColor);
}
.colorblock--purple .btn--primary:hover {
  background-color: var(--primaryYellowColor);
  color: var(--primaryPurpleColor);
}

.colorblock--purple .btn--secondary {
  border: 2px solid var(--primaryYellowColor);
  color: var(--primaryYellowColor);
}  
.colorblock--purple .btn--secondary:hover {
  border: 2px solid var(--hoverColor);
  background: none;
  color: var(--primaryYellowColor);
}

.nowhere-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  width: 100%;
  font-size: var(--hugeSize);
  font-weight: 900;
  backdrop-filter: blur(5px);
  border: 10px solid var(--primaryYellowColor);
  color: var(--primaryColorL);
  background-color: var(--primaryYellowColorC);
  border-radius: 9999px;
}

/* *** ELEMENTS *** */
ul {
  margin-bottom: var(--fiveSpacing);
}
 ul li {
  padding-bottom: var(--fiveSpacing);
  font-size: var(--normalSize);
  opacity: .4;
  border-bottom: 1px dotted var(--primaryColorL);
 }

svg {
  fill: none;
  stroke: var(--primaryColorM);
  stroke-width: 8px;
  width: var(--tenWidth);
}
#give-section {
  justify-content: center;
  text-align: center;
  padding: var(--thirtySpacing) var(--breathe);
}
#give-section svg {
  width: var(--mediumSize);

  fill: var(--secondaryPurpleColor);
}
  #give-section svg:hover {
    fill: var(--primaryYellowColor);
  }

/* *** doodads *** */
.em-dash h2 {
  font-size: 280px;
  font-weight: 900;
  text-align: center;
  color: var(--primaryPurpleColor);
}
.em-dash hr {
  border: 0;
  border-bottom: 30px solid var(--accentColor);
}
.dot-pattern  {
  background-image: url(../img/dot-pattern.jpg);
  background-size: cover;
}

footer {
  box-shadow: -10px 10px 50px red;
  display: flex;
  flex-direction: row;
  gap: var(--thirtySpacing);
  padding: var(--thirtySpacing) var(--breathe);
}
  footer > section {
    flex-basis: 100%;
  }
  #footer-logo {
    text-align: center;

  }
  #footer-logo svg {
    width: var(--mediumSize);

    fill: var(--primaryColorL);
    margin-bottom: var(--tenSpacing);
  }

  footer p {
    font-size: 12px;
  }

  .social-media-icon svg {
    width: 30px;
    cursor: pointer;
    margin: 0 var(--tenSpacing) 0 0;
  }
    .social-media-icon .background {
      fill: var(--secondaryPurpleColor);
    }
      .social-media-icon:hover .background {
        fill: var(--primaryYellowColor);
      }
    .social-media-icon .foreground {
      fill: var(--primaryColorL);
    }
    .social-media-icon:hover .foreground {
      fill: var(--secondaryPurpleColor);
    }

@media only screen and (max-width: 768px) { 
    h1 {
      font-size: var(--mediumSize);
    }
    p {
      text-indent: 0;
    }
    .content__full,
    .content__margin,
    .content__margin-v,
    footer  {
      padding: var(--thirtySpacing);
    }
    .section__body {
      flex-direction: column;
    }
    .col--equal-text {
        column-count: 1;
        padding: 0;
        margin: 0;
    }
        
    .section__layered .foreground, #aim {
      flex-direction: column;
    }
    .em-dash {
      display: none;
    }
    .section__layered .background {
      display: none;
    }
    footer {
      flex-direction: column;
    }
    
  }