/* ----- fonts ----- */
@font-face { 
    font-family: 'Bai Jamjuree'; 
    src: url("../fonts/Bai_Jamjuree/BaiJamjuree-SemiBold.ttf") format('truetype'); 
}
@font-face { 
    font-family: 'Poppins'; 
    src: url("../fonts/Poppins/Poppins-Regular.ttf") format('truetype'); 
}
@font-face { 
    font-family: 'Roboto'; 
    src: url("../fonts/Roboto/Roboto-Regular.ttf") format('truetype'); 
}
@font-face { 
    font-family: 'IBM Plex Mono'; 
    src: url("../fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf") format('truetype'); 
}

/* ----- vars ----- */
:root {
    --pirate-doubloon: #BB9645;
    --pirate-neon: #ffbd30;
    --pirate-goldensands: #f2de99;
    --pirate-leviathan: #141414;

    --pirate-calmseas: #3f52b7;
    --pirate-deepblue: #171621;
    --pirate-navyblue: #202036;
    --pirate-royalblue: #201633;  
    
    --pirate-darkseas: #071642;
    --pirate-crest: #082db2;
    --pirate-storm: #2f3466ff;
    --pirate-fog: #d4d4d4;
    --pirate-cloud: #ffffff;  

    --pirate-font-primary: 'Bai Jamjuree';
    --pirate-font-secondary: 'Roboto', sans-serif;
    --pirate-font-tertiary:'IBM Plex Mono', sans-serif;
    --pirate-font-alternative: 'Poppins';

    --lighter-grey: #4b5056 ;
    --darker-grey: #33373a;

    --dark: #23252d; /* #242526; */
    --darkest: rgb(29, 29, 29);
    --text-main: #a2a6ad;
    --discord-color: #5865ed;
    --red-highlight: #ff1b54;
    --pancake-blue: #24cad6;

    --button-hover: var(--pirate-goldensands);
    --button-color: var(--pirate-neon); 
    --nav-hover: #3A3B3C;   
}

/* ----- main ----- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    background-color: var(--darkest); 
    width: 100%; 
    height: 100%; 
    scroll-behavior: smooth; 
}
body {
    font-size: 16px;
    letter-spacing: 0.7px;
    color: var(--text-main);
    font-family: var(--pirate-font-alternative);
    overflow-x: hidden;     
}
a {
    color: var(--pirate-doubloon);
    text-decoration: none;
}
a:hover {
    color: var(--pirate-neon)
}
a:-webkit-any-link {
    cursor: pointer;
 }
h1 {
    color: var(--pirate-doubloon);;
    font-size: 48px;
    font-family: var(--pirate-font-primary);
}
h2 {
    font-size: 29px;
    font-weight: 200;
    color: var(--pirate-cloud);
    font-family: var(--pirate-font-primary);
}
h3 {
    color: var(--pirate-cloud);
    font-family: var(--pirate-font-secondary);
}
.content {
    max-width: 1400px;
    margin: auto;    
    height: auto;
    padding: 0px 15px;
}
.btn {
    padding: 10px 18px;
    border: 1px solid var(--pirate-doubloon);
    display: inline-block;
    width: 240px;
    margin: 8px 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    background-color: var(--darker-grey);
    color: var(--pirate-neon);
  }
  .btn:hover {
    border: 1px solid var(--pirate-doubloon);
    color: var(--pirate-leviathan);
    background-color: var(--pirate-neon);
    outline:2px solid var(--button-color);
    outline-offset:6px; 
    font-weight: bold;
}
.red-font {
    color: var(--red-highlight);
}

/* ----- hero-section ----- */
.hero-section {
    position: relative;
    padding-bottom: 160px;
    padding-top: 120px;    
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}
.hero-section .logo {
    width: 100%;
    max-width: 180px;     
}
.hero-section h1 {
    font-family: var(--pirate-font-primary);
    font-size: 60px;
    margin-top: 5px;
    color: var(--pirate-doubloon)
}
.hero-section h1 .arrr{
    color: var(--pirate-doubloon);
    font-weight: bold;
}

.hero-section strong {
    color: var(--pirate-cloud);
    font-size: 28px;
}
.hero-section p {
    margin-top: 20px;
    margin-bottom: 40px;
    margin-inline: auto;
    font-size: 18px;
    width: 100%;
    max-width: 800px;
} 

/* ----- backtotop button ----- */
#return-to-top {
    opacity: 0;
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 1000;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    background-image: url(../img/icons/circle-up.svg);
    box-sizing: cover;
    transition: all 0.5s ease-in-out;
}

/* ----- scrollbar ----- */
* {
    scrollbar-width: auto;
    scrollbar-color: var(--pirate-doubloon) #262626;
}
*::-webkit-scrollbar {
    width: 15px;
    background: #262626;
}  
*::-webkit-scrollbar-track {
    background: #262626;
    border-radius: 3px;
}  
*::-webkit-scrollbar-thumb {
    background-color: #393939;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--pirate-doubloon) !important;
}
::-webkit-scrollbar-corner {
    background: rgba(0,0,0,0);
}

/* ---- Copy Text Button ----- */
#copyButton {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    background-color: #333;
    border-radius: 50%;
    border: 2px solid transparent;
    filter: drop-shadow(4px 4px 8px #000000);
    padding: 5px;
    cursor: pointer;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%); 
    -o-filter: grayscale(100%);
    filter: grayscale(100%); 
    filter: gray;
}
#copyButton:hover {
    -webkit-filter: grayscale(0%); 
    -moz-filter: grayscale(0%); 
    -ms-filter: grayscale(0%); 
    -o-filter: grayscale(0%); 
    filter: grayscale(0%);
    filter: none; 
    border: 2px solid rgb(0, 255, 0); 
}
#copiedText {
    position: absolute;
    right: -15px;
    top: -20px;
    transition: opacity 1s;
    color: #fff; 
    font-size: 12px;
    pointer-events: none;
}
#copiedText.show {
    opacity: 1;
}
#copiedText.hidden {
    opacity: 0;
}

/* ---- 404 Page ----- */
.container-404 {
    margin: 10px auto;
    max-width: 600px;
    text-align: center;
}
.container-404 h1 {
    margin: 100px 0 20px;
    font-size: 7em;
    line-height: 1;
    letter-spacing: -1px;
}
.container-404 .btn {
    margin-top: 60px;
}

/* ----- footer ----- */
footer {
    background-color: var(--darkest);
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding-bottom: 140px;
    padding-top: 60px;
}
footer div {
    width: 100%;
    max-width: 240px;
    font-size: 12px;
    text-align: left;
    margin: 40px 6% 0px;
    display: inline-block;
    vertical-align: top;
}
footer .arrrmada {
    width: 100%;
    max-width: 150px;
    display: block;
    margin-bottom: 20px ;
}
footer .discord {
    width: 100%;
    max-width: 150px;
    display: block;
    margin-top: 5px;
    margin-bottom: 20px ;
}

/* ----- Water Effect ----- */
.editorial {
    display: block;
    width: 100%;
    height: 60px;
    max-height: 60px;
    margin: 0;
    z-index:5;
    left:0px;
    float:left;
}  
.parallax1 > use {
    animation: move-forever1 10s linear infinite;
}
.parallax1:nth-child(1) {
    animation-delay: -2s;
}

.parallax2 > use {
    animation: move-forever2 8s linear infinite;
}
.parallax2:nth-child(1) {
    animation-delay: -2s;
}
.parallax3 > use {
    animation: move-forever3 6s linear infinite;
}
.parallax3:nth-child(1) {
    animation-delay: -2s;
}  
.parallax4 > use {
    animation: move-forever4 4s linear infinite;
}
.parallax4:nth-child(1) {
        animation-delay: -2s;
    }  
@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }
    100% {
        transform: translate(-90px, 0%);
    }
    }
    @keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }
    100% {
        transform: translate(85px, 0%);
    }
    }
    @keyframes move-forever3 {
    0% {
        transform: translate(85px, 0%);
    }
    100% {
        transform: translate(-90px, 0%);
    }
    }
    @keyframes move-forever4 {
    0% {
        transform: translate(-90px, 0%);
    }
    100% {
        transform: translate(85px, 0%);
    }
}
  
/* ----- boxes animation ----- */
.boxes div {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 2px solid #fff
}
.boxes div:nth-child(1) {
    top: 70%;
    left: 10%;
    animation: box-animate 10s infinite
}
.boxes div:nth-child(2) {
    top: 20%;
    left: 80%;
    animation: box-animate 9s infinite
}
.boxes div:nth-child(3) {
    top: 50%;
    left: 50%;
    animation: box-animate 6s infinite
}
.boxes div:nth-child(4) {
    top: 80%;
    left: 60%;
    animation: box-animate 15s infinite
}
.boxes div:nth-child(5) {
    top: 30%;
    left: 30%;
    animation: box-animate 9s infinite
}
.boxes div:nth-child(6) {
    top: 90%;
    left: 90%;
    animation: box-animate 12s infinite
}
.boxes div:nth-child(7) {
    top: 80%;
    left: 30%;
    animation: box-animate 2s infinite
}
.boxes div:nth-child(8) {
    top: 40%;
    left: 20%;
    animation: box-animate 2s infinite
}
.boxes div:nth-child(9) {
    top: 50%;
    left: 80%;
    animation: box-animate 2s infinite
}
@keyframes box-animate {
    0% {
        transform: scale(0) translateY(0) rotate(0);
        opacity: 1
    }
    100% {
        transform: scale(1.3) translateY(-90px) rotate(360deg);
        opacity: 0
    }
}
@media screen and (max-width:640px) {
    .boxes {
       display: none;           
    }
}