/* resets & base formatting */
  *, *::before, *::after {
    margin: 0;
    box-sizing: border-box;
  }
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  input, button, textarea, select {
    font: inherit;
  }
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  }
html {
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100vh;
  width: 100vw;
  background: repeating-linear-gradient(
    45deg,
    var(--darkblue),
    var(--darkblue) 20px,
    var(--darkblueshade) 20px,
    var(--darkblueshade) 40px
  );
  background-size: 170px 170px;
  background-color: var(--darkblue);
  animation: scroll-stripes 10s linear infinite;
}
@keyframes scroll-stripes {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -170px 170px;
  }
}






/* fonts */
@font-face {
  font-family: "BLUEBERRY";
  src: url("/assets/BLUEBERRY.woff2");
}
@font-face {
  font-family: "PPObject-Regular";
  src: url("/assets/PPObjectSans-Regular.otf");
}
@font-face {
  font-family: "PPObject-Heavy";
  src: url("/assets/PPObjectSans-Heavy.woff2");
}






/* variables */
:root{
  --white: #ffffff;
  --black: #1a1a1a;
  --lightblue: #a4d5f3;
  --primary: #71a9db;
  --darkblue: #2f409a;
  --darkblueshade: #26337b;
  --royal: #f0a944;
  --viewport: #4f5050;
  --red: #9a3d4c;
  --yellow: #f99f31;
  --green: #64883b;
  --shadow: var(--darkblueshade) 10px 10px 30px;
  --shadow-nooffset: var(--darkblueshade) 0px 0px 15px;
  --shadow-inset: var(--darkblue) 0px 0px 25px -20px inset;
  --filter-primary: invert(64%) sepia(14%) saturate(1030%) hue-rotate(170deg) brightness(99%) contrast(89%);
  --filter-darkblue: invert(21%) sepia(44%) saturate(2245%) hue-rotate(214deg) brightness(97%) contrast(93%);
  --filter-lightblue: invert(69%) sepia(38%) saturate(390%) hue-rotate(169deg) brightness(87%) contrast(93%);
  --filter-royal: invert(87%) sepia(39%) saturate(900%) hue-rotate(320deg) brightness(93%) contrast(93%);
  --filter-black: invert(1%) sepia(0%) saturate(0%) hue-rotate(339deg) brightness(70%) contrast(81%);
  --filter-viewport: invert(32%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(95%);
  --filter-red: invert(34%) sepia(9%) saturate(2900%) hue-rotate(303deg) brightness(91%) contrast(93%);
  --filter-yellow: invert(57%) sepia(75%) saturate(340%) hue-rotate(353deg) brightness(102%) contrast(100%);
  --filter-green: invert(46%) sepia(51%) saturate(360%) hue-rotate(43deg) brightness(95%) contrast(91%);
  --transition: 100ms cubic-bezier(0.33, 1, 0.66, 1);
  --transition-medium: 200ms cubic-bezier(0.33, 1, 0.66, 1);
  --radius: 25px;
  --radius-small: 10px;
  --padding: 1rem;
  --padding-small: 0.3rem;
  --gap: 1rem;
  --gap-large: 1.5rem;

}
.full {
  grid-column: span 6;
}

.twothird{
  grid-column: span 4;
}

.half {
  grid-column: span 3;
}

.third{
  grid-column: span 2;
}


.square{
  aspect-ratio: 1 / 1;
}

.nonint{
  border-radius: 50px;
}





/* buttons and icons*/
.icon-int,.icon-hover {
  width: 3em;
  height: 3em;
  background: none;
  border-radius: 4px;
  transition: var(--transition);
  justify-content: center;
}


.icon-int img,
.icon-hover img {
  width: 100%;
  height: 100%;
  filter: var(--filter-darkblue);
  transition: var(--transition)
}

.icon-int:hover img,
.icon-hover:hover img {
  filter: var(--filter-primary);
  
}

.icon-hover {
  position: relative;
  display: flex;
  cursor:pointer;
}



.tooltip {
  position: absolute;
  bottom: 115%;
  background-color: var(--darkblue);
  color: white;
  padding: 0.3em 0.6em;
  border-radius: 6px;
  font-size: 1em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-family: 'PPObject-Regular', sans-serif;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--darkblue) transparent transparent transparent;
}

.icon-hover:hover .tooltip {
  opacity: 1;
}


.button {
  background: var(--lightblue);
  text-align: center;
  padding: .5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--darkblue);
  font-weight: 500;
  font-family: 'BLUEBERRY', sans-serif;
  font-size: 3.5em;
  transition: var(--transition)
}

.button:hover{
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-inset);

}







/*main center box*/

.header{
  margin-top: -25px;

}

body {
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

#mainbox{
  background-color: var(--white);
  width: 45em;
  height: fit-content;
  margin: auto;
  border-radius: 25px;
  padding: 25px;
  box-shadow: var(--shadow);
}
#grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 1rem;
}







/* box content */
.logo {
  padding: calc(7% - 25px);
  max-width: 40em;
  margin: auto;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  background: var(--lightblue);
  padding: 1rem;
  margin-top: .5rem;
  margin-bottom: 2rem;
}







/*footer*/
.footer {
  width: 100vw;
  position: fixed;
  bottom: 0;
  display: flex;
  gap: calc(100vw - 525px);
  align-items: center;
}

.footer img{
  width: 250px;
  float: right;
}

.footerlinks{
  float:left;
  margin-left: 25px;
  width: 250px;
}

.footerlinks a, .footerlinks .copyright{
  display: flex;
  flex-direction: column;
}

.footerlinks a{
  color: var(--lightblue);
  font-family: "PPObject-Heavy", sans-serif;
  font-weight: 800;
  font-size: .9em;
  margin-bottom: -.20em;
  text-decoration: none;
}

.footerlinks a:hover{
  color:var(--primary);
  transition: var(--transition);
}

.footerlinks .copyright{
  color: var(--primary);
  font-family: "PPObject-Regular", sans-serif;
  font-weight: 400;
  font-size: .85em;
}







/*media queries*/

@media only screen and (max-height: 820px) and (max-width: 1200px) {

  .footer{
    display: none !important;
  }

}


/* mobile queries */

@media only screen and (max-width: 745px) {
  html {
  height: 120vh;
  width: 100vw;
}
  #mainbox{
  width: 95vw;
  margin-top: 7.5vh;
  padding: var(--padding);
}
.logo{
  margin-top: calc(25px - var(--padding));
  margin-bottom: 25px;
  padding: var(--padding-small);
}
  .footer{
  display: none;
}

  .button.full {
  padding: 1.5rem;
  font-size: 3.5em;
  line-height: 1em;
}
  .button.half {
  padding: 1.5rem;
  font-size: 2.5em;
  line-height: 1em;
}


@media only screen and (max-width: 550px) {
  .button.full {
  padding: 1.5rem;
  font-size: 3em;
  line-height: 1em;
}
  .button.half {
  padding: 1.25rem;
  font-size: clamp(1em, 6.5vw, 1.7em);
  line-height: 1em;
}
  .socials {
    gap: .5rem;
    padding: 1rem;
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
}
  .icon-int,.icon-hover {
    height: fit-content;
}


}

@media only screen and (max-width: 375px) {
  .button.full {
  padding: 1.5rem;
  font-size: 2em;
  line-height: 1em;
}
  .button.half {
  padding: 1.25rem;
  font-size: clamp(.75em, 10vw, 1.1em);
  line-height: 1em;
}

}