@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;800;900&display=swap");

:root {
  --aspit-darker-green: HSL(175, 47%, 18%);
  --aspit-lighter-green: HSL(176, 36%, 23%);
  --aspit-red: HSL(5, 100%, 64%);
  --aspit-white: HSL(0, 0%, 100%);
  --aspit-lightest-green: #99CDCD;
  --aspit-lightest-green: HSL(176, 36%, 20%);
  --aspit-lightest-red: #FECDCC; 
}
html {
  font-size: 62.5%;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  color: var(--aspit-white);
  font-size: 1.8rem;
  line-height: 1.8;
  min-height: 100vh;
  word-break: break-word;
}
body:before {
  content: "";
  display: block;
  min-width: 100vw;
  min-height: 100vh;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  background-color: rgba(0, 0, 0, 0.2);

  position: fixed;
  z-index: -1;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ////////// PAGE HEADER ////////////// */

.page-header {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  height: 7rem;
  padding: 0.5rem 1rem;
  transition: background-color 1s;
  will-change: background-color;
  height: 6rem;
}
.sticky {
  background-color: var(--aspit-lighter-green);
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}
.sticky .site-menu__link {
  color: var(--aspit-red);
}
/* .sticky .white-fill {
  fill: var(--aspit-darker-green);
  transition: fill 1s;
} */
.site-logo svg {
  max-width: 100%;
}
.logo-large {
  float: left;
  shape-outside: circle(50%);
  margin-right: 50px;
  width: 400px;
  height: 400px;
}
.logo-small {
  height: 100%;
  aspect-ratio: 1/1;
}


.page-content {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 1rem;
  padding-top: 6rem;
  background-color: var(--aspit-darker-green);
  box-sizing: border-box;
}
.columns {
  display: flex;
}
.inner-wrapper {
  margin: 0 auto;
  max-width: 96rem;
}

/* ///////////////// TEXT /////////////// */

.page-title-mid {
  font-size: 3rem;
  font-weight: 800;
}
h1,
h3 {
  font-weight: 900;
  line-height: 1.5;
  color: var(--aspit-red);
  margin: 5rem 0;
}
h3 {

  margin: 5rem 0 0 0;
}
p {
  margin: 3rem 0;

}

h1 {
  font-size: clamp(40px, 4vw, 60px);
}
h3 {
  font-size: clamp(32px, 3.2vw, 40px);
}
p {
  font-size: clamp(18px, 1.8vw, 18px);
}

/* h1 {
  font-size: clamp(42px, 4vw, 60px);
}
h3 {
  font-size: clamp(32px, 4vw, 40px);
}
p {
  font-size: clamp(18px, 2vw, 18px);
} */

.white-fill {
  fill: var(--aspit-white);
  transition: fill 1s;
}
.red-fill {
  fill: var(--aspit-red);
}

.site-logo .aspit-dot {
  animation: logo-dot 3s infinite;
}
@keyframes logo-dot {
  0% {
    transform: translateY(0%);
  }
  12.5% {
    transform: translateY(-5%);
  }
  25% {
    transform: translateY(0%);
  }
}

/* /////////// TOOLTIP /////////////// */

.tooltip-trigger, 
.main-content a {
  color: var(--aspit-red);
  border: none;
  /* font-weight: bold; */
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  border-bottom: dotted 0.1rem var(--aspit-red);
  text-decoration: none;
}
.tooltip-trigger:before {
  content: attr(data-tooltip);
  color: #222;
  background-color: var(--aspit-white);
  position: absolute;
  left: 50%;
  bottom: 4rem;
  width: 35rem;
  padding: 2rem;
  border-radius: 1rem;
  white-space: normal;
  box-sizing: border-box;
  transform: translateX(-50%) scale(0);
  transform-origin: center bottom;
  transition: transform 0.3s;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}
.tooltip-trigger:hover:before {
  color: #222;
  font-size: 1.3rem;
  font-weight: normal;
  transform: translateX(-50%) scale(1);
  transition: transform 0.3s cubic-bezier(0.25, 0.5, 0.5, 1.5);
}

.tooltip-trigger:after {
  content: "";
  position: absolute;
  bottom: 5.8rem;
  opacity: 0;
  display: block;
  height: 2.4rem;
  width: 2.4rem;
  background-color: var(--aspit-white);
  left: 50%;
  transform: rotate(-45deg);
  clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
  border-radius: 0 0 0 0.5rem;
  transform-origin: center bottom;
  transition: transform 0.3s;
}
.tooltip-trigger:hover:after {
  left: 50%;
  transform: rotate(-45deg);
  transition: transform 0.3s, opacity 0.3s, bottom 0.3s;
  bottom: 3.4rem;
  opacity: 1;
}

/* /////////// IMAGES //////////////// */

.image-round-1,
.image-round-2 {
  shape-outside: circle(50%);
  aspect-ratio: 1/1;
}
.image-round-1,
.image-round-2 {
  max-width: 100vw;
}
.image-round__image {
  background-color: red;
  border-radius: 50%;
}
.float-left,
.float-right {
  float: none;
  margin: 0;
}

/* ///////////////// SITE MENU ///////////////// */

.site-menu {
  font-size: 1.6rem;
  text-transform: uppercase;
}

.site-menu__button {
  width: 6rem;
  height: 6rem;
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  cursor: pointer;
  background: var(--aspit-lighter-green) url(../svg/icon-menu.svg) center no-repeat;
  background-size: 60%;
  z-index: 1;
}

.site-menu__items {
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--aspit-lighter-green);
  position: fixed;
  top: 60px;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.5s;
  box-sizing: border-box;
  padding: 2rem;
  font-size: 2rem;
  text-transform: initial;
  text-decoration: none;
  z-index: 1;
}
.site-menu__item {
  display: flex;
  align-items: center;
}
.site-menu__item::before {
  content: "";
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--aspit-red);
  margin-right: 1.4em;
}

.show .site-menu__items {
  transform: translateX(0);
}

.show .site-menu__link {
  color: var(--aspit-white);
  text-decoration: none;
}

/* //////////////// ICONS /////////////////// */

.icon-exclamation {
  text-align: right;
  margin-top: 80px; 
  
}
.icon-exclamation img {
  max-width: 5rem;
  animation: pulse .5s alternate infinite;
}

@keyframes pulse {
  100% {
    transform: scale(1.2);
  }
}


/* /////////////////// BUTTONS /////////////////// */

a.btn-readmore {
  background-color: var(--aspit-lighter-green);
  color: var(--aspit-red);
  padding: 2rem 4rem;
  display: inline-block;
  text-decoration: none;
  border-radius: calc(84px / 2);
  border-bottom: none;
  border-style: none;
  font-size: 2rem;
}


/* /////////// MEDIA QUERIES ////////////// */

@media (min-width: 960px) {
  h1 {
    margin-top: 30px;
  }
  p {
    text-align: justify;
  }
  .site-menu__items {
    display: flex;
    column-gap: 2rem;
    width: auto;
    height: 6rem;
    background-color: transparent;
    position: static;
    text-transform: uppercase;
    font-size: 1.6rem;

    transform: translateX(0);
  }
  .site-menu__item::before {
    content: "";
    width: 0;
    height: 0;
    margin: 0;
  }

  .site-menu__link {
    color: var(--aspit-red);
    text-decoration: none;
  }
  .site-menu__link {
    display: flex;
    align-items: center;
    height: 100%;
  }
  .site-menu__button {
    display: none;
  }

  .page-content {
    padding-top: 20rem;
  }
  .image-round-1 {
    max-width: 30vw;
  }
  .image-round-2 {
    max-width: 40vw;
  }
  .float-right {
    float: right;
    margin: 30px 0 30px 40px;
  }
  .float-left {
    float: left;
    margin: 30px 40px 30px 0;
  }
  .icon-exclamation {
    margin-top: 0; 
    
  }
  .icon-exclamation img {
    max-width: 10rem;
    
  }
}
