@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');

body{
    margin: 0;
    direction: ltr;
    font-family: 'Noto Serif', sans-serif !important;   
}

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

:root {

}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

img {
  max-width: 100%;
}

.core-frame {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.img-list {
  display: flex;
  flex-direction: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.img-list img {
  width: 30%;
  height: 347px;
  object-fit: contain;
}

.crow-nest-bg {
  overflow: hidden;
  background-image: url(mediamansion/dir-bg/bg-dark-068517e0cd6acb.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.crow-nest-gradient {
  position: relative;
  z-index: 0;
  background: linear-gradient(180deg,rgba(25,25,25,0) 32.89%, #060606 98.38%);
  backdrop-filter: blur(5px);
  background-size: cover;
}

.crow-nest-contacts {
  padding: 14px;
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 14px;
}

.cn-contacts-item, .cn-contacts-wrapper {
  width: fit-content;
  display: flex;
  flex-direction: row-reverse;
  justify-content: left;
  align-items: center;
  gap: 14px;
}

.cn-contacts-icon {
  width: 50px;
  height: 50px;
  background-color: aliceblue;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cn-contacts-icon svg {
  width: 27px;
  height: 27px;
  fill: #5C2A9D;
}

.cn-contacts-txt p {
  display: inline;
  font-size: 16px;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.crow-nest-navbar {
  position: relative;
  z-index: 3;
  --layer-gap: 14px;
  --shape-width: 1596px;
}

.crow-nest-navbar:after, .crow-nest-navbar:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ffffff;
  height: 100%;
  width: 100%;
  max-width: 90%;
  z-index: -1;
  transition: all ease 0.5s;
}

.crow-nest-navbar:after {
  top: 10px;
  max-width: 91%;
  background-color: #5C2A9D;
  z-index: -2;
}

.crow-nest-nav {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.crow-nest-logo, .odf-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.crow-nest-logo img, .odf-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.crow-nest-logo h3, .odf-logo h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.crow-nest-navlist {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}

.crow-nest-nav-items a, .odf-nav-item {
  padding: 0 7px;
  background-color: transparent;
  color: #060606;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700; 
  display: flex;
  flex-direction: column;
}

.odf-nav-item {
  position: relative;
  z-index: 1;
}

.odf-nav-item {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.crow-nest-nav-items a svg, .odf-nav-item svg {
  margin: auto;
  height: 0px;
  width: 15px;
  margin-bottom: 7px;
  transition: all .42s cubic-bezier(.25,.8,.25,1);
}

.odf-nav-item svg {
  margin: 0;
}

.crow-nest-nav-items a:hover svg, .odf-nav-item:hover svg {
  background-color: #ffffff;
  height: 15px;
}

.odf-nav-item:hover svg {
  background-color: inherit;
}

.crow-nest-nav-items a:hover {
  color: #5C2A9D;
}

.odf-nav-item:hover {
  text-decoration: underline;
  color: #ffffff;
}

.crow-nest-img {
  display: none;
  position: absolute;
  z-index: -1;
  width: 40%;
  height: 70%;
  right: 0;
  bottom: 30px;
}

.crow-nest-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.crow-nest-greetings {
  padding-top: 223px;
  padding-bottom: 142px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 0;
}

.crow-nest-greetings h2 {
  width: 608px;
  font-size: 26px;
  font-weight: 700;
  color: #f6f5f1;
  margin: 0;
  text-align: center;
}

.dec-circle {
  position: absolute;
  z-index: -1;
  top: 0px;
  left: 20%;
  animation: rotate-scale-up 35s linear infinite alternate-reverse both;
  width: 700px;
  height: 600px;
  border-radius: 50% 70% 60% 40% / 60% 50% 70% 40%;
  background-image: radial-gradient( circle farthest-corner at 10% 20%,  #5C2A9Db3 0%, #fed049b3 90% );
}

@keyframes rotate-scale-up {
  0% {
    -webkit-transform: scale(1)  rotateZ(0);
            transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(1.1)  rotateZ(45deg);
            transform:  scale(1.1) rotateZ(45deg);
  }
  100% {
    -webkit-transform:  scale(1) rotateZ(0deg);
            transform:  scale(1) rotateZ(0deg);
  }
}

.pirates-perks {
  padding-top: 48px;
  padding-bottom: 48px;
}

.pirates-perks-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.pirates-perks-item {
  min-height: 347px;
  width: 23%;
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  display: flex;
  z-index: 0;
}

.ppi-img {
  display: block;
  width: 100%;
}

.ppi-img img {
  width: 100%;
  height: 279px;
  object-fit: cover;
}

.ppi-content {
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.dec-morpf1, .dec-morpf2, .dec-morpf3, .dec-morpf4 {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  border-radius: 66% 24% 44% 56% / 44% 24% 70% 56%;
  max-width: 279px;
  width: 100%;
  max-height: 279px;
  height: 100%;
  margin: calc(279px / -2) 0 0 calc(279px / -2);
  animation: morpspin 18s linear infinite reverse;
  animation-delay: 8s;
}

@keyframes morpspin {
  to {
    transform: rotate(1turn);
  }
}

.dec-morpf2 {
  animation-delay: 12s;
}

.dec-morpf3 {
  animation-delay: 14s;
}

.dec-morpf4 {
  animation-delay: 16s;
}

.dec-morpf1::before, .dec-morpf2::before, .dec-morpf3::before, .dec-morpf4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #5C2A9Ddb;
  opacity: 0.9;
  border-radius: 66% 24% 44% 56% / 44% 24% 70% 56%;
  animation: vsmorph 12s ease-in-out infinite both alternate;
}

@keyframes vsmorph {
  0% {
    border-radius: 66% 24% 44% 56% / 44% 24% 70% 56%;
  }
  50% {
    border-radius: 43% 38% 39% 35% / 44% 39% 43% 56%;
  }
  100% {
    border-radius: 40% 60%;
  }
}

.dec-morpf2::before {
  background-color: #1C1124db;
}

.dec-morpf3::before {
  background-color: #fed049db;
}

.dec-morpf4::before {
  background-color: #EF2143db;
}

.treasure-grid-cont-bg {
  padding-top: 48px;
  padding-bottom: 48px;
  background: rgba(255,255,255,0.5); color: #222;
}

.treasure-grid {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  flex-wrap: wrap;
}

.treasure-chests {
  direction: ltr;
  overflow: hidden;
  position: relative;
  text-align: center;
  margin-bottom: 26px;
  width: 33.3333333333%;
  display: flex;
  flex: 0 0 auto;
  z-index: 0;
}

.treasure-chests:nth-child(even) {
  transform: scale(0.8);
}

.treasure-chests:after, .treasure-chests:before {
  content: "";
  position: absolute;
  left: calc(20px + 25px / 2);
  right: calc(20px + 25px / 2);
  top: 20px;
  height: calc(50% - 20px);
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
  transition: all ease 0.5s;
  transform: scale(0);
  transform-origin: 100% 0;
}

.treasure-chests:after {
  top: auto;
  transform-origin: 0 100%;
  bottom: 20px;
}

.treasure-chests:hover:after, .treasure-chests:hover:before {
  transform: scaleY(1);
}

.treasure-chests-img {
  overflow: hidden;
}

.treasure-chests-img img {
  max-width: 100%;
  height: 415px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1);
  transition: all ease 0.5s;
  object-fit: cover;
}

.treasure-chests-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  flex-direction: column;
  color: #fff;
  padding: 26px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.treasure-chests:hover .treasure-chests-content {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.5s;
}

.treasure-chests-title h3 {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin: 0 0 14px;
}

.treasure-chests-txt {
  font-size: 17px;
  color: #f6f5f1;
  margin: 0 0 14px;
  padding: 8px;
}

.treasure-chests-btn {
  display: flex;
  justify-content: center;
  font-size: 17px !important;
}

.voyage-guide-bg {
  background-color: #fed049;
}

.voyage-guide {
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
  background-image: url(mediamansion/dir-bg/opacity_bg-068517e0cd6bf2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.voyage-guide-list {
  direction: ltr;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.voyage-guide-steps {
  position: relative;
  width: 50%;
}

.voyage-guide-steps:after, .voyage-guide-steps:before {
  content: "";
  position: absolute;
  top: -15px;
  right: 2px;
  width: 1px;
  height: 110%;
  background-color: #c5c5c5;
}

.voyage-guide-steps:after {
  right: -2px;
}

.voyage-guide-steps:nth-child(2) {
  margin-top: 101px;
}

.voyage-guide-steps:nth-child(even)::before, .voyage-guide-steps:nth-child(even)::after {
  width: 0;
}

.vgs-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vgs-body-step {
  display: inline-block;
  text-align: center;
  position: absolute;
  right: 0;
  top: 0;
  width: 110px;
  height: 110px;
  margin-right: calc(110px / -2);
  background-color: #5C2A9D;
  color: #ffffff;
  font-weight: 700;
  font-size: 26px;
  padding: 26px 0;
  border-radius: 50%;
  z-index: 2;
  transition: all ease 0.5s;
}

.voyage-guide-steps:nth-child(even) .vgs-body-step {
  right: auto;
  top: 25%;
  left: 0;
  margin-right: 0;
  margin-left: calc(110px / -2);
}

.vgs-body-step:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  margin-top: -10px;
  border-right: 10px solid #5C2A9D;
  border-bottom: 10px solid transparent;
  border-top: 10px solid transparent;
  transition: all ease 0.5s;
}

.voyage-guide-steps:nth-child(even) .vgs-body-step:before {
  left: auto;
  right: -8px;
  border-right: none;
  border-left: 10px solid #5C2A9D;
}

.vgs-body-img {
  height: 347px;
  margin: auto;
}

.vgs-body-img img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.vgs-body-txt {
  margin: 0 24px;
  border-radius: 4px;
  background: rgba(255,255,255,0.5); color: #222;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 15px;
}

.voyage-guide-img {
  position: absolute;
  bottom: 20px;
  right: -3%;
  width: 40%;
  height: 415px;
  object-fit: contain;
}

.pirates-perks-title, .treasure-grid-title, .voyage-guide-title, .treasure-hold-title, .crew-quarters-title, .pirate-legacy-title {
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
}

.pirates-perks-title h2, .treasure-grid-title h2, .voyage-guide-title h2, .treasure-hold-title h2, .crew-quarters-title h2, .pirate-legacy-title h2 {
  font-size: 26px;
  font-weight:  700;
  margin: 0;
}

.treasure-hold-title h2 {
  color: #fff;
}

.pirates-perks-title img, .treasure-grid-title img, .voyage-guide-title img, .treasure-hold-title img, .crew-quarters-title img, .pirate-legacy-title img {
  height: 70px;
  object-fit: contain;
}


.legendary-crew-bg {
  padding-top: 48px;
  padding-bottom: 48px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(mediamansion/dir-bg/bg-dark-068517e0cd6acb.jpg);
}

.legendary-crew-list {
  display: flex;
  flex-direction: row-reverse;
  gap:  15px;
  align-items: center;
  justify-content: center;
}

.legendary-crew-dev {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 24%;
  filter: drop-shadow(transparent 0px 0px 9px);
  background-color: #060606db;
  padding: 30px 14px;
  border-radius: 4px;
  transition: 0.7s;
}

.legendary-crew-dev svg {
  width: 58px;
  height: 58px;
  fill: #EF2143;
}

.legendary-crew-dev span {
  font-size: 17px;
  font-weight: 700;
  color: #EF2143;
}

.legendary-crew-dev:hover {
  filter: drop-shadow(0 0 9px #EF2143);
}

.port-past-section {
  padding-top: 48px;
  position: relative;
  overflow: hidden;
  background-color: #fed049;
}

.port-past-secbg {
  background-image: url(mediamansion/dir-bg/bg-light-068517e0cd69f7.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  max-width: 100%;
  width: 85%;
  height: 630px;
}

.port-past-secgr {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #5C2A9Da6 0%, #fed049a6 100%);
}

.port-past {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.port-past-form {
  width: 70%;
  display: flex;
  justify-content: flex-end;
}

.port-past-img {
  width: 30%;
  position: relative;
}

.port-past-img img {
  position: absolute;
  top: 30%;
  left: -30%;
  object-fit: contain;
  animation: moving linear infinite 14s;
}

@keyframes moving {
  0% {
    transform: translate(0px, 0px);
  }
  20% {
    transform: translate(0px, -60px);
  }
  50% {
    transform: translate(-60px, -60px);
  }
  70% {
    transform: translate(-60px, 0px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

.ppf-body {
  width: 80%;
  background: rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 48px;
  border-radius: 4px;
}

.input-control_wrapper-control, .textarea-control_wrapper-control {
  resize: none;
  width: 100%;
  background-color: #fff;
  color: #0b0b0b;
  box-shadow: none;
  font-weight: 700;
  font-size: 13px;
  text-align: unset;
  border-radius: 4px;
  padding: 7px 15px;
}

.input-control_wrapper-control:focus::before, .textarea-control_wrapper-control:focus::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 3px solid #fff;
  border-radius: inherit;
  pointer-events: none; 
}

.ppf-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.ppf-body h4 {
  font-size: 22px;
}

.ocean-depths-footer-bg {
  padding-top: 101px;
  padding-bottom: 101px;
  overflow: hidden;
  background-color: #060606;
}

.ocean-depths-footer {
  align-items: baseline;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
}

.odf-first-col {
  width: 30%;
}

.odf-first-col, .odf-spesial, .odf-nav {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
}

.odf-logo h3 {
  color: #f6f5f1;
}

.odf-spesial p {
  font-size: 17px;
  text-align: center;
  font-weight: 700;
  color: #f6f5f1;
  margin: 0;
}

.odf-spesial-img {
  margin: 0 auto;
  filter: drop-shadow(0 0 10px #ffffff);
}

.odf-spesial-img img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.odf-row {
  flex-wrap: wrap;
  width: 69%;
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.odf-row  {
  position: relative;
  z-index: 1;
}

.odf-nav, .odf-discl {
  width: 48%;
  display: flex;
  flex-direction: column;
  color: #f6f5f1;
}

.ocean-depths-gallery {
  background-color: #5C2A9D;
}

.odg-posit {
  padding-top:44px;
  padding-bottom:44px;
}

.ocean-depths-gallery-row {
  display: flex;
  flex-direction: row-reverse;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.ocean-depths-gallery-row img {
  width: 17%;
  height: 190px;
  object-fit: cover;
}

.odf-discl {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 0;
  text-align: center;
}

.odf-discl {
  padding: 25px 15px 15px;
  border-radius: 15px;
  border: 1px solid #f6f5f1;
  filter: drop-shadow(0 0 10px #ffffff);
}

.odf-der-circle {
  position: absolute;
  z-index: -1;
  top: -80px;
  right: 0px;
  animation: rotate-scale-up 35s linear infinite alternate-reverse both;
  width: 700px;
  height: 700px;
  border-radius: 50% 70% 60% 40% / 60% 50% 70% 40%;
  background-image: radial-gradient( circle farthest-corner at 10% 20%,  #4A47A3b3 0%, #e84545b3 90% );
}

.odf-discl h4 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px;
}

.odf-discl p {
  margin: 0;
  font-size: 17px;
}


.harbor-contact-bg {
  background-image: url(mediamansion/dir-bg/bg-light-068517e0cd69f7.jpg);
  background-position: center;
  background-size: cover;
}

.harbor-contact-overlay {
  padding-top: 78px;
  padding-bottom: 78px;
  background: #1C1124db; 
  color: #222;
}

.harbor-contact {
  display: flex;
  flex-direction: column-reverse;
  gap: 26px;
}

.harbor-contact-form {
  display: flex;
  gap:  24px;
  flex-direction: row;
}

.hc-form-wrap {
  width: 58%;
  padding:  24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);
}

.hc-form-text {
  font-size: 16px;
  color: #fff;
  margin: 0;
  margin-bottom: 15px;
}

.hc-form-col {
  margin-top:  26px;
  display: flex;
  flex-direction: column;
}

.hc-form-input {
  height: 54px;
  border-radius: 4px;
  background: white;
  margin-bottom:  15px;
  border: none;
  padding: 0  15px;
  font-weight: 700;
  font-size:  13px;
  color: #f6f5f1;
}

.hcf-title {
  width: 40%;
  padding: 78px 0 0;
  margin: 0 26px;
  font-size: 46px;
  font-weight: 700;
  color: #fff;
}

.hc-form-check {
  color: #fff;
  font-size: 13px;
  margin-bottom: 15px;
}

.hcl-item {
  flex-direction: row-reverse;
  width: 30%;
  padding:  15px 24px;
  display: flex;
  gap:  15px;
  align-items: center;
  color: #fff;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);;
}

.hcl-item svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}

.harbor-contact-list {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 26px;
}

.harbor-contact-map {
  display: flex;
  align-items: center;
}

.hcl-item-txt {
  width: calc(100% - 30px);
}

.harbor-contact-section {
  display: flex;
  flex-direction: column;
}

.treasure-hold-bg {
  background: url(mediamansion/dir-bg/bg-light-068517e0cd69f7.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.treasure-hold {
  padding-top: 78px;
  padding-bottom: 78px;
}

.treasure-hold-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.treasure-hold-card {
  position: relative;
  width: 31%;
  padding: 15px 24px;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  background-color: #5C2A9D;
  border-radius: 4px;
  box-shadow: #fed049b3B 0px 0px 0px 2px, #5C2A9Db3 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.thc-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.thc-img::before  {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient( circle farthest-corner at 10% 20%,  #5C2A9Db3 0%, #fed049b3 90% );
  opacity: 0;
  transition: .2s ease;
  z-index: 2;
}

.treasure-hold-card:hover .thc-img:before {
  opacity: 1;
}

.thc-img img {
  width: 100%;
  object-fit: contain;
}

.thc-content {
  color: #fff;
}

.thc-txt {
  margin-bottom: 19px;
  height: 0;
  overflow: hidden;
  transition: height 1s ease-in-out, max-height 3s ease-in-out;
}

  .treasure-hold-card:hover .thc-txt { 
      height: 140px; 
  }

  .thc-btn {
      position: absolute;
      opacity: 0;
      z-index: 3;
      transition: .2s ease;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }

  .treasure-hold-card:hover .thc-btn {
      opacity: 1;
  }

  
  .pirate-quest-page {
    padding-top:  48px;
    padding-bottom:  48px;
    display: flex;
    flex-direction: column;
    gap:  48px;
  }
  
  .pirate-quest-game {
    width: 100%;
    padding: 0 15px 15px;
    background:  #060606a6;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .pirate-quest-game h3 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    padding: 14px;
    background: #fff;
    width: fit-content;
    margin: auto;
    margin-bottom: 48px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 10px 3px #5C2A9D;
  }
  .pirate-quest-game iframe {
    height: 750px;
  }
  .lider-players-block {
    width: 18%;
    padding: 14px;
  }
  
  .lp-title, .spq-title {
    font-size: 17px;
    font-weight:  700;
    margin-bottom: 24px;
  }
  
  .spq-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  
  .pirate-quest-cont {
    display: flex;
    flex-direction: row;
    gap: 26px;
    align-items: center;
    justify-content: center;
  }
  
  .pirate-quest-ginfo {
    width: 80%;
  }
  
  .pqg-img {
    float: left;
    margin: 24px;
    width: 40%;
    object-fit: contain;
  }
  
  .pqg-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 26px;
    text-align: center;
  }
  
  .pqg-txt {
    font-size: 13px;
  }
  
  .similar-pirate-quest {
    width: 19%;
    padding: 14px;
    background: #060606a6;
    border-radius: 4px;
  }
  
  .spq-item {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease-in;
  }
  
  .spq-item:hover {
    box-shadow: 0 0 10px 3px #5C2A9D;
  }
  
  .spq-item img {
    width: 100%;
    object-fit: contain;
  }
  
  .spq-item-title {
    padding: 14px;
    background-color: #fff;
  }
  
  .spq-item-title h5 {
    font-size: 17px;
    text-align: center;
    margin: 0;
  }
  
  .spq-title {
    color: #fff;
  }

  .crew-quarters-bg{
    overflow: hidden;
  background-color: #fed049a6;
  }

  .crew-quarters-overlay {
    padding: 78px 0;
    background-image: url(mediamansion/dir-bg/opacity_bg-068517e0cd6bf2.png);
  }
  
  .crew-quarters-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
    justify-content: center;
  }
  
  .crew-quarters-picwrap {
    width: 48%;
    position: relative;
  }
  
  .crew-quarters-pic1 img,
  .crew-quarters-pic2 img{
    width: 70%;
    height: 279px;
    object-fit: cover;
  }
  
  .crew-quarters-pic1:hover img,
  .crew-quarters-pic2:hover img{
    border: 2px solid #5C2A9D;
  }
  
  .crew-quarters-pic1{
    margin-bottom: 30px;
    width: 100%;
  }
  
  .crew-quarters-pic2{
   text-align: right;
    width: 100%;
  }
  
  .crew-quarters-picshape {
    bottom: 0;
    position: absolute;
    left: 90px;
    bottom: 45px;
    width: 450px;
    height: 480px;
    background-color: #1C1124;
    z-index: -1;
  }
  
  .crew-quarters-content{
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    width: 48%;
    padding: 0 7px 0 48px;
    text-align: justify;
  }
  
  .crew-quarters-title{
    margin-bottom: 26px;
    font-size:  26px;
    font-weight: 700;
    text-align: center;
    color: #000000b5;
  }
  
  .crew-quarters-text{
    font-size: 17px;
    line-height: 1.5;
  }

  .pirate-legacy-bg {
    word-break: break-all;
    padding: 78px 0;
    background-color: #fed049a6;
  }

  .treasure-hold-overlay {
    background: rgba(255,255,255,0.5); color: #222;
  }


.button-1 {
  border: none;
  display: inline-block;
  text-transform: capitalize;
  line-height: 1;
  font-size: 16px;
  font-weight:700;
  padding: 24px 22px;
  background-color: blueviolet;
  color: #fff;
  border-radius: 9999px;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  vertical-align: middle;
}

.button-1:after {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: #000;
  left: auto;
  right: 0;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: all ease 0.5s;
}

.button-1:hover:after {
  width: 101%;
  right: auto;
  left: 0;
}

.button-2 {
  --blue1: #644dff;
  --blue2: #4836bb;
  --blue3: #654dff63;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  background: var(--blue1);
  border: 2px solid var(--blue2);
  border-radius: 75rem;
  box-shadow: 0 5px 0 var(--blue3);
  transition: all 0.1s ease;
}

.button-2:active {
  letter-spacing: 0px;
  transform: translateY(8px);
  box-shadow: 0 0 0 var(--blue3);
}

.button-3 {
  background: linear-gradient(140.14deg, #ec540e 15.05%, #d6361f 114.99%)
      padding-box,
    linear-gradient(142.51deg, #ff9465 8.65%, #af1905 88.82%) border-box;
  border-radius: 4px;
  border: 2px solid transparent;

  text-shadow: 1px 1px 1px #00000040;
  box-shadow: 8px 8px 20px 0px #45090059;

  padding: 7px 30px;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.button-3:hover {
  box-shadow: none;
  opacity: 80%;
}

.button-4 {
  border-radius: 4px;
  height: 40px;
  border: none;
  background: #ff5722;
  color: white;
  padding: 14px;
  box-shadow: 0 0.7065919983928324px 0.7065919983928324px -0.625px #00000026,
    0 1.8065619053231785px 1.8065619053231785px -1.25px #00000025,
    0 3.6217592146567767px 3.6217592146567767px -1.875px #00000023,
    0 6.8655999097303715px 6.8655999097303715px -2.5px #00000020,
    0 13.646761411524492px 13.646761411524492px -3.125px #0000001b,
    0 30px 30px -3.75px #0000000d;
  font-weight: 800;
  font-family: Montserrat;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: 150ms ease-in-out;
}

.button-4:active {
  scale: 0.95;
  background: #f44336;
  color: black;
  box-shadow: rgba(0, 0, 0, 0.26) 0px 0.637473px 1.14745px -1.125px,
    rgba(0, 0, 0, 0.24) 0px 1.93094px 3.4757px -2.25px,
    rgba(0, 0, 0, 0.192) 0px 5.10423px 9.18761px -3.375px,
    rgba(0, 0, 0, 0.03) 0px 16px 28.8px -4.5px;
}

.button-5 {
  display: inline-block;
  position: relative;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to bottom, #3498db, #2980b9);
  border: 1px solid #2980b9;
  border-radius: 4px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), inset 0px 2px 4px rgba(255, 255, 255, 0.2);
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.2s, transform 0.2s;
}

.button-5::before,
        .button-5::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  z-index: -1;
  transition: transform 0.2s;
}

.button-5::before {
  top: 0;
  left: -100%;
  transform: skewX(-45deg);
}

.button-5::after {
  bottom: 0;
  right: -100%;
  transform: skewX(45deg);
}

.button-5:hover {
  background: linear-gradient(to bottom, #042b46, #0a525cd8);
  transform: translateY(-2px);
  box-shadow: 0px 6px 8px rgba(0, 195, 255, 0.2), inset 0px 2px 4px rgba(255, 255, 255, 0.1);
}

.button-5:hover::before {
  transform: translateX(100%);
}

.button-5:hover::after {
  transform: translateX(-100%);
}

.no-after-before::after,
.no-after-before::before {
    width: 0px !important;
}

.no-border::before {
    border: none !important;
}

.flex-wrapper, .ocean-depths {
  display: flex;
  flex-direction: column-reverse;
}

.pirate-legacy {
  padding-left: 15px;
  padding-right: 15px;
}
.pirate-legacy ul{
  margin: 0 25px;
  list-style: square;
}



@media (max-width: 1500px) {

  .core-frame {
    max-width: 1140px;
  }

  .crow-nest-navbar:after, .crow-nest-navbar:before {
    max-width: 100%;
  }

  .crow-nest-contacts {
    display: none;
  }

}


@media (max-width: 1200px) {

  .core-frame {
    max-width: 1140px;
  }

  .treasure-hold-card {
    flex-direction: column !important;
  }


}

@media (max-width: 992px) {

  .core-frame {
    max-width: 960px;
  }

  .pirates-perks-item {
    width: 47%;
  }
  
  .ppi-content {
    padding: 50px 100px;
  }

  .port-past-img img {
    left: -10%;
  }

  .legendary-crew-dev span {
    text-align: center;
  }

  .dec-circle {
    left: 8%;
  }

  .treasure-grid {
    justify-content: space-between !important;
  }

  .treasure-chests-txt {
    font-size: 17px;
  }

  .voyage-guide-list {
    justify-content: flex-start !important;
  }


  .treasure-hold-card {
    width: 47% !important;
  }

  .ocean-depths-gallery-row img {
    height: 228px;
  }

  .ocean-depths-footer {
    flex-direction: column;
  }

  .odf-first-col, .odf-spesial, .odf-nav, .odf-discl, .odf-row {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .odf-discl {
    padding: 25px 15px 15px;
    border-radius: 15px;
    border: 1px solid #f6f5f1;
    filter: drop-shadow(0 0 10px #ffffff);
  }

  .crew-quarters-wrapper {
    flex-direction: column;
  }

  .crew-quarters-picwrap, .crew-quarters-content {
    width: 100%;
  }

  .crow-nest-nav-items a {
    font-size: 12px;
  }

  .odf-discl p {
    font-size: 18px;
  }
  
  .crew-quarters-content {
    padding: 0;
  }

  .pirate-quest-page {
    flex-direction: column !important;
  }

  .pirate-quest-cont, .pirate-quest-block {
    flex-direction: column !important;
  }

  .spq-list {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .similar-pirate-quest {
    width: 100%;
  }

   .pirate-quest-ginfo {
    width: 100%;
  }

  .crow-nest-nav-items a, .odf-nav-item {
    text-align: center;
  }

  .harbor-contact-list {
    flex-direction: column;
  }

  .hcl-item {
    width: 100%;
  }

  .spq-list {
    display: flex;
    flex-direction: row;
  }

  .spq-item {
    width: 45%;
    height: 347px;
  }

}

@media(max-width: 767px)  {

  .core-frame {
    max-width: 720px;
  }

  .pirates-perks-list {
    flex-direction: column;
  }
  
  .pirates-perks-item {
    width: 100%;
  }

  .dec-morpf1, .dec-morpf2, .dec-morpf3, .dec-morpf4 {
    position: static;
    border-radius: none;
    animation: none;
  }

  .treasure-chests {
    width: 100% !important;
  }

  .legendary-crew-list {
    flex-wrap: wrap;
  }

  .legendary-crew-dev {
    width: 48%;
  }

  .port-past-secbg, .port-past-img {
    width: 0px;
  }

  .port-past-form, .ppf-body {
    width: 100%;
    backdrop-filter: none;
  }

  .ocean-depths-gallery-row img {
    width: 30%;
  }

  .ocean-depths-gallery {
    display: none;
  }

  .crow-nest-nav {
    flex-direction: column;
  }

  .crow-nest-navbar, .crow-nest-navlist {
    width: 100%;
  }

  .crow-nest-img, .ppi-img {
    display: none !important;
  }

  .ppi-content {
    font-size: 18px;
  }

  .crow-nest-navlist {
    justify-content: center;
    flex-wrap: wrap;
  }

  .treasure-hold-card {
    width: 100% !important;
  }

  .harbor-contact-form {
    flex-direction: column;
  }

  .hcf-title, .hc-form-wrap {
    width: 100%;
  }

  .hcf-title {
    padding: 0;
  }

  .hc-form-wrap, .hcl-item {
    backdrop-filter: none;
  }

  .treasure-chests:after, .treasure-chests:before {
    transform: scaleY(1);
}

.treasure-chests-content {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.5s;
}

.spq-list {
  flex-direction: column;
}

.spq-item {
  width: 100%;
}

  
}

@media(max-width: 576px) {

 .core-frame {
    max-width: 540px;
}

.crow-nest-greetings h2 {
  font-size: 22px;
}

.ppi-content {
  padding: 40px 20px;
}

.treasure-chests:after, .treasure-chests:before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.treasure-chests-content {
  padding: 15px;
}

.ppi-content {
  padding: 40px 30px;
  font-size: 17px;
}

.voyage-guide-list {
  
  flex-direction: column !important;
}

.voyage-guide-steps {
  width: 100%;
}

.voyage-guide-steps:after, .voyage-guide-steps:before {
  width: 0;
}

.vgs-body-step {
  left: 0;
  top: 0 !important;
  margin: 0 !important;
}

.vgs-body-step:before {
  border: none;
}

.voyage-guide-img {
  display: none;
}

.ppf-body {
  padding: 18px;
}

.legendary-crew-dev {
  width: 100%;
}

.pqg-img {
  width: 100%;
  float: none;
  margin: 0;
  margin-bottom: 25px;
}

.pirate-quest-game iframe {
  height: 347px;
}

.similar-pirate-quest {
  padding: 26px;
}

.treasure-chests-title h3 {
  font-size: 17px;
}

.treasure-chests-txt {
  font-size: 12px;
}

.hcf-title {
  margin: 0;
}

.treasure-chests {
  height: 347px;
}

.treasure-chests:after, .treasure-chests:before {
  background-color: rgba(0, 0, 0, 0.6);
}
}

.dops-padd-header{
  padding: 50px 10px !important;
}