@import"https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800";
@import"https://fonts.googleapis.com/css?family=Merriweather:400,300,400italic,300italic,700,700italic";
@import"https://fonts.googleapis.com/css?family=Nunito:400,300,700";

p {
    font-size: 15px;
    line-height: 29px;
    color: rgba(28, 54, 83, .6);
    padding-bottom: 20px
}

h1 {
    font-size: 60px
}

h2 {
    font-size: 40px;
    font-weight: 300;
    color: #3d4351
}

h3 {
    color: #3d4351;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 29px
}

h4 {
    font-size: 18px
}

h5 {
    font-size: 15px;
    color: #3d4351;
    text-transform: uppercase;
    font-weight: 500
}

.btn {
    font-size: 13px;
    border: solid 2px;
    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
    display: inline-block;
    text-transform: uppercase
}

.btn:hover,
.btn:focus {
    color: #fff;
    border-color: #D85E5E;
    background-color: #D85E5E
}

.btn-white {
    font-size: 13px;
    border: solid 2px;
    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
    display: inline-block;
    border-color: #fff
}

.btn-white:hover,
.btn-white:focus {
    color: #D85E5E;
    border-color: #D85E5E
}

.btn-fill {
    color: #fff;
    border: solid 2px #D85E5E;
    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
    display: inline-block;
    text-transform: uppercase;
    background-color: #D85E5E
}

.btn-fill:hover,
.btn-fill:focus {
    color: #fff;
    background-color: #94032A;
    border-color: #94032A
}

.btn-small {
    padding: 8px 30px
}

.btn-large {
    padding: 15px 40px
}

.btn-margin-right {
    margin-right: 20px
}

section.intro,
section.features-extra,
section.rsvp {
    background: #fff
}

section.features,
section.events,
section.blog {
    background: #f8f9fd
}

.group:after {
    content: "";
    display: table;
    clear: both
}

.no-padding {
    padding: 0
}

.no-margin {
    margin: 0
}

a {
    color: #D85E5E;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transition-duration: 200ms;
    transition-duration: 200ms;
    -webkit-transition-property: color, border-color, background-color;
    transition-property: color, border-color, background-color
}

a:hover,
a:focus {
    color: #94032A;
    text-decoration: none
}

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    color: rgba(28, 54, 83, .6);
    -webkit-text-size-adjust: 100%
}

*:focus {
    outline: none !important
}

ul,
ol {
    margin: 0;
    padding: 0
}

ul li {
    list-style: none
}

section .header {
    padding-bottom: 30px
}

.section-padding {
    padding: 40px 0
}

.section-border {
    border-bottom: 1px solid #e6e9ea
}

.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    visibility: visible;
    filter: alpha(opacity=0);
    opacity: 0
}

.tooltip.in {
    filter: alpha(opacity=90);
    opacity: .9
}

.tooltip.top {
    padding: 5px 0;
    margin-top: -3px
}

.tooltip.right {
    padding: 0 5px;
    margin-left: 3px
}

.tooltip.bottom {
    padding: 5px 0;
    margin-top: 3px
}

.tooltip.left {
    padding: 0 5px;
    margin-left: -3px
}

.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
    background-color: #000;
    border-radius: 4px
}

.pulse2 {
    animation-name: pulse2;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear
}

@keyframes pulse2 {
    0% {
        transform: scale(1.1)
    }

    50% {
        transform: scale(0.8)
    }

    100% {
        transform: scale(1)
    }
}

.floating-arrow {
    animation-name: floating-arrow;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out
}

@keyframes floating-arrow {
    from {
        transform: translate(-50%, 0)
    }

    65% {
        transform: translate(-50%, 15px)
    }

    to {
        transform: translate(-50%, 0)
    }
}

.floating-logo {
    animation-name: floating-logo;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out
}

@keyframes floating-logo {
    from {
        transform: translate(-50%, 0)
    }

    50% {
        transform: translate(-50%, 10px)
    }

    to {
        transform: translate(-50%, 0)
    }
}

.wp1,
.wp2,
.wp3,
.wp4,
.wp5,
.wp6,
.wp7,
.wp8,
.wp9 {
    visibility: hidden
}

.wp8,
.wp9 {
    -webkit-animation-delay: .3s;
    animation-delay: .3s
}

.bounceInLeft,
.bounceInRight,
.fadeInUp,
.fadeInUpDelay,
.fadeInDown,
.fadeInUpD,
.fadeInLeft,
.fadeInRight,
.bounceInDown {
    visibility: visible
}

.header-nav.open {
    visibility: visible;
    opacity: .9;
    -webkit-transition: opacity .5s;
    transition: opacity .5s
}

.nav-toggle {
    position: absolute;
    top: 0;
    right: 15px;
    z-index: 999999;
    padding: 10px 35px 16px 0;
    cursor: pointer
}

.nav-toggle:focus {
    outline: none
}

.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
    content: "";
    position: absolute;
    display: block;
    width: 35px;
    height: 3px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    background: #fff;
    cursor: pointer
}

.nav-toggle span:before {
    top: -10px
}

.nav-toggle span:after {
    bottom: -10px
}

.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out
}

.nav-toggle.active span {
    background-color: rgba(0, 0, 0, 0)
}

.nav-toggle.active span:before,
.nav-toggle.active span:after {
    top: 0
}

.nav-toggle.active span:before {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.nav-toggle.active span:after {
    top: 10px;
    -moz-transform: translatey(-10px) rotate(-45deg);
    -ms-transform: translatey(-10px) rotate(-45deg);
    -o-transform: translatey(-10px) rotate(-45deg);
    -webkit-transform: translatey(-10px) rotate(-45deg);
    transform: translatey(-10px) rotate(-45deg)
}

.navicon {
    position: absolute;
    height: 26px;
    right: 10px;
    top: 65px;
    visibility: hidden;
    transition: all 300ms ease-in-out
}

.hero {
    min-height: 750px;
    background: url("../img/collage.png") center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative
}

.hero .down-arrow a {
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(87, 87, 87);
    display: block;
    border-radius: 50px;
    width: 44px;
    text-align: center;
}

.hero h1 {
    color: #fff;
    margin-bottom: 40px
}

.hero p.intro {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 80px
}

.hero .hero-content {
    /*margin-top: 145px;*/
    padding-top: 16%
}

.hero .hero-content img {
    width: 40%;
}

.navigation {
    transition: all 300ms ease-in-out;
    position: fixed;
    width: 100%;
    z-index: 999;
    background-color: rgba(84, 89, 56);/*, .88);*/
}

.fixed {
    position: fixed;
    background-color: rgba(84, 89, 56);/*, .88);*/
    z-index: 999;
    width: 100%
}

header {
    padding: 50px 0;
    /*border-bottom: solid 1px rgba(255, 255, 255, .2);*/
    position: relative;
    width: 1170px;
    margin: 0 auto;
    transition: padding 300ms ease-in-out
}

header a {
    color: #fff;
    text-transform: uppercase;
    font-size: 13px
}

header a.login {
    margin-right: 20px
}

header .logo {
    display: inline-block
}

header .logo img {
    height: 50px
}

header ul.primary-nav {
    margin: 0 0 0 75px;
    padding: 0
}

header ul.primary-nav li {
    display: inline
}

header ul.primary-nav li a {
    color: #fff;
    padding-right: 25px
}

header ul.primary-nav li a:hover {
    color: #D85E5E
}

header ul.primary-nav li:last-child a {
    padding-right: 0px
}

header ul.member-actions li {
    display: inline
}

header ul.member-actions li a {
    color: #fff
}

header ul.member-actions li a:hover {
    color: #D85E5E
}

header .header-nav {
    display: inline-block
}

header .member-actions {
    position: absolute;
    right: 0;
    transition: all 300ms ease-in-out;
    top: 55px;
}

.down-arrow {
    font-size: 30px;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%)
}

.share-bar {
    margin-top: 20px
}

.intro span.icon {
    font-size: 40px;
    color: #D85E5E;
    font-weight: bold
}

.intro-icon {
    display: inline-block;
    vertical-align: top;
    padding: 6px 0 0 0;
    margin-right: 20px;
    width: 40px
}

.intro-content {
    display: inline-block;
    width: 80%
}

#intro {
    padding-top: 40px
}

#intro img {
    width: 100%;
    height: auto
}

#intro p {
    text-align: center
}

.features {
    position: relative
}

.features p {
    margin-bottom: 0;
    padding-bottom: 0
}

.features h3 {
    margin: 0 0 20px 0
}

.features span.icon {
    font-size: 35px;
    color: #D85E5E;
    font-weight: bold
}

.features .feature-icon {
    display: inline-block;
    vertical-align: top;
    padding: 6px 0 0 0;
    margin-right: 20px;
    width: 35px
}

.features .feature-content {
    display: inline-block;
    width: 75%
}

.features .intro-icon {
    display: inline-block;
    vertical-align: top;
    padding: 6px 0 0 0;
    margin-right: 20px
}

.features .intro-content {
    display: inline-block;
    width: 80%
}

.features ul.features-stack {
    margin-top: 50px
}

.features ul.features-stack li {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #e6e9ea
}

.features ul.features-stack li:last-child {
    padding-bottom: 0px;
    border-bottom: none
}

.features .ipad-wrap {
    width: 706px;
    height: 1002px;
    background: url("../img/ipad-device.png") no-repeat center center;
    z-index: 1
}

.features .iphone-wrap {
    width: 304px;
    height: 620px;
    background: url("../img/iphone6.png") no-repeat center center;
    position: absolute;
    left: 530px;
    bottom: 129px;
    z-index: 2
}

.features .device-showcase {
    position: absolute;
    bottom: -365px;
    right: 61%
}

.features .responsive-feature-img,
.features-extra .responsive-feature-img {
    display: none
}

.devices {
    position: relative
}

.features-extra {
    position: relative;
    z-index: 3
}

.features-extra .btn {
    margin-top: 20px
}

.features-extra .macbook-wrap {
    position: absolute;
    width: 916px;
    height: 540px;
    background: url("../img/macbook-pro.png") no-repeat center center;
    top: 114px;
    z-index: 4;
    left: 50%
}

.hero-strip {
    margin-top: 120px;
    background: #333844 url("../img/polygonal-bg.jpg") no-repeat center center;
    padding-bottom: 190px;
    position: relative
}

.hero-strip i {
    font-family: "Nunito", sans-serif;
    font-weight: 300;
    font-size: 25px;
    color: #f69d52;
    vertical-align: top;
    margin-left: -8px;
    font-style: normal
}

.hero-strip h2 {
    color: #fff;
    margin: 0 0 20px 0
}

.hero-strip p {
    color: #acb1b4
}

.hero-strip .btn {
    margin-top: 10px
}

.hero-strip .logo-placeholder {
    width: 230px;
    height: 230px;
    position: absolute;
    bottom: -285px;
    left: 50%;
    transform: translateX(-50%)
}

.events .leftcol {
    padding-right: 100px;
    border-right: solid 1px #e6e9ea
}

.events .rightcol {
    padding-left: 100px
}

.events .time {
    font-size: 13px;
    font-style: italic;
    text-transform: lowercase;
    color: rgba(28, 54, 83, .6)
}

.events p{
    text-align: justify;
}

.blog {
    padding-bottom: 120px
}

.blog img {
    width: 100%;
    height: auto;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out
}

.blog h2 {
    font-size: 11px;
    color: #acb1b4;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 35px
}

.blog .btn {
    margin-top: 20px
}

.blog .blog-img-wrap {
    position: relative;
    overflow: hidden
}

.blog .blog-img-wrap .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0
}

.blog .blog-img-wrap i {
    color: #fff;
    font-size: 20px;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 25px;
    right: 35px
}

.blog .blog-img-wrap:hover img,
.blog .blog-img-wrap:focus img {
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1)
}

.blog .blog-img-wrap:hover .overlay,
.blog .blog-img-wrap:focus .overlay {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
    filter: alpha(opacity=1);
    opacity: 1;
    z-index: 9
}

.blog figcaption i {
    margin-left: 5px;
    font-size: 15px
}

.blog figcaption a.blog-post-title {
    color: rgba(28, 54, 83, .6)
}

.blog figcaption a.blog-post-title:hover,
.blog figcaption a.blog-post-title:focus {
    color: #3d4351
}

#instagram img {
    width: 100%
}

#eng-pics img {
    width: 100%;
    height: auto;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out
}

#eng-pics .img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px
}

#eng-pics .img-wrap .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0
}

#eng-pics .img-wrap i {
    color: #fff;
    font-size: 15px;
    position: absolute;
    width: 15px;
    height: 15px;
    top: 6px;
    right: 6px
}

#eng-pics .img-wrap:hover img,
#eng-pics .img-wrap:focus img {
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1)
}

#eng-pics .img-wrap:hover .overlay,
#eng-pics .img-wrap:focus .overlay {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
    filter: alpha(opacity=1);
    opacity: 1;
    z-index: 9
}

#eng-pics .diamond {
    width: 230px;
    height: 230px;
    position: absolute;
    bottom: -145px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500
}

#eng-pics .ring {
    width: 75px;
    height: 75px;
    border-radius: 75px;
    border: 10px solid #d0d3d4;
    position: absolute;
    left: 34%;
    top: 75%;
    z-index: -1
}

#video-bg {
    height: 300px
}

#bgndVideo {
  pointer-events: none;   /* sin interacción */
  border: none;
}

#video-content {
    top: -305px;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    position: relative;
    background: rgba(17, 17, 17, .5);
    text-align: center
}

#video-content h5 {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 10px
}

#video-content p {
    color: #fff
}

#map {
    height: 650px !important;
}

#map-canvas {
    height: 500px;
    width: 100%;
    overflow: hidden;
}

#map-content-wrapper {
    position: relative;
    margin-top: -502px;
    margin-bottom: 150px;
    z-index: 600;
}

#map-content {
    margin-top: 40px;
    padding: 50px 60px;
    background: #fff;
    -webkit-transition: opacity .5s, visibility .6s, margin-top .5s;
    transition: opacity .5s, visibility .6s, margin-top .5s
}

#btn-show-content {
    padding: 20px;
    background: #fff;
    cursor: pointer;
    display: inline-block;
    -webkit-transition: opacity .5s, visibility .6s, margin-top .5s;
    transition: opacity .5s, visibility .6s, margin-top .5s
}

.toggle-map-content {
    opacity: 0;
    visibility: hidden
}

.pointer-events-none {
    pointer-events: none
}

.pointer-events-auto {
    pointer-events: auto
}

.rsvp {
    padding-bottom: 140px
}

.rsvp .rsvp-form .rsvp-btn {
    padding: 15px 0;
    border-radius: 3px;
    width: 100%;
    font-size: 13px
}

.rsvp .rsvp-form .form-input-group {
    width: 100%;
    height: 55px;
    margin: 0 auto 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: solid 1px #e6e9ea;
    text-align: left;
    position: relative;
    font-size: 16px;
}

.rsvp .rsvp-form .form-input-group i {
    color: #D85E5E;
    font-size: 16px
}

.rsvp .rsvp-form .form-input-group i:after {
    content: "";
    height: 30px;
    width: 1px;
    border-right: solid 1px #e6e9ea;
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%)
}

.rsvp .rsvp-form .form-input-group i.fa-user,
.rsvp .rsvp-form .form-input-group i.fa-users,
.rsvp .rsvp-form .form-input-group i.fa-envelope,
.rsvp .rsvp-form .form-input-group .fa-key,
.rsvp .rsvp-form .form-input-group .fa-cutlery,
.rsvp .rsvp-form .form-input-group .fa-phone,
.rsvp .rsvp-form .form-input-group .fa-ban,
.rsvp .rsvp-form .form-input-group .fa-check {
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 20px
}

.rsvp .rsvp-form .form-input-group input, .rsvp .rsvp-form .form-input-group select {
    padding-left: 68px;
    width: 100%;
    height: 100%;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: none
}

select {
    background-color: white;
}

/* .rsvp .rsvp-form .form-input-group input[type="radio"]{
    width: auto;
    height: auto;
    margin: 0px!important;
} */

/* Contenedor de las opciones */
.containerInputs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

/* Cada radio + label */
.asistenciaInputs {
    display: flex;
    align-items: center;        /* 👈 alineación vertical REAL */
    gap: 6px;
    min-width: max-content;     /* 👈 evita que se “encoja” */
    white-space: nowrap;        /* 👈 evita cortes raros */
    margin-left: 60px;
}

/* Radio limpio */
.asistenciaInputs input[type="radio"] {
    margin: 0;
    /*flex-shrink: 0;*/
}

/* Label limpio */
.asistenciaInputs label {
    margin: 0;
    line-height: 1.2;
}

.rsvp .rsvp-form .form-input-group input::-webkit-input-placeholder,
.rsvp .rsvp-form .form-input-group input::placeholder,
.rsvp .rsvp-form .form-input-group input:-moz-placeholder,
.rsvp .rsvp-form .form-input-group input::-moz-placeholder,
.rsvp .rsvp-form .form-input-group input:-ms-input-placeholder,
.rsvp .rsvp-form .form-input-group select
{
    color: #bcc1c3
}

footer .content {
    border-top: 1px solid #e6e9ea;
    padding-bottom: 20px
}

footer .to-top-wrapper {
    font-size: 30px;
    display: block;
    cursor: pointer;
    margin: -25px auto 50px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid #e6e9ea;
    background: #fff;
    color: black;
}

footer .to-top-wrapper .to-top {
    display: block;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

footer .to-top-wrapper .to-top:hover {
    margin-top: -5px
}

footer span.fa-heart {
    color: #ff415c;
    font-size: 18px;
    margin: 0 2px
}

body.modal-open {
    padding-right: 0 !important
}

.modal-body {
    padding: 25px
}

.modal-justify {
    text-align: justify;
}

label{
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    vertical-align: middle;
}

.leaflet-top, .leaflet-bottom{
    z-index: 600!important;
}

.leaflet-control-attribution{
    z-index: 600!important;
}

#cuentaAtras, .cifra{
    font-size: 50px;
}

.containerInputs{
    position: relative;
    margin-top: 15px;
}

.containerInputs span{
    position: relative;
    height: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.burbuja {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(5px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

#contador {
    user-select: none;
    touch-action: manipulation;
}

/*************** SOBRE ********************/
/* Overlay: cubre toda la pantalla con fade */
#overlay-sobre {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, #faf7f4, #e9e2db);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

#overlay-sobre.fade-out, .noOpacity {
  opacity: 0;
}

/* Contenedor del sobre */
.sobre-img {
  position: relative;
  width: 650px;      /* tamaño base */
  max-width: 90vw;   /* responsive */
  cursor: pointer;
}

/* Imágenes */
.sobre-img img {
  width: 100%;
  display: block;
  z-index: 10001;
}

/* Sobre abierto */
.sobre-img .abierto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.sobre-img.open .abierto {
  opacity: 1;
}

.sobre-img.open .cerrado {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}


/* Carta centrada dentro del sobre */
.texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #5a4a3c;
  font-size: 22px; /* tamaño base fijo */
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease-in-out 0.5s;
}

.sobre-img.open .texto {
  opacity: 1;
}

.texto span {
  font-size: 28px; /* tamaño base fijo */
  margin-top: 6px;
}

/* Sello proporcional al sobre usando em relativo al contenedor */
/*
.sello {
  position: absolute;
  bottom: 110px; 
  left: 50%;
  width: 150px; 
  max-width: 20%;
  transform: translateX(-50%);
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}
*/
.sobre-img.open .sello {
  transform: translateX(-50%) scale(0.7) rotate(-20deg);
  opacity: 0;
}

/* Contenido oculto */
#contenido-web {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

#contenido-web.visible {
  opacity: 1;
}

#map-canvas img{
    width: 100%;
    display: inline-block;
    min-width: 900px;
}

#batalla-penyes{
    text-align: center;
}

#game-area{
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.apoyosRamat, .apoyosTro{
    text-align: center;
}

.numVotosRamat, .numVotosTro{
    color: white;
    font-weight: bold;
}

.center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flecha {
    width: 500px !important;
    display: inline-block!important;
}

.contenedorFlecha {
    text-align: right;
    position: absolute;
}

.flechaMovil{
    display: none !important;
}

@media (min-width: 880px){
    .contenedorFlecha {
        text-align: right;
        position: absolute;
        bottom: -30px;
        right: -20%;
    }
}

@media (max-width: 880px){
    .flechaOrdenador{
        display: none!important;
    }

    .flechaMovil{
        display: block!important;
        min-width: 150px;
    }

    .contenedorFlecha{
        bottom: -50px;
        left: 33%;
    }

    .flecha {
        width: 35%!important;
        min-width: 200px;
        min-height: 200px;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@media (max-width: 650px){
    .contenedorFlecha{
        bottom: -70px;
        left: 33%;
    }
}

@media (max-width: 590px){
    .contenedorFlecha{
        bottom: -115px;
        left: 30%;
    }
}

@media (max-width: 410px){
    .contenedorFlecha{
        bottom: -150px;
        left: 25%;
    }
}

@media (max-width: 290px){
    .contenedorFlecha{
        bottom: -100px;
        left: 25%;
    }
    .flecha {
        width: 35%!important;
        min-width: 150px;
        min-width: 150px;
    }
}

@media (max-width: 260px){
    .contenedorFlecha{
        bottom: -120px;
        left: 25%;
    }
    .flecha {
        width: 35%!important;
        min-width: 150px;
        min-width: 150px;
    }
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.btn-juego{
    margin-top: 10px;
    width: 200px;
}

body{
    background-color: #fcfefb;
}

@font-face {
    font-family: 'joliet';
    src: url('../fonts/MaginiaRegular-BWP6x.otf') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@media screen and (min-width: 640px) {
    #textoSobre{    
        font-size: 70px;
    }
}

@media screen and (min-width: 360px) and (max-width: 639px) {
    #textoSobre{    
        font-size: 50px;
    }
}

@media screen and (max-width: 359px) {
    #textoSobre{    
        font-size: 35px;
    }
}

@media screen and (max-width: 500px) {
    #textoSobre{    
        top: -100px;
    }
}

#textoSobre{    
    width: 100%;
    position: absolute;
    color:#7e151a; 
    text-align: center;
    font-family: 'joliet';
}

#fireworks{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:10000;
}