/* Reset */
body,
html {
  font-size: 16px;
  font-family: "Frank Ruhl Libre", serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style-type: none;
}
img {
  height: auto;
}

/* Animation */
.heartbeat {
  -webkit-animation: heartbeat 2.5s ease-in-out infinite both;
  animation: heartbeat 2.5s ease-in-out infinite both;
}

@-webkit-keyframes heartbeat {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  50% {
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}
@keyframes heartbeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

/* Classes */

.title {
  font-size: 50px;
  font-weight: 600;
}

.paragraph {
  font-size: 18px;
}

.list{
  gap: 20px;
}

/* Projects */

/* .full-screen{
  background-color: #292929;
  position: fixed;
  z-index: 99 !important;
  right: 2%;
  top: 2%;
  width: 64px;
  height: 64px;
  font-size: 20px;
  display:flex;justify-content:center;align-items: center;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  color: white;
  text-decoration: none;
}

.full-screen:hover {
  transform: scale(1.1);
} */

.menu{
  display:flex;align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.menu__item {
	position: absolute;
  color: white;
  text-align: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: white;
  border-radius: 50%;
  display:flex;justify-content:center;align-items: center;
}

.menu__item-area1{
  border: 15px solid #A33909 !important;
}




.menu__item-link {
  pointer-events: none;
	position: relative;
	-webkit-transition: opacity 0.4s;
	transition: opacity 0.4s;
  padding: 15px;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 1px solid #292929;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.txt_img{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  align-items: center;
}

.txt_img img{
  width: 250px;
}

.menu__item-link .txt_img h1{
  font-size: 20px;
  margin-top: 20px;
  color: #292929;
  text-align: left !important;
}

.menu__item-link .group-link{
  width: 100%;
  gap: 10px;
  display:flex;justify-content: space-between;align-items: center;
}

.menu__item-link .group-link a{
  padding: 10px 20px;
  background-color: #292929;
  border: 1px solid #292929;
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.5s cubic-bezier(.215, .61, .355, 1);
  display:flex;justify-content:center;align-items: center;
  gap: 10px;
}


.menu__item-link .group-link a:hover{
  background-color: white;
  color: #292929;
}

.menu__item:hover{
  -webkit-animation: none !important;
  animation: none !important;
}

.menu__item:hover .menu__item-link {
  pointer-events: initial;
	-webkit-transition-duration: 0.4s;
  margin-top: 40px;
	transition-duration: 0.4s;
  color: white;
  opacity: 1;
  z-index: 99 !important;
}

/* .menu__item-img {
	pointer-events: none;
	position: absolute;
	max-height: 100px;
	opacity: 0;
  right: -159%;
  bottom: -380%;
	-webkit-transform: translate3d(calc(-10% - 6vw), -30%, 0)
		translate3d(0, 20px, 0);
	transform: translate3d(calc(-10% - 6vw), -30%, 0) translate3d(0, 20px, 0);
  z-index: 99 !important;
}

.menu__item:hover + .menu__item-link {
	opacity: 1;
	-webkit-transform: translate3d(calc(0% - 10%), -10%, 0);
	transform: translate3d(calc(0% - 10%), -10%, 0);
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
} */

.menu {
	padding: 0vh 0 0 0vh;
	--offset: 20vw;
	--move-initial: calc(-25% + var(--offset));
	--move-final: calc(-50% + var(--offset));
}


.menu__item-link{
	white-space: nowrap;
	font-size: 16px;
	font-weight: 600;
}


.scene {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: white;
}

.scene .scene__bg {
  height: 100vh;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 600ms ease-out;
  width: 100%;
  will-change: transform;
}

.scene__grid .scene__bg{
  width: 100%;
}


.scene__grid .scene__bg img {
  -o-object-fit: cover;
  object-fit: cover;
  /* height: 100vh; */
  object-position: center;
}

.header-title{
  position: fixed;
  left: 2%;
  top: 2%;
  z-index: 99 !important;
  display: flex;
  gap: 15px;
  align-items: center;
}

.header-title h1{
  /* -webkit-box-shadow: 5px 5px 50px 50px rgba(255, 255, 255, 0.584); 
box-shadow: 5px 5px 50px 50px rgba(255, 255, 255, 0.514); */
  font-weight: 600;
  font-size: 25px;
  background-color: white;
  padding: 19px;
  border: 1px solid #292929;
  color: #292929;
  z-index: 98;
}

.close_scene {
  width: 64px;
  height: 64px;
  cursor: pointer;
  /* box-shadow: 2px 2px 5px #00000020; */

  background-color: #292929;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 99;
}

.close_scene:hover {
  transform: scale(1.1);
}

.scene__grid{
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
}

.scene__description {
  position: relative;
  padding: 30px;
  left: 0;
  width: 100%;
  bottom: 0;
  top: 0;

  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  z-index: 98 !important;
}

.is-zoomed .scene__bg {
  /* transform: scale(2.5); */
}

.scene {
  perspective: 600px;
}

.is-zoomed.scene > .scene__bg {
  transform: scale(2.5);

}

.scene__section {
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 600ms ease-out, z-index 1000ms;
  width: 100%;
  will-change: opacity;
  z-index: -1;
}

.scene__section.is-active {
  opacity: 1;
  z-index: 1;
}

.scene__section .scene__bg{
  right: 0;
}

.hotspot {
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: block;
  height: 60px;
  /* overflow: hidden; */
  position: absolute;
  transition: all 150ms ease-out;
  white-space: nowrap;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* box-shadow: 2px 2px 5px #00000020; */
}

.hotspot div {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.hotspot:hover,
.hotspot:focus {
  transform: scale(1);
  -webkit-animation: none !important;
  animation: none !important;
}

.is-zoomed .hotspot {
  opacity: 0;
  transform: scale(0);
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html,
body {
  height: 100%;
}

@media (max-width: 900px) {

  .header-title .close_scene{
    padding: 3px;
    width: 32px;
    height: 32px;
  }

  .header-title h1{
    font-size: 18px;
    padding: 7px;

  }

  .material-symbols-outlined{
    font-size: 18px;
  }

  .title {
    font-size: 25px;
  }


  .paragraph{
    font-size: 18px;
  }

  /* .scene__grid{
    flex-direction: column-reverse;
  } */

  .hotspot {
    width: 25px;
    height: 25px;
  }

  .hotspot div {
    width: 13px;
    height: 7px;
    position: relative;
  }

  .scene__grid .scene__bg {
    width: 100%;
    height: 100vh;
  }

  .scene__grid .scene__bg img {
    width: 100%;
    height: 100vh;
  }

  .scene__description {
    width: 100%;
    padding: 20px;
    height: 100vh;
  }

  .txt_img{
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .txt_img img{
    width: 100%;
    height: 50px !important;
    object-fit: cover;
    object-position: center center;
  }

  .txt_img h1{
    width: 100%;
    font-size: 18px !important;
  }

  .menu__item{
    width: 25px;
    height: 25px;
    border: 8px solid #0368AC;
  }

  .menu__item-link .group-link{
  }

  .menu__item-link .group-link a{
    width: 100%;
    padding: 6px 10px;
  }

  .menu__item-link .group-link a p{
display: none;
  }
}
