/*---------------------------------------------
  Font
---------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Passion+One:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.cdnfonts.com/css/minecraftia");

/*---------------------------------------------
  Utility
---------------------------------------------*/

:root {
    --primary-color: #072C4F;
    --secondary-color: #00203E;
    --primary-brand: #00E7DF;
    --secondary-brand: #FF7F00;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", sans-serif;
    background: var(--primary-color);
    overflow-x: hidden;
}

html,
body {
    height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-track-piece:start {
    background: none;
}

::-webkit-scrollbar-track-piece:end {
    background: none;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background-color: #00E7DF;
    border-radius: 8px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Passion One", sans-serif;
    font-weight: 600;
    color: #fffeed;
}

p,
ul,
ol {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    line-height: 1.75em;
    color: #fffeed;
}

b,
strong {
    font-weight: 600;
    color: var(--primary-brand);
}

a {
    color: #fffeed;
}

.buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}

.buttons svg {
    fill: #072C4F;
    max-width: 28px;
    margin-right: 10px;
}

.buttons:hover svg {
    fill: #ffffff!important;
}

a.button {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    padding: 9px 20px;
    margin-top: 10px;
    width: 200px;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #072C4F;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(90deg, #00E7DF, #00E7DFcc);
    /*transition: background 0.5s ease, color 0.5s ease;*/
    line-height: 30px;
}

a.button:hover {
    background: linear-gradient(90deg, #FF7F00, #FF7F00);
    color: #ffffff!important;
}

a.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00E7DF;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

a.button:hover::before {
    opacity: 1;
}

.button-ip {
    align-items: center;
    background-color: #00203E;
    background-position: 0 0;
    border: 1px solid #75A3B2;
    border-radius: 10px;
    box-sizing: border-box;
    color: #fffeed;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    line-height: 37px;
    padding: 5px 20px 5px 20px;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-underline-offset: 1px;
    transition: border 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    word-break: break-word;
    width: 200px;
}

.button-ip:active,
.button-ip:hover,
.button-ip:focus {
    outline: 0;
}

.button-ip:active {
    background-color: #FF7F00;
    box-shadow: rgba(0, 0, 0, 0.12) 0 1px 3px 0 inset;
    color: #ffffff;
}

.button-ip:hover {
    background-color: #FF7F00;
    border-color: #fffeed;
}

.button-ip:active:hover,
.button-ip:focus:hover,
.button-ip:focus {
    background-color: #FF7F00;
    box-shadow: rgba(0, 0, 0, 0.12) 0 1px 3px 0 inset;
    color: #ffffff;
}

.copy-text {
    font-size: 14px;
    color: #75A3B2;
    position: absolute;
    top: calc(100% + 5px); /* Posiziona il testo sotto il pulsante */
    left: 16%; /* Centra orizzontalmente rispetto al pulsante */
    transform: translateX(-50%); /* Centra esattamente rispetto al pulsante */
    animation: pulse 1.5s infinite alternate; /* Aggiungi animazione di pulsazione */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

img {
    max-width: 100%;
}

@media only screen and (max-width: 1000px) {
header .navbar-brand {
    max-width: 150px!important;
}
}

section {
    position: relative;
    margin: 100px 0 74px 0;
    z-index: 1;
}

.section-title {
    color: #fffeed;
    display: block;
    background: linear-gradient(
        90deg,
        #00E7DF,
        #00E7DFcc
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 48px !important;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #fffeed;
    margin-bottom: 50px;
}

.section-subtitle strong {
    display: block;
    background: linear-gradient(
        90deg,
        #00E7DF,
        #00E7DFcc
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 5px;
}

/*---------------------------------------------
  Preloader
---------------------------------------------*/

#loader {
    position: relative;
    z-index: 40;
}

#loader .loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top right, #0b0f18, #00203E);
    color: #ededed;
}

#loader .logo-wrapper {
    position: relative;
}

#loader .logo-wrapper .logo-spinner {
    position: relative;
    height: 128px;
    width: 128px;
    animation: spin 1s linear infinite;
    border-radius: 100%;
    border-width: 5px;
    border-style: solid;
    border-left-color: #f1960e;
    border-right-color: rgb(0 0 0/0.05);
    border-top-color: rgb(0 0 0/0.05);
    border-bottom-color: rgb(0 0 0/0.05);
}

#loader .logo-wrapper .logo-image {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 85%;
    width: 85%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    background: rgb(0 0 0/0.05);
    padding: 1.3rem;
    text-align: center;
}

#loader .logo-wrapper .logo-image img {
    height: 100%;
    max-width: 100%;
}

#loader .loader-status {
    padding: 0 10px;
    text-align: center;
    line-height: 28px;
}

#loader .loader-status h2 {
    text-align: center;
    font-family: "Passion One", sans-serif;
    font-size: 36px;
    line-height: 20px;
    font-weight: 700;
    color: #fffeed;
    margin: 0;
}

#loader .loader-status noscript {
    margin: 0 auto;
    margin-top: auto;
    margin-bottom: 5px;
    display: block;
    width: fit-content;
    border-radius: 5px;
    background: #ef4444;
    padding: 2px 5px;
    color: #ededed;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/*---------------------------------------------
  Navbar
---------------------------------------------*/

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 5px 0;
    z-index: 4;
    transition: 0.4s;
}

header.navbar-scroll {
    backdrop-filter: blur(40px);
        padding: 15px 0!important;
    transition: 0.4s;

}

header.navbar-scroll .navbar-brand  {
      width: 70px;
      transition: 0.4s;
      content:url("https://qlash.gg/wp-content/uploads/2024/12/qlash_monomark.png");
}

header .navbar-brand {
    width: 200px;
}

header .navbar-wrapper {
    text-align: right;
}

header .navbar-wrapper .navbar-menu {
    margin-bottom: 0;
}

header .navbar-wrapper .navbar-menu li {
    display: inline-block;
}

header .navbar-wrapper .navbar-menu li a {
    padding: 10px 0px;
    color: #fffeed;
    font-size: 18px;
    text-decoration: none !important;
}

#qlashapp{
      color: #072C4F;
}

header .navbar-wrapper .navbar-menu li a {
    padding: 5px 20px;
    border-radius: 30px;
    transition: 0.3s;
}

header .navbar-wrapper .navbar-menu li a:hover {
    color: var(--primary-brand);
    border-radius: 30px;
}

header .navbar-wrapper .navbar-menu li a.active {
    background: var(--primary-brand);
    color: #072C4F;
}

header .navbar-wrapper .navbar-menu li a.active:hover {
    background: #FF7F00;
    color: #ffedae;
}

header .navbar-wrapper .navbar-toggler {
    display: inline-block;
}

header .navbar-wrapper .navbar-toggler i {
    font-size: 30px;
    color: #fffeed;
    vertical-align: middle;
}

header .mobile-navbar {
    width: 83.3% !important;
    max-width: 384px;
    height: calc(100vh);
    background: var(--secondary-color);
    box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
}

header .mobile-navbar .mobile-navbar-header {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 4px;
}

header .mobile-navbar .mobile-navbar-header .mobile-navbar-close i {
    font-size: 30px;
    color: #fffeed;
    vertical-align: middle;
}

header .mobile-navbar .mobile-navbar-body {
    position: relative;
    padding: 20px;
    overflow-y: scroll;
}

header .mobile-navbar .navbar-wrapper {
    text-align: left;
}

header .mobile-navbar .navbar-wrapper .navbar-menu li {
    display: block;
    margin-bottom: 20px;
}

/*---------------------------------------------
  Heading
---------------------------------------------*/

#heading {
    margin: 0;
    padding: 230px 0 180px 0;
    background-color: transparent;
    align-items: center;
}

#heading:before {
    content: "";
    position: absolute;
    background-image: url("../img/background.jpg") !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#heading:after {
    content: "";
    position: absolute;
    background: linear-gradient(
        0deg,
        var(--primary-color) 1%,
        transparent 100%
    );
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#heading h1 {
    text-align: justify;
    font-size: 25px;
}

.subtitle-heading {
    font-family: "Passion One", sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #fffeed;
}

#heading p {
    text-align: justify;
    margin-bottom: 20px;
}

.trailer {
    width: 100%;
    height: 340px;
    text-align: right;
    position: relative;
    right: 0;
    left: 80px;
}

.trailer iframe video {
    object-fit: cover;
    pointer-events: none;
}

.img-video {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.video {
    width: 100%;
    background: #000;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
}

.video:not(.fatto)::after {
    z-index: 1;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 70px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s;
}

@media screen and (max-width: 727px) {
    .video:not(.fatto)::after {
        width: 100px;
        height: 100px;
    }
}

.video:not(.fatto)::before {
    z-index: 2;
    font-family: FontAwesome, serif;
    font-size: 50px;
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f04b";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 5px;
    color: #00E7DF;
    transition: color 0.3s;
}

@media screen and (max-width: 727px) {
    .video:not(.fatto)::before {
        font-size: 50px;
    }
}

.video:hover::after {
    background: rgba(#00E7DF, 0.8);
}

.video:hover::before {
    color: rgba(0, 0, 0, 0.5);
}

/*---------------------------------------------
  Background
---------------------------------------------*/

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.background-video::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent -581%, #202225 91%);
    pointer-events: none;
    z-index: 1;
}

.background-video iframe video {
    object-fit: cover;
    pointer-events: none;
}

video::-webkit-media-controls-panel {
    display: none !important;
    opacity: 1 !important;
}

/*---------------------------------------------
  Hero
---------------------------------------------*/

#hero {
    min-height: 100vh;
    padding-top: 300px;
    margin: 0;
}

#hero:before {
    content: "";
    position: absolute;
    background-image: url("../img/background.png") !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#hero:after {
    content: "";
    position: absolute;
    background: linear-gradient(
        0deg,
        var(--primary-color) 1%,
        transparent 100%
    );
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fffeed;
    text-transform: uppercase;
    margin-bottom: 25px;
    filter: drop-shadow(2px 2px 5px #000000);
}

#hero p {
    text-align: justify;
    filter: drop-shadow(2px 2px 5px #000000);
}

#hero .server-image {
    width: 300px;
    height: 300px;
}

#hero .server-status {
    background: linear-gradient(0deg, #008000, #17e117);
    box-shadow: 0 3px 0 0 rgb(0 128 0 / 40%), 0 3px 5px 0px rgb(12 9 4 / 35%);
    cursor: initial;
}

#hero .server-status:hover,
#hero .server-status:focus {
    top: 0;
    box-shadow: 0 3px 0 0 rgb(0 128 0 / 40%), 0 3px 5px 0px rgb(12 9 4 / 35%) !important;
}

#hero .arrow {
    margin-top: 10vh;
    margin-bottom: 20vh;
    animation: up-down 1.5s infinite;
}

@keyframes up-down {
    0% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    50% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }

    100% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}

@media screen and (max-width: 1199px) {
    #hero {
        padding-top: 150px;
    }

    #hero .server-image {
        display: none;
    }

    a.navbar-toggler.main {
        display: none;
    }
}

/*---------------------------------------------
  Alert
---------------------------------------------*/

.alert {
    position: relative;
    display: block;
    margin: 32px 0;
    padding: 24px 24px 10px 50px;
    background-color: rgb(245, 247, 249);
    border-left: 4px solid;
    border-color: var(--primary-brand);
    border-radius: 5px;
}

.alert-icon {
    position: absolute;
    display: block;
    top: 23px;
    left: 16px;
    font-size: 24px;
}

.alert-text {
    color: #131b2d;
}

.alert .close {
    position: absolute;
    background: transparent;
    box-shadow: none !important;
    top: -5px;
    right: 5px;
    padding: 0;
    font-size: 25px;
    color: var(--primary-brand);
    text-shadow: none;
}

/*---------------------------------------------
  Video
---------------------------------------------*/
#video {
    cursor: pointer;
    margin-top: -50px;
    margin-bottom: 24px;
}

#video .container {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.video__container {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.video__container img {
    display: block;
    cursor: pointer;
}

.video__container iframe {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video__container > button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    width: 150px;
    height: 150px;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
    z-index: 999;
    padding-left: 9px;
    transition: transform 0.3s ease;
}

.video__container > button:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: none !important;
}

/*---------------------------------------------
  Cards
---------------------------------------------*/
#cards {
    margin-top: 0;
    display: flex;
    gap: 24px;
}

.cards__card {
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        var(--primary-brand),
        var(--primary-color)
    );
    display: flex;
    align-items: center;
    padding: 32px;
}

.cards__card--blue {
    background: linear-gradient(
        90deg,
        var(--secondary-brand),
        var(--primary-color)
    );
}

.cards__card-info {
    width: 70%;
}

.cards__card-info > span {
    color: #fff;
}

.cards__card-info > h3 {
    margin-bottom: 0;
}

.cards__card-info > p {
    margin-top: 0;
}

.cards__card-info > a {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
}

.cards__card-img {
    width: 30%;
}

/*---------------------------------------------
  Whyus
---------------------------------------------*/
#whyus {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 150px;
}

.whyus__img {
    width: 50%;
}

.whyus__desc {
    width: 50%;
}

.whyus__desc h3 {
    text-transform: uppercase;
    font-size: 1.5rem;
}

.whyus__desc-btnsection {
    display: flex;
    gap: 24px;
}

.whyus__desc-btn {
    margin-top: 24px;
    background: var(--primary-brand);
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    border: 1px solid var(--primary-brand);
    color: #fff;
}

.whyus__desc-btn:hover {
    background: transparent;
    color: var(--primary-brand);
}

.whyus__desc-btn--secondary {
    background: var(--secondary-brand);
    border-color: var(--secondary-brand);
}

.whyus__desc-btn--secondary:hover {
    color: var(--secondary-brand);
}

/*---------------------------------------------
  About
---------------------------------------------*/

#about {
    padding-top: 30px;
}

#about p {
    text-align: justify;
    margin-right: 70px;
}

#about img {
    width: 80%;
}

/*---------------------------------------------
  Games
---------------------------------------------*/

#updates {
    margin: 0;
    padding: 50px 0;
}

#updates .swiper-slide {
    transition: 0.3s;
}

#updates .swiper-slide:not(.active) {
    transform: scale(0.9);
    z-index: -1;
}

#updates .swiper-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

#updates .slider-item-detail {
    text-align: center;
}

#updates .slider-item-detail h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-brand);
    margin-top: 40px;
}

#updates .slider-item-detail h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fffeed;
    margin-bottom: 80px;
}

#updates .games-swiper-button-prev,
#updates .games-swiper-button-next {
    position: absolute;
    background-color: var(--primary-brand);
    top: 40%;
    width: 30px;
    height: 30px;
    transform: rotate(45deg) translateY(-40%);
    z-index: 2;
}

#updates .games-swiper-button-prev {
    left: 15%;
}

#updates .games-swiper-button-next {
    right: 15%;
}

#updates .games-swiper-button-prev i,
#updates .games-swiper-button-next i {
    transform: rotate(-45deg);
    margin: 0 auto;
    font-size: 30px;
    font-weight: 600;
    color: #fffeed;
}

/*---------------------------------------------
  Partners
---------------------------------------------*/

#sponsor {
    margin: 0;
    padding: 80px 0;
    background-color: transparent;
}

#sponsor .sponsor-image {
    margin-bottom: 20px;
}

#sponsor p {
    text-align: justify;
}

#sponsor .sponsor-cards {
    margin-top: 20px;
}

#sponsor .sponsor-card img {
    width: 250px;
}

@media screen and (max-width: 321px) {
    #sponsor .sponsor-image {
        height: 140px;
    }
}

@media screen and (max-width: 480px) {
    #sponsor .sponsor-image {
        height: 200px;
    }
}

/*---------------------------------------------
  Testimonials
---------------------------------------------*/

#testimonials {
    margin: 0;
    padding: 100px 0;
}

#testimonials .testimonials-swiper {
    margin-top: 20px;
    text-align: center;
}

#testimonials .testimonials-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 5px;
}

#testimonials .testimonials-card h5 {
    margin-bottom: 5px;
    font-size: 25px;
}

#testimonials .testimonials-card div {
    max-height: 130px;
    overflow-y: scroll;
}

#testimonials .testimonials-card p {
    margin: 0;
    font-size: 14px;
    text-align: justify;
}

#testimonials .testimonials-buttons {
    margin-top: 5px;
    text-align: center;
}

#testimonials .testimonials-buttons button {
    background: transparent;
    box-shadow: none !important;
    border: none;
    top: 0;
    padding: 0;
}

#testimonials .testimonials-buttons button img,
#testimonials .testimonials-buttons button img {
    height: 30px;
    width: 30px;
}

@media screen and (max-width: 1199px) {
    #testimonials .testimonials-cards {
        margin-top: 20px;
    }
}

/*---------------------------------------------
  Play
---------------------------------------------*/

#play {
    margin: 100px 0 100px 0;
}

#play .container {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border: 1px solid #00203E;
    border-radius: 5px;
    padding: 50px 40px;
}

#play .container:before {
    content: "";
    position: absolute;
    display: block;
    background: url(../img/server-minecraft-roleplay-car.png) 50% no-repeat;
    background-size: cover;
    top: -70px;
    left: 100px;
    width: 400px;
    height: 225px;
    margin: auto;
}

#play aside {
    width: 100%;
    margin-top: 125px;
}

#play .c-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-brand);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

#play h2 {
    margin: 0;
}

#play span {
    font-weight: 700;
    color: var(--primary-brand);
}

#play ul {
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

#play li {
    display: flex;
}

#play li:before {
    margin-right: 10px;
    color: var(--primary-brand);
    content: counter(steps);
    counter-increment: steps;
}

#play li p {
    margin: 0;
}

#play li span {
    color: #fffeed;
}

#play div {
    width: 100%;
}

#play img {
    border: 5px solid #2a2b30;
    border-radius: 5px;
}

@media screen and (max-width: 1399px) {
    .minecraft-form input {
        width: 470px !important;
        height: 60px !important;
    }
    .minecraft-form input:first-child {
        margin-bottom: 15px !important;
    }
    .input-container {
        margin-top: 15px !important;
    }
}

@media screen and (max-width: 1199px) {
    #play .container {
        display: block;
        text-align: center;
    }
    #play .container:before {
        left: 50%;
        transform: translateX(-50%);
    }
    .minecraft-form input {
        width: 782px !important;
        height: 90px !important;
        font-size: 32px !important;
    }
    .minecraft-form input:first-child {
        margin-bottom: 20px !important;
    }
    .input-container {
        margin-top: 40px !important;
    }
    .fake-placeholder {
        font-size: 32px !important;
        height: 100px !important;
        line-height: 100px !important;
    }
}

@media screen and (max-width: 991px) {
    .minecraft-form input {
        width: 565px !important;
        height: 65px !important;
        font-size: 24px !important;
    }
    .minecraft-form input:first-child {
        margin-bottom: 13px !important;
    }
    .input-container {
        margin-top: 30px !important;
    }
    .fake-placeholder {
        font-size: 24px !important;
        height: 75px !important;
        line-height: 75px !important;
    }
}

@media screen and (max-width: 767px) {
    .minecraft-form input {
        width: 405px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    .minecraft-form input:first-child {
        margin-bottom: 13px !important;
    }
    .input-container {
        margin-top: 15px !important;
    }
    .fake-placeholder {
        font-size: 20px !important;
        height: 60px !important;
        line-height: 60px !important;
    }
}

@media screen and (max-width: 575px) {
    .minecraft-form input {
        width: 437px !important;
        height: 52px !important;
        font-size: 20px !important;
    }
    .minecraft-form input:first-child {
        margin-bottom: 13px !important;
    }
    .input-container {
        margin-top: 15px !important;
    }
    .fake-placeholder {
        font-size: 20px !important;
        height: 60px !important;
        line-height: 60px !important;
    }
}

@media screen and (max-width: 539px) {
    .minecraft-form input {
        width: 405px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
    .minecraft-form input:first-child {
        margin-bottom: 13px !important;
    }
    .input-container {
        margin-top: 15px !important;
    }
    .fake-placeholder {
        font-size: 20px !important;
        height: 60px !important;
        line-height: 60px !important;
    }
}

@media screen and (max-width: 509px) {
    .minecraft-form input {
        width: 378px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
    .input-container {
        margin-top: 5px !important;
    }
    .fake-placeholder {
        font-size: 18px !important;
        height: 55px !important;
        line-height: 55px !important;
    }
}

@media screen and (max-width: 479px) {
    .minecraft-form input {
        width: 350px !important;
        height: 42px !important;
        font-size: 18px !important;
    }
    .input-container {
        margin-top: 5px !important;
    }
    .fake-placeholder {
        font-size: 18px !important;
        height: 55px !important;
        line-height: 55px !important;
    }
}

@media screen and (max-width: 439px) {
    .minecraft-form input {
        width: 315px !important;
        height: 38px !important;
        font-size: 16px !important;
    }
    .input-container {
        margin-top: 5px !important;
    }
    .fake-placeholder {
        font-size: 16px !important;
        height: 48px !important;
        line-height: 48px !important;
    }
}

@media screen and (max-width: 409px) {
    .minecraft-form input {
        width: 290px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
    .input-container {
        margin-top: 5px !important;
    }
    .fake-placeholder {
        font-size: 16px !important;
        height: 48px !important;
        line-height: 48px !important;
    }
}

@media screen and (max-width: 390px) {
    .minecraft-form input {
        width: 270px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
    .input-container {
        margin-top: 5px !important;
    }
    .fake-placeholder {
        font-size: 14px !important;
        height: 42px !important;
        line-height: 42px !important;
    }
}

/*---------------------------------------------
  Social icons
---------------------------------------------*/

.social-buttons {
    position: fixed;
    top: 35%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 5000;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 8px 0;
    color: #fff;
    background-color: #ed4245;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-button:hover,
.social-button:focus {
    transform: scale(1.05);
}

.social-button svg,
.social-button i {
    width: 50%;
    fill: #fff;
    color: #fff;
    font-size: 120%;
}

.social-button.telegram {
    background-color: #2aabee;
}
.social-button.discord {
    background-color: #7289da;
}
.social-button.instagram {
    background: linear-gradient(315deg, #833ab4, #fd1d1d, #fcb045);
}
.social-button.youtube {
    background-color: #cd201f;
}
.social-button.tiktok {
    background-color: #000000;
}

.social-text {
    display: none;
    position: absolute;
    left: 100%;
    white-space: nowrap;
    margin-left: 10px;
    color: #fff;
    font-weight: 900;
}

.social-button:hover .social-text {
    display: inline;
}

.social-button.telegram:hover .social-text {
    color: #2aabee;
}
.social-button.discord:hover .social-text {
    color: #7289da;
}
.social-button.instagram:hover .social-text {
    color: #c13584;
}
.social-button.tiktok:hover .social-text {
    color: #000000;
}
.social-button.youtube:hover .social-text {
    color: #cd201f;
}

@media (max-width: 991px) {
    .social-buttons {
        display: none;
    }
}

/*---------------------------------------------
  Minecraft
---------------------------------------------*/

.minecraft-container {
    position: relative;
    display: inline-block;
}

.minecraft-screenshot {
    display: block;
    width: 100%;
    height: auto;
}

.minecraft-form {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.minecraft-form input {
    width: 550px;
    height: 65px;
    padding: 10px;
    margin: 5px;
    margin-bottom: 0;
    border: 3px solid #a0a0a0;
    border-radius: 0;
    background-color: #000000;
    color: #dddddd;
    font-family: "Minecraftia", sans-serif;
    font-size: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    outline: none;
}

.minecraft-form input:first-child {
    margin-bottom: 40px;
}

.minecraft-form input:focus {
    border-color: #ffffff;
}

.minecraft-form button {
    width: 550px;
    height: 60px;
    padding: 10px 20px;
    margin-top: 50px;
    border: 3px solid #a0a0a0;
    border-radius: 0;
    background-color: #000000;
    color: #dddddd;
    font-family: "Minecraftia", sans-serif;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    outline: none;
}

.input-container {
    position: relative;
    font-family: "Minecraftia", sans-serif;
}

.fake-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    color: #ddd !important;
    font-weight: normal !important;
    font-family: "Minecraftia", sans-serif;
    pointer-events: none;
    font-size: 24px;
    height: 75px;
    line-height: 75px;
    padding-left: 20px;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 16px;
}

.fake-placeholder::after {
    content: "_";
    animation: blink 1s infinite;
    opacity: 1;
    font-weight: normal;
    position: absolute;
    right: 0;
    bottom: 0;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.styled-input {
    width: 550px;
    height: 60px;
    padding: 10px;
    border: 3px solid #a0a0a0;
    background-color: transparent;
    color: #ddd;
    font-size: 24px;
    font-family: inherit;
}

.placeholder {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 24px;
    font-size: 24px;
    font-family: "Minecraftia", sans-serif;
    color: #ddd;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #ddd;
    animation: typing 4s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 200px;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #ddd;
    }
}

.swal2-popup {
    background-color: #00203E;
    margin-right: 1em;
    margin-bottom: 1em;
}

.swal2-container {
    justify-content: flex-end;
    align-items: flex-end;
}

.swal2-confirm {
    background-color: #00E7DF !important;
    color: black;
    border: 0;
    padding: 20px 30px;
    border-radius: 10px;
}

.swal2-confirm:hover {
    background-color: #fadb14;
}

.swal2-title,
.swal2-content,
.swal2-confirm,
.swal2-cancel,
.swal2-html-container {
    color: #fffeed !important;
    line-height: 5px;
}

.swal2-confirm:focus,
.swal2-confirm:active {
    outline: none !important;
    box-shadow: none !important;
}

.swal2-confirm,
.swal2-confirm:focus,
.swal2-confirm:active {
    outline: none !important;
    box-shadow: none !important;
}

/*---------------------------------------------
  Perle
---------------------------------------------*/

.img-perle {
    filter: brightness(90%) sepia(10%) blur(0.5px);
    transition: filter 0.7s ease, opacity 0.7s ease;
}

/*---------------------------------------------
  Vote
---------------------------------------------*/

#vote {
    margin: -50px 0 100px 0;
}

#vote .container {
    background-color: var(--secondary-color);
    border: 1px solid #00203E;
    border-radius: 5px;
    padding: 50px 40px;
}

#vote .two-column-grid {
    display: grid;
    grid-template-columns: 30% auto;
    grid-gap: 10px;
}

#vote .card {
    background: #00203E;
    box-shadow: 0 3px 10px rgb(0 0 0 / 8%);
    border-radius: 5px;
    margin-bottom: 4px;
    padding: 18px;
}

#vote .card .alert {
    display: flex;
    align-items: center;
    background: #00E7DF87;
    box-shadow: 0 3px 10px rgb(0 0 0 / 8%);
    border-radius: 8px;
    margin: 0;
    padding: 14px 14px 12px 14px;
    color: #fffeed;
}

#vote .card .alert .icon {
    padding-right: 10px;
}

#vote .card .alert .icon svg {
    display: block;
    width: 22px;
    margin: 0 4px 0 3px;
    fill: #fffeed;
}

#vote .card .alert .text {
    font-size: 13px;
    font-weight: 700;
    line-height: 17px;
}

#vote .card .card-body {
    padding: 20px 15px 0;
}

#vote .card .card-body p {
    font-size: 13px;
    font-weight: normal;
    margin: 0;
    padding-bottom: 10px;
}

#vote .card.menu-card span {
    padding-right: 5px;
    font-size: 12px;
}

#vote .card.menu-card ul {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding: 0;
    margin: 0;
}

#vote .card.menu-card ul button {
    background: var(--primary-brand); /* Colore di sfondo principale */
    border: none; /* Rimuove il bordo */
    border-radius: 20px; /* Angoli arrotondati */
    padding: 12px 17px;
    margin: 10px 0; /* Spazio tra i pulsanti */
    font-size: 14px;
    color: #ffffff; /* Colore del testo */
    text-align: left;
    cursor: pointer; /* Cambia il cursore in un puntatore */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Transizione fluida per hover e click */
    display: flex; /* Usa flexbox per allineare testo e icona */
    justify-content: space-between; /* Spazia i figli ai due estremi */
    align-items: center; /* Centra verticalmente il contenuto */
    position: relative; /* Per posizionamento assoluto di elementi figli */
    overflow: hidden; /* Nasconde il contenuto che sfora i bordi arrotondati */
}

#vote .card.menu-card ul button {
    padding-right: 12px; /* Aumenta il padding a destra per fare spazio all'icona/link */
}

#vote .card.menu-card ul button:hover {
    background-color: #1070a8; /* Cambia colore al passaggio del mouse */
    transform: translateY(
        -2px
    ); /* Effetto di "sollevamento" al passaggio del mouse */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombra per profondità */
}

#vote .card.menu-card ul button:active {
    transform: translateY(1px); /* Effetto di "pressione" quando cliccato */
}

#vote .card.menu-card ul button:before {
    content: "";
    position: absolute;
    border: 0 solid transparent;
    transition: all 0.3s ease-in-out;
}

#vote .card.menu-card ul button.active {
    background-color: #1070a8; /* Colore per il pulsante attualmente selezionato */
    box-shadow: none; /* Nessuna ombra per evitare distrazioni */
    pointer-events: none; /* Disabilita ulteriori interazioni per evitare cambiamenti di stato */
}

#vote .card.menu-card ul button.active:before {
    content: none;
}

#vote .card.menu-card ul button a {
    margin-left: auto; /* Spinge l'icona a destra */
    color: rgba(255, 255, 255, 0.8); /* Colore dell'icona/link */
    transition: color 0.3s ease; /* Transizione fluida del colore */
    display: flex; /* Permette di usare flex properties sull'icona/link */
    align-items: center; /* Centra verticalmente l'icona nel pulsante */
    justify-content: center; /* Centra orizzontalmente il contenuto dell'icona */
    text-decoration: none; /* Rimuove la sottolineatura dal link */
    position: relative; /* Posizionamento rispetto al suo normale flusso */
    height: 100%; /* Assicura che l'icona abbia la stessa altezza del pulsante */
    padding: 0 12px; /* Aggiunge un po' di spazio ai lati dell'icona/link */
    pointer-events: auto !important; /* Rende l'icona/link cliccabile */
}

#vote .card.menu-card ul button:hover a,
#vote .card.menu-card ul button.active a {
    color: #ffffff; /* Cambia colore dell'icona al passaggio del mouse e per il pulsante attivo */
}

#vote .card.menu-card ul button a {
    animation: pulse 2s infinite;
}

#vote .card.menu-card ul button:hover,
#vote .card.menu-card ul button:focus {
    background-color: #1070a8; /* Cambia colore al passaggio del mouse e al focus */
    transform: translateY(
        -2px
    ); /* Effetto di "sollevamento" al passaggio del mouse */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombra per profondità */
}

#vote .card.menu-card ul button span {
    display: none;
}

#vote .card.menu-card ul button.active span {
    display: inline; /* o 'block', a seconda del layout desiderato */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#vote .iframe .iframe-house.loaded {
    background: transparent;
}

#vote .iframe .iframe-house {
    position: relative;
    width: 100%;
    height: 562px;
    overflow: hidden;
}

#vote .iframe .iframe-house.loaded svg {
    visibility: hidden;
    opacity: 0;
}

#vote .iframe iframe,
#vote .iframe svg {
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s;
}

#vote .iframe svg {
    right: 0;
    bottom: 0;
    width: 120px;
    height: 120px;
    margin: auto;
}

@media screen and (max-width: 991px) {
    #vote .two-column-grid {
        display: block;
    }
}

/*---------------------------------------------
  Footer
---------------------------------------------*/

footer {
    position: relative;
    background-color: #00203E;
    padding-top: 150px;
    padding-bottom: 50px;
    margin-top: -100px;
    font-size: 14px;
    color: #fffeed;
}

footer h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #fffeed;
}

footer .footer-about span,
footer .footer-store span {
    display: block;
    font-size: 14px;
    color: #fffeed;
    text-align: justify;
}

footer .footer-social {
    text-align: left;
}

footer .footer-center {
    text-align: center;
}

footer .footer-center .copyright {
    font-size: 14px;
    color: #fffeed;
}

footer .footer-center img {
    display: block;
    max-width: 250px;
    margin: 0 auto;
}

footer .footer-center .copyright a {
    color: var(--primary-brand);
    text-decoration: none;
}

footer .footer-social .socials {
    margin-top: 20px;
}

footer .footer-social .socials a {
    margin: 0 2px;
    border-radius: 5px;
    color: #fffeed;
    text-decoration: none;
}

footer .footer-social .socials a.discord {
    background: #5865f2;
    padding: 8px 10px;
}

footer .footer-social .socials a.twitter {
    background: #1d9bf0;
    padding: 8px 10px;
}

footer .footer-social .socials a.facebook {
    background: #1877f2;
    padding: 8px 10px;
}

footer .footer-social .socials a.tiktok {
    background: #ff0050;
    padding: 8px 10px;
}

footer .footer-social .socials a.youtube {
    background: #ff0000;
    padding: 8px 10px;
}

footer .footer-store a {
    display: inline-block;
}

@media screen and (max-width: 991px) {
    footer .container .row > div {
        margin: 25px 0px;
        text-align: center;
    }

    footer .footer-social img {
        max-width: 250px;
        margin: 0 auto;
    }
}
