/*--------all----------*/
* {
    padding: 0;
    border: 0;
    margin: 0;
    font-family: 'Sofia Pro Regular';
    top: 0;
    left: 0;
}

::-webkit-scrollbar {
    display: none;
}

h2 {
    font-family: 'Sofia Pro Regular';
    font-weight: 400;
    font-size: 4.5em;
    font-size: clamp(1rem, 5vw, 5rem);
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.1em;
    margin-right: -0.5em;
    color: #ffffff;
    width: 90vw;
    max-width: 1200px;
}

h3 {
    font-family: 'Sofia Pro Light';
    font-size: 22px;
    font-weight: 250;
    color: #cccccc;
}

@media only screen and (max-device-height: 480px) {
    body {
        background-image: url(/img/SVG/gria_capitalC.svg);
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: center;
        background-position-y: 25vh;
        background-color: #063E40;
    }

    header {
        left: -999vw;
    }

    section {
        display: none;
    }

    div {
        display: none;
    }
}

/*--------header----------*/

header {
    top: 0;
    width: 100%;
    height: 10vh;
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-behavior: smooth;
    scroll-snap-stop: always;
    z-index: 3;
    letter-spacing: 0.5em;
}

#bardiv {
    width: 95%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #FAFAFA;
}

#menubars {
    display: block;
    background-image: url(/img/capital/menu_icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 6vh;
    height: 60%;
    cursor: pointer;
    margin: 0 2.5vw;

}

#h1div {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 2vw;
}

#h1text {
    width: 100%;
}

h1 {
    width: 100%;
    height: cover;
    font-size: 2.5em;
    background-image: url('/img/capital/CapitalC_logo_white.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 10% 50%;
    padding: 2vh 0;
    text-indent: -9999px;
}

header h1 {
    font-size: 2em;
    font-weight: 900;

}

.contactoHeader {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

#contacto a {
    text-decoration: none;
    color: #F2F3F5;
    cursor: pointer;
    position: relative;
}

#contacto a::after {
    content: ' ';
    position: absolute;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: #A47E3B;
    width: 0%;
    transition: width .2s;
}

#contacto a:hover:after {
    width: 100%;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .contactoHeader {
        display: none;
    }

    h1 {
        background-size: 30%;
        background-position: 40% 50%;
    }

}

@media only screen and (min-device-width : 481px) and (max-device-width : 1023px) {
    .contactoHeader {
        display: none;
    }

    h1 {
        background-size: 30%;
        background-position: 40% 50%;
    }

}

/*--------Sections all----------*/

section {
    height: 100%;
    width: 100%;
    top: 0;
    position: fixed;
    visibility: hidden;
    background-color: #063E40;
}
section::before {
    content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background-image: url(/img/capital/capitalCLogoww.svg);
    background-repeat: no-repeat;
    background-position: center 40%;
    background-size: 37%;
    opacity: .6;
}

section .outer,
section .inner {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
}

section .bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background-size: cover;
    background-position: center;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    section .bg h2 {
        font-size: 22px;
    }
}

/*--------Section 1----------*/
section .bg h2 {
    z-index: 2;
}
.first .bg h2 {
    text-transform: uppercase;
}

.desliza {
    width: 100%;
    height: 90%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-family: 'Sofia Pro Light';
    z-index: -1;
    color: #bdbdbd;
}

.deslizaText {
    font-size: 1em;
}

.deslizaText::after {
    content: url('/img/SVG/arrow_down.svg');
    position: absolute;
    left: 49.5%;
    top: 100%;
    width: 1vw;
    -webkit-animation: ani-mouse 2.5s linear infinite;
    -moz-animation: ani-mouse 2.5s linear infinite;
    animation: ani-mouse 1.5s linear infinite;
}

@keyframes ani-mouse {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(4vh);
        transform: translateY(4vh);
        opacity: .0;
    }
}

section .bg .clip-text {
    overflow: hidden;
}

.first .bg {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(/img/renderCapitaCenter.JPG);
}

.bg h3 {
    text-transform: uppercase;
    font-weight: normal;
    text-align: start;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    .bg h3 {
        font-size: 16px;
        text-align: center;
        margin-inline-start: 5%;
        margin-inline-end: 5%;
    }

    .deslizaText {
        font-size: .7em;
    }

    .deslizaText::after {
        width: 4vw;
        left: 48.5%;
    }

}

@media only screen and (min-device-width : 481px) and (max-device-width : 1023px) {

    .bg h3 {
        font-size: 20px;
        text-align: center;
        margin-inline-start: 10%;
        margin-inline-end: 10%;
    }

    .deslizaText {
        font-size: 1.2em;
    }

    .deslizaText::after {
        width: 3vw;
        left: 48.5%;
    }
}

/*--------Section 1 button----------*/
.projectsButtonA {
    width: 160px;
    height: 160px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    border-style: solid;
    background-color: rgb(255, 255, 255, 0.15);
    border-color: rgb(255, 255, 255);
    border-width: 1px;
    border-radius: 50%;
    cursor: pointer;
    margin-top: 10vh;
    color: #ffffff;
    text-decoration: none;
}

.projectsButtonA:hover {
    background-color: rgb(255, 255, 255, 0.1);
}

.projectsButtonA p {
    font-family: 'Sofia Pro Light';
    font-size: 1em;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 10px;
}

.projects-button {
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
    display: flex;
    position: absolute;
    border-style: solid;
    border-width: 1.5px 1.5px 0px 0px;
    border-color: rgb(255, 255, 255);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    align-content: center;

    animation: rotation 2s linear infinite;

}

@keyframes rotation {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        scale: 100%;
    }

    45% {
        scale: 110%;
    }

    55% {
        scale: 110%;
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        scale: 100%;
    }

}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .projectsButtonA {
        width: 100px;
        height: 100px;
    }

    .bg h3 {
        font-size: 16px;
    }

    .projectsButtonA p {
        font-size: .7em;
        font-weight: 400;
    }

}

/*--------Section 2----------*/
.second .bg {
    background-color: #ffffff;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%), url(/img/plaza-comercial-capital-center-bernardo-quintana-centro-sur-queretaro-capital-c.jpeg);
    color: #000;
}

.second .bg h2 {
    color: #FAFAFA;
}

.second .bg h3 {
    color: #cccccc;
}

.visible {
    width: 100%;
    height: 85vh;
    margin: 10vh 0 5vh 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}


.sec-info {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

#numeros {
    scroll-snap-align: start;
}

.sec-titulo {
    width: 70vw;
    font-size: 2.5em;
    font-weight: normal;
    text-align: center;
    margin-top: 6vh;
    margin-bottom: 3vh;
    position: relative;
}

#numeros .crea {
    margin-bottom: 50px;
}

.elementor-section {
    width: 100%;
    margin-bottom: 6vh;
}

.elementor-container {
    max-width: 872px;
    width: 100%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.elementor-column {
    display: flex;
    min-height: 1px;
    position: relative;
    width: 25%;
}

.elementor-widget-wrap {
    align-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    padding: 10px;
}

.elementor-element-1 {
    width: 100%;
}

.elementor-widget-container {
    padding: 6vh 0px 2vh 0px;
    border-style: solid;
    border: solid 1px #DEDEDE;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.2);
}

.elementor-counter-number-wrapper {
    color: #FFFFFF;
}

.elementor-counter {
    align-items: stretch;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}

.elementor-counter-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding-top: 5vh;
    color: #FFFFFF;
}

.elementor-counter-number-wrapper {
    display: flex;
    font-size: 69px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
}

.elementor-counter .elementor-counter-number-prefix {
    flex-grow: var(--counter-prefix-grow, 1);
    text-align: end;
    white-space: pre-wrap;
    font-size: 40px;
    font-weight: 400;
}

.number {
    flex-grow: var(--counter-number-grow, 0);
    font-size: 40px;
    font-weight: 400;
}

.elementor-counter-number-suffix {
    flex-grow: var(--counter-suffix-grow, 1);
    text-align: start;
    white-space: pre-wrap;

}

#aliados #numeros {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 10vh auto 10vh auto;
}

.cuadronumero .counter {

    font-size: 2.5rem;
    padding-bottom: 3rem;
}

.cuadronumero {
    width: 11vw;
    height: 16vh;
    border: solid 1px #DEDEDE;
    padding: 60px 0px 20px 0px;

}

.cuadronumero P {
    margin-top: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

/*--------Section 2 aliados----------*/
#aliados {
    scroll-snap-align: start;
}

.slidertext {
    color: #444444;
}

#slider {
    width: 75vw;
    height: 20vh;
    margin: 0 auto 0vh auto;
    overflow: hidden;
    opacity: .6;
}

#slider #slide-track {
    display: flex;
    align-items: center;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(260px * 54);
    height: 100%;
}

#slider .slide {
    width: 200px;
    margin: 0 30px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slider .slide img {
    width: 100%;
}


@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-260px * 27));
        transform: translateX(calc(-260px * 27));
    }
}

#banimg {
    height: 70vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#banimg img {
    width: 100%;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .second .bg h2 {
        font-size: 20px;
    }

    .second .bg h3 {
        font-size: 16px;
    }

    .number {
        font-size: 20px;
    }

    .elementor-container {
        flex-wrap: wrap;
        width: 80%;
    }

    .elementor-widget-container {
        padding: 2vh 0 2vh 0;
    }

    .elementor-column {
        width: 50%;
        height: 100%;

    }

    .elementor-counter-title {
        padding-top: 2vh;
        min-height: 35px;
    }

    #slider .slide {
        margin: 0 10px;
    }

    #slider .slide img {
        width: 50%;
        height: auto;
    }

}

@media only screen and (min-device-width : 481px) and (max-device-width : 1023px) {
    .second .bg h2 {
        font-size: 32px;
    }

    .second .bg h3 {
        font-size: 18px;
    }

    .number {
        font-size: 32px;
    }

    .elementor-container {
        flex-wrap: wrap;
        width: 60%;
    }

    .elementor-widget-container {
        padding: 2vh 0 2vh 0;
    }

    .elementor-column {
        width: 50%;
        height: 100%;

    }

    .elementor-counter-title {
        padding-top: 2vh;
        min-height: 35px;
    }

    #slider .slide {
        margin: 0 10px;
    }

    #slider .slide img {
        width: 50%;
        height: auto;
    }

}

/*--------Section 3----------*/
.third .bg {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(/img/renderCapitalcenter2.JPG);
}

.third .visible {
    justify-content: flex-start;
}

.third .container-third-heading {
    margin-top: 5%;
}

.third h3 {
    font-size: 22px;
    min-height: 50px;
}

.modelop {
    margin-bottom: 60px;
}

.logscontainer {
    position: absolute;
    width: 100%;
    height: 40%;
    top: 60%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    background: linear-gradient(transparent, #063E40, #063E40);
    background: linear-gradient(0deg, rgba(6, 62, 64) 0%, rgba(6, 62, 64 0.0) 100%);

}

.logscontainer h3 {
    font-size: 20px;
}

.logos-text {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logsback {
    position: relative;
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;

}

.logowithdescription {
    display: block;
    width: 33%;
    height: 100%;
    margin: 10px;
}

.logo {
    display: block;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
}

#edglogo {
    background-image: url(/img/SVG/edgLogo.svg);
}

#centralclogo {
    background-image: url(/img/SVG/CentralCLogo.svg);
}

#allpropertylogo {
    background-image: url(/img/SVG/allPropertyLogo.svg);
}

.logosdescriptioncontainer {
    display: flex;
    justify-content: center;
    margin-bottom: 5vh;

}

.logosdescriptioncontainer h3 {
    color: #ffffff;
    text-align: center;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .third h3 {
        font-size: 16px;
    }

    .third .container-third-heading {
        margin-top: 15%;
    }

    .logscontainer {
        height: 50%;
        top: 50%;
        background: linear-gradient(transparent, #063E40, #063E40, #063E40, #063E40, #063E40);
        background: linear-gradient(0deg, rgba(6, 62, 64) 0%, rgba(6, 62, 64) 80%, rgba(6, 62, 64 0.0) 100%);
    }

    .logsback {
        flex-direction: column;
        justify-content: flex-start;
    }

    .logowithdescription {
        height: 20%;
        width: 90%;
    }

    .logowithdescription h3 {
        font-size: 12px;
        min-height: auto;
    }

    .logsback {
        height: 100%;
    }

    .logosdescriptioncontainer {
        margin-bottom: 0;
    }

    .logo {
        height: 10vh;
        background-size: 30%;
    }
}

@media only screen and (min-device-width : 481px) and (max-device-width : 1023px) {
    .logscontainer {
        height: 50vh;
        top: 50vh;
    }

    .logo {
        background-size: 60%;
    }

    .logowithdescription h3 {
        min-height: 35px;
    }

    .logosdescriptioncontainer {
        margin-bottom: 20px;
    }
}

/*--------Section 4----------*/
.fourth .bg {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url('/img/plazaBq3.JPG');
    justify-content: flex-start;
}

.container-fourth-heading {
    margin-top: 20vh;
}

.portafolio-container {
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(40px);
    transition: opacity 1s ease-out;
    z-index: 4;
}

#fourthHeading {
    text-transform: uppercase;
}

#portafolio-container {
    visibility: hidden;
    opacity: 0;
    display: none;
}

#top-portfolio {
    width: 100vw;
    height: 7vh;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10vh;
}

.portfolioLogos {
    width: 60%;
    height: 10%;
    margin: 10vh 0;
    display: flex;
    opacity: 0.7;
}

.portfolioLogo {
    width: 33%;
    height: 100%;
    margin: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.portfolioLogo:nth-child(1) {
    background-image: url('/img/capitalCenter_logo_w.svg');
}

.portfolioLogo:nth-child(2) {
    background-image: url('/img/laEsquinaIrapuato_logo_w.svg');
}

.portfolioLogo:nth-child(3) {
    background-image: url('/img/amate_logo_w.svg');
}

.portfolio-back {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
}

#canvas-portfolio {
    width: 50%;
    height: 100%;
    scroll-behavior: smooth;
    scroll-snap-stop: always;
    transition: all 1s ease-out;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.canvas-description {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5.208vw;
}

.text-canvas-description {
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #FAFAFA;
}

.portafolio-container h2 {
    width: auto;
    font-size: 2.5em;
    font-weight: normal;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 60px;
    position: relative;
    transition: opacity 1s ease-out;
}

.portafolio-container p,
.portafolio-container li {
    font-family: 'Sofia Pro ExtraLight';
    font-weight: 10;
    text-transform: none;
}

.portfolio-p-div {
    width: 100%;
    display: block;
}

.portfolio-p-div ul {
    margin: 2vh 0;
    list-style: none;
}

.portfolio-p-div ul li {
    padding: 3vh 4vw;
    background-repeat: no-repeat;
    background-position: left;
    background-size: 8%;
}

#list1 {
    background-image: url(/img/SVG/icono_number_1.svg);
}

#list2 {
    background-image: url(/img/SVG/icono_number_2.svg);
}

#list3 {
    background-image: url(/img/SVG/icono_number_3.svg);
}

#list4 {
    background-image: url(/img/SVG/icono_number_4.svg);
}

#portfolio p {
    transition: opacity 1s ease-out;
}

.text-canvas-description {
    text-align: start;
}

.portfolio-icons {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.div-icon {
    display: block;
    width: 5vw;
    height: 20vh;
    margin: 0 30px;
    color: transparent;
    opacity: .5;
    transition: opacity 1s ease-out;

    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: -9999px -9999px;
}

.div-icon-selected {
    color: #063E40;
    opacity: 1;
    background-position: 0 75%;
}

.portfolio-icons a {
    display: block;
    width: 100%;
    height: 50%;
    margin-bottom: 0px;
    cursor: pointer;
}

.portfolio-icons a svg {
    height: 100%;
    width: auto;
}

.div-icon span {
    margin-top: 10px;
    display: block;
    text-indent: -99999px;
}

#div-icon1 {
    background-image: url(/img/capitalCenter_tittle.svg);
}

#div-icon2 {
    background-image: url(/img/laEsquinaIrapuato_tittle.svg);
}

#div-icon3 {
    background-image: url(/img/amatte_tittle.svg);
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .portfolioLogos {
        width: 90%;
        height: 15%;
        margin: 10vh 0;
        display: flex;
        opacity: 0.6;
    }

    .portfolioLogo {
        width: 33%;
        height: 100%;
        margin: auto;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 60%;
    }

    .portfolioLogo:nth-child(1) {
        background-image: url('/img/capitalCenter_logo_w.svg');
    }

    .portfolioLogo:nth-child(2) {
        background-image: url('/img/laEsquinaIrapuato_logo_w.svg');
    }

    .portfolioLogo:nth-child(3) {
        background-image: url('/img/amate_logo_w.svg');
    }






    #canvas-portfolio {
        position: fixed;
        width: 100%;
        height: 100%;
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .4);
    }

    .canvas-description {
        width: 87%;
        margin-bottom: 13%;
    }

    .text-canvas-description {
        z-index: 3;
        width: 100%;
        height: 100%;
        font-size: .7em;
    }

    #h2-portfolio {
        font-size: 1.3em;
        margin-top: 0;
        margin-bottom: 2vh;
    }

    .portfolio-p-div ul li {
        padding: 2vh 0 2vh 10vw;
        background-size: 12% auto;
    }

    .portfolio-icons {
        width: 80%;
        justify-content: center;
    }

    .div-icon-selected {
        opacity: .9;
        background-size: 100% auto;
    }

    .div-icon {
        width: 100%;
        margin: 0 4vw;
    }

    #top-portfolio {
        display: none;
        margin: 3vh 1vh;
        z-index: 8;
    }

}

@media only screen and (min-device-width : 481px) and (max-device-width : 1023px) {
    #canvas-portfolio {
        position: fixed;
        width: 100%;
        height: 100%;
        box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .4);
    }

    .canvas-description {
        width: 80%;
        z-index: 7;
    }

    .portfolio-icons a svg{
        height: 70%;

    }
    .portfolio-icons {
        width: 60%;
        justify-content: center;
    }
     #top-portfolio {
        display: none;
        margin: 3vh 1vh;
        z-index: 8;
    }

}