@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  overflow-x: hidden;
}

body {
  padding-top: 60px;
  font-family: 'Funnel Sans', sans-serif;
  background-color: #E6E6E6;
  overflow-x: hidden;
  font-size: 100%;
}

.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vertical-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px; /* controls how wide it is on desktop */
  margin: 40px auto;
  padding-top: 90%; /* 9:16 aspect ratio = 16 / 9 * 100 */
  overflow: hidden;
}

.vertical-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


h1 { /* title */
  color: #413f4c;
  font-family: 'Funnel Display';
  line-height: 0.9;
  font-size: 70px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0;
  margin-top: 20px;
}

hres { /* Resume title */
  color: #413f4c;
  font-family: 'Funnel Display';
  line-height: 0.9;
  font-size: 70px;
  font-weight: 100;
  text-align: center;
}

hart { /* Resume title */
  color: #413f4c;
  font-family: 'Funnel Display';
  line-height: 1.2;
  font-size: 16px;
  font-weight: 300;
	width: 100%;
  display: inline-block;
  text-align: center;
	padding:  30px;
	padding-bottom:  0px;
	margin-bottom: 0;
}

h5 { /* Sub title */
  color: #74707A;
  font-size: 26px;
  font-weight: 100;
  font-family: 'Funnel display', sans-serif;
  margin-top: 14px;
  margin-bottom: 20px;
}

h7 { /* Sub title */
  color: #413f4c;
  padding-left: 2rem;
  width:inherit;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Funnel display', sans-serif;
  margin-top: 14px;
  margin-bottom: 20px;
}

h6 { /* Sub title */
  color: #74707A;
  font-size: 18px;
  font-weight: 100;
  font-family: 'Funnel display', sans-serif;
  margin-top: 14px;
  margin-bottom: 20px;
}

h3 { /* timeline title */
  color: #9C9FB2;
  font-family: 'Funnel Display';
  font-size: 20px;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 20px;
}

h2 { /* resume title */
  color: #EF4137;
  font-size: 25px;
  font-family: 'Funnel Display', sans-serif;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0;
}

h10 { /* Copy Resume */
  font-size: 14px;
  text-align: left;
  font-weight: 100;
  margin-top: 10px;
  display: inline-block;
}

he { /* Company Resume */
  color: #413f4c;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Funnel Display', sans-serif;
}

ha { /* Position Resume */
  color: #74707A;
  font-size: 20px;
  font-weight: 100;
  font-family: 'Funnel display', sans-serif;
}

ho { /* Time Resume */
  font-family: 'Funnel Sans', sans-serif;
  font-weight: 100;
  align: right;
  color: #EF4137;
  font-size: 14px;
}

hfoot {
  color: #9C9FB2;
  font-size: 12px;
  font-family: 'Funnel Sans', sans-serif;
}


hlogo { /* title */
  color: #413f4c;
  font-family: 'Funnel Display';
  line-height: 0.8;
  font-size: 6vw;
  font-weight: 700;
  text-align: left;
  margin-bottom: 0;
}

.text-highlight {
  background-color: #fff;
  font-size: 14px;
  font-family: 'funnel display';
  font-weight: 100;
  color: #9C9FB2;
  padding: 0.3em 0.6em;
  border-radius: 0.6em;
  display: inline-block;
}

.text-highlight a {
  color: #9C9FB2;
  text-decoration: none;
}

.text-highlight a:hover {
  text-decoration: underline;
}

/* Fancy Button Styles */
@property --angle-1 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}

@property --angle-2 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}

.button-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.button-wrap {
  position: relative;
  z-index: 2;
  border-radius: 999vw;
  background: transparent;
  pointer-events: none;
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.button-shadow {
  --shadow-cuttoff-fix: 2em;
  position: absolute;
  width: calc(100% + var(--shadow-cuttoff-fix));
  height: calc(100% + var(--shadow-cuttoff-fix));
  top: calc(0% - var(--shadow-cuttoff-fix) / 2);
  left: calc(0% - var(--shadow-cuttoff-fix) / 2);
  filter: blur(2px);
  overflow: visible;
  pointer-events: none;
}

.button-shadow::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 999vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
  width: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  height: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  left: calc(var(--shadow-cuttoff-fix) - 0.875em);
  padding: 0.125em;
  box-sizing: border-box;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
  overflow: visible;
  opacity: 1;
}

.fancy-button {
  /* Basic Styling */
  --border-width: 1px;
  all: unset;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 999vw;
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(1px);
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
  text-decoration: none;
}

.fancy-button:hover {
  transform: scale(0.975);
  backdrop-filter: blur(0.01em);
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5),
    0 0 0 0 rgba(255, 255, 255, 1);
}

.fancy-button span {
  position: relative;
  display: block;
  user-select: none;
  font-family: 'Funnel Display', sans-serif;
  letter-spacing: 0.5px;
  font-weight: 100;
  font-size: 18px;
  color: #413f4c;
  text-shadow: 0em 0.25em 0.05em rgba(0, 0, 0, 0.1);
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0.875em 1.5em;
}

.fancy-button:hover span {
  text-shadow: 0.025em 0.025em 0.025em rgba(0, 0, 0, 0.12);
}

.fancy-button span::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: calc(100% - var(--border-width));
  height: calc(100% - var(--border-width));
  top: calc(0% + var(--border-width) / 2);
  left: calc(0% + var(--border-width) / 2);
  box-sizing: border-box;
  border-radius: 999vw;
  overflow: clip;
  background: linear-gradient(
    var(--angle-2),
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40% 50%,
    rgba(255, 255, 255, 0) 55%
  );
  z-index: 3;
  mix-blend-mode: screen;
  pointer-events: none;
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  transition: background-position 500ms cubic-bezier(0.25, 1, 0.5, 1),
    --angle-2 500ms cubic-bezier(0.25, 1, 0.5, 1);
}

.fancy-button:hover span::after {
  background-position: 25% 50%;
}

.fancy-button:active span::after {
  background-position: 50% 15%;
  --angle-2: -15deg;
}

.fancy-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 999vw;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  background: conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1),
    --angle-1 500ms ease;
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
}

.fancy-button:hover::after {
  --angle-1: -125deg;
}

.fancy-button:active::after {
  --angle-1: -75deg;
}

/* Hover effects for wrapper */
.button-wrap:hover .button-shadow {
  filter: blur(2px);
}

.button-wrap:hover .button-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.875em);
  opacity: 1;
}

.button-wrap:active {
  transform: rotate3d(1, 0, 0, 25deg);
}

.button-wrap:active .fancy-button {
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.125em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0.225em 0.05em 0 rgba(0, 0, 0, 0.05),
    0 0.25em 0 0 rgba(255, 255, 255, 0.75),
    inset 0 0.25em 0.05em 0 rgba(0, 0, 0, 0.15);
}

.button-wrap:active .button-shadow {
  filter: blur(2px);
}

.button-wrap:active .button-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  opacity: 0.75;
}

.button-wrap:active span {
  text-shadow: 0.025em 0.25em 0.05em rgba(0, 0, 0, 0.12);
}

/* Hover effects */
.download-btn:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.download-btn:hover .button-text {
  transform: translateY(-0.33em);
}

.download-btn:hover .button-icon {
  transform: rotate(15deg);
}

/* Active effects */
.download-btn:active .button-text {
  transform: translateY(0);
}

.download-btn:active .button-icon {
  transform: rotate(0);
}
/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  background: linear-gradient(-45deg, #767488, #EF4136, #413F4C, #767488, #BBBCCC );
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  display: flex;
  align-items: center;
}

.logo a {
  display: inline-block;
  height: 100%;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: white;
  font-family: 'funnel display';
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #FD2E0D;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.nav-links a:hover {
  color: #000000;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0rem;
    background-color: #FFF;
    box-shadow: 0 14px 10px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-top-left-radius: 0;
	  border-top-right-radius: 0;
	  border-bottom-left-radius: 20px;
	  border-bottom-right-radius: 20px;
  }

  .nav-links a {
    margin: 0.5rem 0;
    color: #333;
  }

  .nav-links.active {
    display: flex;
  }
}

/* === CONTENT === */
.gif-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gif-wrapper img {
  max-width: 80%;
  height: auto;
}

spa {
  width: 100%;
}

img.tra:hover {
  background: url('images/trans.png');
  transition: .5s ease;
}

img.thumb {
  margin-right: 30px;
  margin-bottom: 30px;
}

.end {
  margin-right: 0px;
}

.porta {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 5%;
  padding-left: 8%;
  padding-right: 8%;
}

.resum {
  width: 64%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 40px;
  float: left;
  text-align: left;
  display: inline-block;
}

.resume {
  width: 36%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 0px;
  float: left;
  text-align: left;
  display: inline-block;
}

.postresum {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  float: left;
}

Exhibits {
  width: 33%;
  float: left;
}


.footer {
  width: 100%;
  display: inline-block;
  text-align: center;
  margin-bottom: 10px;
}

.highlight {
  background-color: #E7B6B5; /* or whatever red you prefer */
	color:black;
  padding: 0.2em;       /* optional: for spacing inside the highlight */
}

/* === RESPONSIVE === */
/* mobile vers (landscape tablets, 768px and up) */
@media (max-width: 768px) {
 
  h10 { font-size: 16px; }
  he { font-size: 22px; }
  ha { font-size: 18px; }
  ho { font-size: 16px; }
  orale { font-size: 35px; }
  h1 { font-size: 55px; }
  hres { font-size: 60px; }
  h2 { font-size: 22px; }
  h3 { font-size: 20px; }
  h5 { font-size: 24px; }
  h6 { font-size: 16px; }
  em { font-size: 25px; }
  hlogo { font-size: 8vw; }
  quack, quack2, porta, exhibits {
    width: 100%;
  }
  .thumbnailcontainer, .end {
    width: 47%;
    height: 47%;
  }
  .porta {
	  padding-left: 20px;
	  padding-right: 20px;
	}
  .resum { 
	  width: 100%; 
	  padding-right: 0px;
	}
  .resume { 
	  width: 100%; 
	  padding-right: 0px;
	}
  .postresum { width: 100%; }
}
.gif-wrapper img {
	max-width: 100%;}

