@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::after, ::before {
    box-sizing: border-box;
}

body {
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
}

section[id] {
    scroll-margin-top: 100px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

main {
    display: block;
}

/* header style start */
.header {
    position: fixed;
    background-color: #fff;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99;
    padding: 7px;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease-in;
}

header.header-scroll {
    background-color: #fff;
}

.header .header-container {
    max-width: 1170px;
    margin: auto;
}

.header  .header-container .header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header > .header-container > .header-main > .logo {
    display: flex;
    padding: 0 15px;
}

.header > .header-container > .header-main > .logo > a > img {
    width: 100px;
    max-width: 100%;
    height: 50px;
}

.header > .header-container > .header-main > .logo p {
    display: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 2;
    margin-left: 0.7rem;
    color: #000000;
    text-transform: uppercase;
}

.header > .header-container > .header-main > .logo p > span {
    color: #c20e1a;
}

.header .header-container .nav-menu {
    padding: 0 15px;
}

.header .header-container .nav-menu  .menu-item {
    display: inline-block;
    margin-left: 25px;
    position: relative;
    text-transform: uppercase;
}

.header .header-container .nav-menu .menu-item > a {
    display: block;
    padding: 12px 10px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header .open-nav-menu {
    height: 34px;
    width: 40px;
    margin-right: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px dotted #bd1d289f;
    padding: 0 10px;
}

.header .open-nav-menu span {
    display: block;
    height: 3px;
    width: 25px;
    position: relative;
    background-color: #c20e1a;
}

.header .open-nav-menu span:before,
.header .open-nav-menu span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c20e1a;
    box-sizing: border-box;
}

.header .open-nav-menu span:before {
    top: -7px;
}
  
.header .open-nav-menu span:after {
    top: 7px;
}

.header .close-nav-menu {
    height: 40px;
    width: 40px;
    margin: 5px 0 15px 15px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.header .close-nav-menu img {
    width: 20px;    
}

.header .menu-overlay {
    position: fixed;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.871);
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.header .new-brands {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    margin: 0 auto;   
}

.header .new-brands .brand > img {
    width: 80px;
}
/* Header style end */

/* Main */
main.home {
    margin-top: -30px;
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
}

/* Hero section start */
.hero-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: #000000;
    overflow: hidden;
    height: calc(100vh - 53px);    
    max-height: 1080px;
}

@keyframes zoomEffect {
    0% {transform: scale(1, 1)}
    50% {transform: scale(2, 2)}
    100% {transform: scale(1, 1)}
}

.hero-container::before {
    background: no-repeat center/cover url("../img/humoazulbaner.png");
    content: "";
    display: inline-block;
    height: 100%;
    opacity: 0.49;
    position: absolute;
    top: 0;
    width: 100%;
    animation: 60s ease 0s normal none infinite running zoomEffect;
}

.hero-container .hero-content {
    display: flex;
    flex-direction: column;
    margin-left: 7%;
    z-index: 11;
}

.hero-container .hero-content > h1 {
    color: #fff;
    font-size: 30px;
    margin-bottom: .5rem;
    margin-top: 0;
    font-weight: 300;
    line-height: 1.2;
}

.hero-container .hero-content .hero-text {
    margin-bottom: 3rem;
}

.hero-container .hero-content .hero-text > small {
    width: 100%;
    text-align: center;
    display: inline-block;
    padding: 10px 1%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    color: #000;
    font-size: 12px;
    background-color: #c20e1a;
}

.hero-container img {
    display: none;
}

.hero-container .hero-content a.btn-cotiza {
    border: 3px solid #fff;
    width: fit-content;
    padding: 15px 5%;
    border-radius: 10rem;
    color: #fff;
    background-color: transparent;
    text-transform: uppercase;    
}

.hero-container .hero-content a.btn-cotiza:hover {
    background-color: #fff;
    color: #000;
    font-weight: bold;
}
/* Hero section end */

/* Converter app stile */
#coinConverterApp {
    display: none;
    height: 53px;
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    font-family: 'Helvetica';
    font-size: 22px;
}

#coinConverterApp .app-container {
    overflow-x: hidden;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

#coinConverterApp .app-container .app-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -15px;
}

#coinConverterApp .app-container .app-content .app-data {
    display: flex;
    margin-left: 2.5rem;
}

#coinConverterApp .app-container .app-content .app-data > span {
    display: flex;
    align-items: center;
}

#coinConverterApp .app-container .app-content .app-data > span img {
    max-width: 100%;
    height: auto;
    margin-right: 1.5rem;
    margin-left: 0.5rem;
}

#coinConverterApp .app-container .app-content .app-data #app-fecha {
    color: #989696;
    margin-right: 3rem;
}

#coinConverterApp .app-container .app-content .app-data .app {
    margin-right: 3rem;
}

#coinConverterApp .app-container .app-content .app-data .app > span:first-child {
    font-family: 'Verdana';
    font-weight: bold;
    color: #989696;
}

#coinConverterApp .app-container .app-content .app-ref a {
    color: #ffffff;
    font-size: 1rem;
    margin-right: 1.5rem;
}

/* Mision section style start */
#mision {
    padding: 50px 0;
}

#mision .mision-container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

#mision .mision-container .mision-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
}

#mision .mision-container .mision-content .mision-tittle {
    margin: 0 auto 3rem auto;
}

#mision .mision-container .mision-content .mision-tittle > h4 {
    font-size: 48px;
    color: #4c4c4c;
    text-transform: uppercase;
    font-weight: 400;
}

#mision .mision-container .mision-content .mision-body {
    flex-basis: 0;
    flex-grow: 1;
    width: 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

#mision .mision-container .mision-content .mision-body > p {
    color: #4c4c4c;
    font-size: 32px;
    text-align: center;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 1rem;
} 
/* Mision section style end */

/* Products Section style start */
#products {
    display: block;
    padding: 50px 0;
}

#products .products-container {
    width: 100%;
    margin: 0 auto;
}

#products .products-container .products-content {
    display: inline;
}

#products .products-container .products-content .products-tittle {
    margin: 0 auto 3rem auto;
}

#products .products-container .products-content .products-tittle > h4 {
    font-size: 48px;
    color: #4c4c4c;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

#products .products-container .products-content .products-tittle > h3 {
    color: #4c4c4c;
    font-size: 30px;
    text-align: center;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 1rem;
}

#products .products-container .products-content .products-gallery {
    display: flex;
    flex-flow: row wrap;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
    width: 100%;
    max-width: 1920px;
    padding: 0;
}

#products .products-container .products-content .products-gallery .gallery-item {
    position: relative;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

#products .products-container .products-content .products-gallery .gallery-item > figure {
    height: 100%;
    
}

#products .products-container .products-content .products-gallery .gallery-item > figure > img {
    max-width: 100%;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

#products .products-container .products-content .products-gallery .gallery-item > figure > .gallery-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    opacity: 0;
    background: rgba(255, 255, 255, 0.6);
    transition: opacity 0.25s ease;
    text-align: center;
}

#products .products-container .products-content .products-gallery .gallery-item > figure > .gallery-box:hover {
    opacity: 1;
    transition: all 0.5s ease-out;
}

#products .products-container .products-content .products-gallery .gallery-item > figure > .gallery-box > .product-name {
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #c20e1a;
}
/* Products section style end */



/* Responsive */

/* Tablet view */
@media (min-width: 576px) {

    section[id] {
        scroll-margin-top: 50px;
    }
    
    /* Header section */
    .header .new-brands {
        flex-direction: row;
        flex: 0 50%;
        gap: 10px;
    }

    .header .new-brands .brand > img {
        width: 120px;
        height: 100%;
       
    }

    .header .new-brands .css,
    .header .new-brands .sicep {
        margin-top: 5px;
    }

    .header .new-brands .chilep {
        margin-left: 7px;
    }

    .header .new-brands .sicep img {
        width: 70px;
    }

    /* Hero section */
    main.home {
        margin-top: 0;
        padding-top: 5.6rem;
    }

    /* Mision section */
    #mision .mision-container {
        max-width: 540px;
    }
    
    /* Products section */
    #products .products-container .products-content .products-gallery .gallery-item {
        flex: 0 0 50%;
        max-width: 50%;
        height: 350px;
    }

    #products .products-container .products-content .products-gallery .gallery-item > figure > img {
        height: 100%;
    }

    #products .products-container .products-content .products-gallery .last {
        margin: 0 auto;
    }

}

@media (min-width: 768px) {
    /* Header */
    .header > .header-container > .header-main > .logo p {
        display: block;
    }
    
    .header .new-brands {
        height: 100%;
        margin: 0 auto;
    }

    /* Mision section */
    #mision .mision-container {
        max-width: 720px;
    }
}

@media (max-width: 767px) {
    /* Hero section */
    .hero-container::before {
        background: no-repeat center/cover url("../img/rino_fondo.png");
        opacity: 1;
        animation: normal;
        height: 100%;
    }
}

/* Desktop view */
@media (min-width: 992px){
    .header {
        background-color: rgba(255, 255, 255, 0.7);
    }

    .header .new-brands .brand {
        width: 150px;
    }

    /* Hero section */
    .hero-container img {
        display: block;
        opacity: 1;
        z-index: 10;
        min-height: 100vh;
        max-height: 1080px;
        width: 100vh;
    }

    .hero-container .hero-content > h1 {
        font-size: 56px;
    }

    .hero-container .hero-content .hero-text > small {
        font-size: 22px;
    }

    /* Coin Converter App */
    #coinConverterApp {
        display: block;
    }

    /* Mision section */
    #mision .mision-container {
        max-width: 960px;
    }

    #products .products-container .products-content .products-gallery .gallery-item {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
    
}



@media (min-width: 1200px) {
    /* Header */
    .header {
        width: 100%;
        padding: 0;
    }

    section[id] {
        scroll-margin-top: 50px;
    }

    .header .header-container {
        max-width: 100%;
    }

    .header > .header-container > .header-main > .logo {
        padding: 5px 0px 5px 30px;
        width: 50%;
    }
    
    .header > .header-container > .header-main > .logo > a > p {
        text-align: justify;
        line-height: 1.5;
    }

    .header .header-container .nav-menu .menu {
        display: flex;
        flex-direction: row;       
    }

    .header .header-container .nav-menu .menu .menu-item {
        margin: 0 5px;
    }

    .header .header-container .nav-menu .menu-item > a {
        color: #000;
        font-size: 17px;
    }

    .header .new-brands {
        justify-content: center;  
        margin: 0;
        flex: auto;  
    }

    .header .new-brands .brand {
        width: auto;
        height: 100%;
    }

    .header .new-brands > .css > img {
        height: 65px;
        margin-right: 40px;
    }

    .header .new-brands > .sicep > img {
        width: 95px;
        height: 60px;
        margin-right: 40px;
    }

    .header .new-brands > .chilep > img {
        height: 65px;
        margin-left: 0;

    }

    /* Main */
    main.home {
        padding-top: 0;
    }

    /* Mision section */
    #mision .mision-container {
        max-width: 1140px;
    }



    
}

@media (max-width: 1200px) {
    /* Header */
    .header .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .header .nav-menu {
        position: fixed;
        right: -280px;
        visibility: hidden;
        width: 280px;
        height: 100%;
        top: 0;
        overflow-y: auto;
        z-index: 1000;
        padding: 15px 0;
        transition: all 0.5s ease;
    }

    .header .nav-menu.open {
        visibility: visible;
        right: -30px;
    }

    .header .menu > .menu-item {
        display: block;
        margin: 0;
    }

    .header .menu > .menu-item > a {
        color: #ffffff;
        padding: 12px 15px;
        border-bottom: 1px solid #c20e1a98;
    }

    .header .menu > .menu-item:first-child > a {
        border-top: 1px solid #c20e1a98;
    }

    .header .menu > .menu-item > a .plus:before,
    .header .menu > .menu-item > a .plus:after {
    background-color: #ffffff;
  }

  .header .close-nav-menu,
  .header .open-nav-menu {
    display: flex;
    background: inherit;
  }

  /* Coin Converter App */
  #coinConverterApp {
    font-size: 17px;
  }
}



