@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Nosifer&display=swap');

:root {
    --light-o: #fde5d4;
    --orange: #F98128;
    --c-2: #5D2586;
}

* {
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    font-family: Arial;
}

html {
    background: var(--light-o);
}

body {
    padding-top: 50px;
    margin: 0px;
    padding-left: 0px;
}

.imageBk {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    object-fit: cover;
    margin-bottom: 0px !important;
    padding: 0px;
}

menu {
    z-index: 999999;
    padding: 0px;
    margin-top: 0px !important;
    width: 100vw;
    height: 70px;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: fixed;
    top: 0px;
    left: 0px;
}

menu a {
    color: var(--c-2);
    font-family: "Nosifer", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    box-sizing: border-box;
    padding: 10px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

menu a:hover,
.clicked {
    background: var(--c-2);
    color: var(--orange);
    transition: 1s;
}

main {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

a {
    text-decoration: none !important;
}


/********************** START OF INTRO **********************/
intro img {
    width: 100vw;
    margin: 0px;
    padding: 0px;
    height: calc(100vh - 50px);
    object-fit: cover;
    position: relative;
}

intro p {
    position: absolute;
    bottom: 0px;
    left: 0px;
    color: white;
    font-family: "Creepster", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 48px;
    padding: 20px;
    width: 100vw;
    box-sizing: border-box;
    text-align: center;
    background: var(--c-2);
}


/********************** END OF INTRO **********************/

.fact {
    width: 550px;
    height: 120px;
    display: grid;
    grid-template-areas: "img text";
    font-family: Arial;
    gap: 10px;
    margin: 60px auto;
    transition: 2s;
    opacity: 0;
    transform: translatey(-50px);
}

.fact.reverse {
    grid-template-areas: "text img";
    text-align: right;
}


.fact.active {
    opacity: 1;
    transform: translatey(0px);
}

.fact img {
    border-radius: 10px;
    grid-area: img;
    width: 170px;
    height: 120px;
    object-fit: cover;
}

.fact p {
    grid-area: text;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    padding-left: 10px;
    padding-right: 10px;
}


#hat {
  width: 100px;
}

#caption {
   color: transparent;
}

#hat-cont:hover #caption {
  color: var(--orange);
  font-family: "Creepster";
  position: fixed;
  top: 150px;
  left: 50px;
  width: 100px;
  height: 40px;
  font-size: 13px;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  padding: 5px;
  border-radius: 5px;
  box-sizing: border-box;
  transform: translate(40px, -30px);
}

#hat-cont:hover #caption::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 10px;
  width: 0;
  z-index: 1;
  left: 10px;
  border: medium solid white;
  border-width: 15px 0 15px 15px;
  border-color: transparent  transparent white transparent;
  transform: rotate(45deg) translate(10px, 4px);
}

#hat-cont.active {
  display: unset;
  position: fixed;
  top: 150px;
  left: 30px;
}

#hat-cont {
  display: none;
}
