@font-face {
    font-family: Quicksand;
    src: url(../fonts/AtomicAge-Regular.ttf);
}

.body {
    font-family: "Quicksand";
    transition: 0.5s;
}

#Productos {
    margin-top: 100px;
}

#Beneficios {
    margin-top: 100px;
}

.BG {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url("../assets/Images/BG.jpg");
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.DefaultBG {
    font-family: 'Quicksand';
    width: 100%;
    height: 100%;
    background-size: cover;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center;
}

.Header {
    position: fixed;
    top: 0;
    display: flex;
    width: 100%;
    background-color: var(--TransparentBG);
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.Title-img {
    margin: 10px;
    width: 300px;
}

.NavBar {
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
}

#Hiden {
    transition: 0.5s;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 0px;
    height: 0px;
}

.Icon {
    margin: 10px;
    fill: white;
    width: 40px;
    height: 40px;
    transition: 0.5s;
}

.Icon:hover {
    margin-top: 0;
    margin-bottom: 0;
    width: 50px;
    height: 50px;
}

.Button-Text {
    font-family: "Quicksand";
    color: white;
    font-size: 15px;
    margin-left: 10px;
    margin-right: 10px;
    transition: 0.5s;
    margin-bottom: 20px;
}

.Ref:hover .Button-Text {
    font-size: 20px;
    margin-bottom: 10px;
}

.Content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    position: static;
    flex-direction: column;
}

.Presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
}

.Main-img {
    width: 50%;
}

.Title {
    margin: 0;
    color: white;
    font-size: 70px;
}

.Social {
    height: 60px;
    display: flex;
    margin-bottom: 200px;
}

.Ref {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.BG-Color {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--Blue);
    box-sizing: border-box;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 40px;
    padding-bottom: 40px;
    justify-content: center;
    align-items: center;
}

.BG-1 {
    width: 60%;
    background-color: var(--TransparentBG);
    box-sizing: border-box;
    padding: 30px;
    backdrop-filter: blur(2px);
}

.BG-Yucatan {
    display: flex;
    background-image: url("../assets/Images/Yucatan.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    justify-content: flex-start;
    align-items: start;
    box-sizing: border-box;
    padding-left: 150px;
}

.Title2 {
    margin: 0px;
    color: white;
    font-size: 40px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.Title3 {
    color: white;
    font-size: 20px;
    margin: 0;
    text-align: center;
    font-family: "Quicksand";
}

.Text {
    color: white;
    text-align: start;
    font-size: 30px;
}

.Center {
    width: 70%;
    font-size: 60px;
    align-items: center;
    text-align: center;
}

.WhiteLine {
    background-color: white;
    width: 100%;
    height: 5px;
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 5px;
}

.Section {
    margin-top: 100px;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.Section1 {
    display: flex;
    background-color: var(--TransparentBG);
    border-radius: var(--Border);
    margin-left: 15px;
    margin-right: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: column-reverse;
    height: 250px;
    max-width: 300px;
    min-width: 300px;
    width: 300px;
}

.SectionInfo {
    border-bottom-left-radius: var(--Border);
    border-bottom-right-radius: var(--Border);
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    background-color: var(--TransparentBG);
    backdrop-filter: Blur(1px);
}

.Scroll {
    display: flex;
    flex-direction: row;
    width: 80%;
    overflow-x: scroll;
    scrollbar-width: none;
    transition: 0.5s;
}

.IMG1 {
    width: auto;
    height: 300px;
    border-radius: var(--Border);
    position: sticky;
}

.BigIMG {
    width: 10%;
    height: auto;
}

.SmallIMG {
    width: auto;
    height: 130px;
    transition: 0.5s;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.5));
}

.SmallP:hover .SmallIMG {
    height: 150px;
}

.Products {
    width: 100%;
}

.Product {
    margin-top: 20px;
    width: 100%;
}

.PList {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow-x: scroll;
    align-items: start;
    scrollbar-width: none;
}

.SmallP {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.Details {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#ChargersSec {
    display: flex;
}

#InvertersSec {
    display: none;
}

#BatteriesSec {
    display: none;
}

#BatteryManagmentSec {
    display: none;
}

#BatteryMonitorsSec {
    display: none;
}

#SolarChargeSec {
    display: none;
}

.wall {
    background-image: url(../assets/Images/Wall.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.PanelesSolares {
    background-image: url(../assets/Images/PanelesSolares.jpg);
}

.InversorDeCorriente {
    background-image: url(../assets/Images/InversorDeCorriente.jpg);
}

.CasaOEdificio {
    background-image: url(../assets/Images/Casa.jpg);
}

.Medidor {
    background-image: url(../assets/Images/Medidor.jpg);
}

.InstalacionCFE {
    background-image: url(../assets/Images/InstalacionCFE.jpg);
}

.ReciboLuz {
    background-image: url(../assets/Images/ReciboLuz.jpg);
}

.Garantia {
    background-image: url(../assets/Images/Garantia.jpg);
}

.ISR {
    background-image: url(../assets/Images/ISR.jpg);
}

.Mantenimiento {
    background-image: url(../assets/Images/Mantenimiento.jpg);
}

.Examples {
    width: 100%;
    display: flex;
    overflow-x: scroll;
    scrollbar-width: none;
}

.Video {
    margin-top: 30px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.Example {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.Frame {
    width: 1000px;
    margin-right: 100px;
    height: 400px;
    border-radius: var(--Border);
    border: 0;
}

.Frame1 {
    width: 100%;
    height: 600px;
    border-radius: var(--Border);
    border: 0;
}

.FullImg {
    transition: 0.5s;
    display: flex;
    width: 70%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.FullImg:hover {
    width: 80%;
}

.No-Button {
    background-color: var(--NoBG);
    margin: 0;
    border: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.ProductBtn {
    border-radius: var(--Border);
    border-style: none;
    background-color: var(--NoBG);
    border-color: white;
    transition: 0.5s;
    cursor: pointer;
}

.ProductBtn:hover {
    border-style: solid;
}

#ShowBarBTN {
    display: flex;
}

#HideBarBTN {
    display: none;
}

.Title-BG {
    display: flex;
    flex-direction: column;
    margin: 0;
    border-radius: var(--Border);
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    margin: 50px;
    width: 80%;
    align-items: center;
}

.Full {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.SectionCentered {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
}

.Info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.Copyright {
    width: 100%;
    background-color: var(--Dark);
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.CreditInfo {
    margin: 50px;
}

#Contacto {
    background: var(--Green);
}

/* Size medium */
@media (max-width: 800px) {

    .Frame1 {
        height: 500px;
    }

    .Title {
        font-size: 50px;
    }

    .Title2 {
        font-size: 30px;
    }

    .Text {
        font-size: 20px;
    }

    .BG-1 {
        width: 70%;
    }

    .BG-Yucatan {
        padding-left: 100px;
    }

    .SmallIMG {
        height: 100px;
    }

    .SmallP:hover .SmallIMG {
        height: 130px;
    }

    .CreditInfo {
        margin: 10px;
    }

    .Title3 {
        font-size: 15px;
    }
}


/* Size small */
@media (max-width: 550px) {

    .Frame1 {
        height: 200px;
    }

    .Main-img {
        margin-top: 100px;
    }

    .Title {
        font-size: 30px;
    }

    .Title2 {
        font-size: 20px;
    }

    #Hiden {
        display: flex;
        align-items: center;
        flex-direction: column;
        transition: 0.5s;
    }

    .NavBar {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .Text {
        font-size: 10px;
    }

    .BG-1 {
        width: 100%;
    }

    .BG-Yucatan {
        padding-left: 0px;
    }

    .SmallIMG {
        height: 80px;
    }

    .SmallP:hover .SmallIMG {
        height: 100px;
    }

    .Copyright {
        flex-direction: column;
    }

    .Title3 {
        font-size: 10px;
    }
}

/*animacion*/
@keyframes show {
    from {
        opacity: 0;
        scale: 50%;
    }

    to {
        opacity: 1;
        scale: 100%;
    }
}

.animation {
    view-timeline-name: --reveal;
    animation-name: show;
    animation-fill-mode: both;
    animation-timeline: --reveal;
    animation-range: entry 0% cover 30%;
}

/*Loading*/
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: 1s all;
    opacity: 0;
}

.loading.show {
    opacity: 1;
}

.loading .spin {
    border: 3px solid hsla(185, 100%, 62%, 0.2);
    border-top-color: #3cefff;
    border-radius: 50%;
    width: 3em;
    height: 3em;
    animation: spin 1s linear infinite;
}

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