/** Begin css reset */

html,
body {
  height: 100%;
  width: 100%;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/** End css reset */

body {
  position: relative;
}

* {
  font-family: "Rubik" !important;
  letter-spacing: .2px;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 1.75rem 0;
  
  display: flex;
  align-items: center;
}

h2 {
  font-size: 1.75rem;
  font-weight: bold;
  margin: 1.5rem 0;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 1rem 0;
}

p {
  margin: 1rem 0;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

a {
    color: var(--blue);
    transition: color .5s;
}

a:hover {
    color: #12b0ff;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1140px;
    min-width: 0;
    padding: 1rem;
    box-sizing: border-box;
}

.menu {
  width: 100%;
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  box-shadow: 0px 3px 5px 4px rgba(0, 0, 0, 0.55);

  animation: .4s ease-in 0s 1 slideInFromTop;
}

.menu ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 1px;
  margin: 1rem 0;
  background-color: var(--cream);
  color: white;
}

.menu ul li {
  height: 24px;
  width: 28px;
  padding: 4px 1rem;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu ul li a {
  color: var(--cream);
}

.tooltip-container {
    position: relative;
}

.tooltip-text {
    visibility: hidden;
    background-color: var(--black);
    box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.55);
    color: white;
    text-align: center;
    padding: 8px 10px;
    position: absolute;
    z-index: 1;
    top: 125%; /* Position below the tooltip container */
    left: 50%;
    transform: translateX(-50%); /* Center the tooltip */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1rem;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    bottom: 100%; /* At the top of the tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #170312 transparent;
}

.chip { 
    background: var(--black);
    color: var(--light-cream);
    padding: 8px;
    margin: -4px;
    border-radius: 5px;
}

.inline-link {
  color: var(--black);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.inline-link:hover {
  color: var(--brown);
}

.inline-link h3 {
  position: relative;
}

.inline-link h3::after {
  position: absolute;
  left: 1rem;
  content: " ";
  display: block;
  height: 2px;
  border-bottom: 2px solid var(--black);
  width: 0;
  transition: width .5s;
}

.inline-link:hover h3::after {
  width: 100%;
}

.inline-link svg {
  margin-left: -10px;
}

.fade {
  opacity: 0;
  transition: transform .6s, opacity .9s;
}

.fade.bottom {
  transform: translate(0, 45px);
}

.fade.right {
  transform: translate(45px, 0);
}

.fade.visible {
  transform: translate(0, 0);
  opacity: 1;
}

/** Begin media queries */

/* For tablets: */
@media only screen and (min-width: 600px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .container {
        flex-direction: row;
    }


    .menu { 
        height: 80px;
    }

    .menu ul li {
        height: 30px;
        width: 34px;
        padding: 10px 1rem;
    }
}
/** End tables */

/* For desktops: */
@media only screen and (min-width: 1025px) {
  h1 {
      font-size: 3rem;
  }

  h2 {
      font-size: 2rem;
  }

  h3 {
      font-size: 1.75rem;
  }
}
/* End desktops: */

/** End media queries */

/** Begin Animations */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(+50%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
      transform: translateY(+30%);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
}

@keyframes rotateText {
    0% {
        top: 100px;
        opacity: 0;
    }

    10% {
        top: 0;
        opacity: 1;
    }

    30% {
        top: 0;
        opacity: 1;
    }

    40% {
        top: -100px;
        opacity: 0;
    }

    100% {
        top: -100px;
        opacity: 0;
    }
}

@keyframes growLateral {
    0% {
        width: 0;
        flex: 0;
    }
    100% {
        width: 100%;
        flex: 1;
    }
}

/** End animantions */