@font-face {
    font-family: 'icomoon';
    src:  url('./fonts/icomoon.eot?9rg689');
    src:  url('./fonts/icomoon.eot?9rg689#iefix') format('embedded-opentype'),
      url('./fonts/icomoon.ttf?9rg689') format('truetype'),
      url('./fonts/icomoon.woff?9rg689') format('woff'),
      url('./fonts/icomoon.svg?9rg689#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }

@font-face {
    font-family: 'titillium';
    src: url('./fonts/titilliumweb-regular-webfont.woff2') format('woff2'),
         url('./fonts/titilliumweb-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'titillium-bold';
    src: url('./fonts/titilliumweb-bold-webfont.woff2') format('woff2'),
         url('./fonts/titilliumweb-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-biomecanica-email-icon:before {
    content: "\e900";
  }
  .icon-biomecanica-instagram-icon:before {
    content: "\e901";
  }
  .icon-biomecanica-whatsapp-icon:before {
    content: "\e902";
  }
  .icon-location:before {
    content: "\e947";
  }
  .icon-menu:before {
    content: "\e9bd";
  }
  .icon-circle-up:before {
    content: "\ea41";
  }
  

:root {
    --light-blue: #20abf5;
    --fuchsia: #fb21f691;
    --dark-blue: #0512fd;
}

h1, h2, h3, h4, h5, h6, strong {
    font-family: 'titillium-bold';
    opacity: 0.8;
}

body, html {
    font-family: 'titillium', Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ebebeb;
}

.hero {
    position: relative;
    background-image: url(./imgs/studio-retiro-cover.jpg);
    background-position: center;
    height: 450px;
    background-size: cover;
    max-width: 100%;
    overflow: hidden;
}

#menu-control {
    display: none;
}

.hero img {
    width: 160px;
    height: 160px;
}

.hero-info {
    display: flex;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.3);
    width: 100%;
    padding: 0 0 1.5em 1.5em;
}

.hero .claims {
    color: #f5f5f5;
    margin-left: 1.5em;
}

.hero .claims h1 {
    margin-bottom: 0;
    font-size: 5rem;
    line-height: 0.9;
}

.hero .claims h2 {
    margin-bottom: 0;
    font-size: 2rem;
    opacity: 0.8;
    margin-top: 0;
    font-family: 'titillium';
}

.biomecanica-navegation {
    max-width: 1200px;
    margin: 10px auto;
}


.biomecanica-navegation a {
    text-decoration: none;
    margin-right: 20px;
    color: var(--dark-blue);
    font-size: 1.2em;
    display: inline-block;
}

.biomecanica-navegation a::after {
    content: '';
    height: 3px;
    width: 8%;
    display: block;
    background-color: var(--fuchsia);
    transition: width 0.3s ease;
}

.biomecanica-navegation a::first-letter {
    color: var(--fuchsia);
}

.biomecanica-navegation a:hover::after {
    width: 90%;
}

.biomecanica-section {
    color: #222;
    margin: 60px 0;
}

.biomecanica-section .section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.biomecanica-section header h3 {
    font-size: 1.7rem;
}

.biomecanica-section header h3::after {
    content: '';
    display: block;
    width: 10%;
    height: 4px;
    margin-top: 5px;
    background-color: var(--light-blue);
}

.biomecanica-section strong {
    font-weight: 600;
}

.biomecanica-section.cases {
    background-color: var(--fuchsia);
    padding: 4rem 0;
}

.biomecanica-section.cases .section-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-top: 0;
}

.biomecanica-section.cases article {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.biomecanica-section.cases figure {
    margin: 0;
}

.biomecanica-section.cases figure img {
    width: 100%;
}

.biomecanica-section.cases figure figcaption {
    margin-top: -6px;
    width: 100%;
    background-color: #20abfb;
    color: #fff;
    box-sizing: border-box;
    padding: 0.5em 1em;
    font-size: 1.2em;
    text-align: center;
    text-shadow: 0 0 4px var(--fuchsia);
}

.biomecanica-section.contact {
    margin-bottom: 0;
    background-color: #222;
    transform: translateY(100px);
}

.biomecanica-section.contact header {
    transform: translateY(-100px);
}

.biomecanica-section.contact .contact-area {
    transform: translateY(-60px);
    color: #f5f5f5;
    display: flex;
    align-items: center;
}

.social-contact { 
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    margin-left: 70px;
}

.social-contact .ico-insta,
.social-contact .ico-phone,
.social-contact .ico-mail,
.social-contact .icon-location {
    font-size: 1.7em;
}

.social-contact span {
    margin-left: 10px;
}

.contact-data ul {
    padding: 0;
    margin: 0;
}

.contact-data ul li {
    list-style: none;
    margin-bottom: 20px;
}

.biomecanica-section.contact .section-content {
    padding-top: 1px;
}

.social-contact a {
    text-decoration: none;
    color: #f5f5f5;
}

.social-contact a:hover {
    text-decoration: underline;
}

.map, .map iframe {
    max-width: 100%;
    width: 100%;
    border-radius: 16px;
}

.map {
    width: 60%;
    overflow: hidden;
    border-radius: 16px;
}

@media screen and (max-width: 1200px) {
    .biomecanica-navegation {
        padding-left: 2rem;
        box-sizing: border-box;
    }

    .hero img {
        width: 90px;
        height: 90px;
    }

    .hero .claims h1 {
        margin-bottom: 0;
        font-size: 3rem;
        line-height: 1;
    }
    
    .hero .claims h2 {
        margin-bottom: 0;
        font-size: 1.4rem;
        opacity: 0.8;
        margin-top: 0;
        font-family: 'titillium';
    }
    
    .biomecanica-section .section-content {
        max-width: 1000000px;
        padding: 0 4rem;
    }

    .biomecanica-section.cases .section-content {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 40px;
    }
}

@media screen and (max-width: 990px) {
    .biomecanica-section.contact .contact-area {
        flex-direction: column;
    }

    .contact-data {
        margin-top: 60px;
    }

    .social-contact {
        margin-left: 0;
        justify-content: center;
    }

    .map {
        width: 90%;
    }
}

@media screen and (max-width: 690px) {
    .biomecanica-navegation {
        position: fixed;
        display: flex;
        top: 0;
        left: 0;
        z-index: 2;
        width: 100%;
        background-color: #f5f5f5c5;
        margin: 0;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding-top: 7rem;
        visibility: hidden;
        height: 100vh;
        opacity: 0;
        transition: opacity 0.4s ease-in;
    }

    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open .biomecanica-navegation {
        visibility: visible;
        opacity: 1;
    }

    #menu-control {
        display: block;
        background-color: transparent;
        border: none;
        outline: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 3;
        font-size: 2.5rem;
        margin: 10px;
        color: var(--fuchsia);
        text-shadow: 0 0 1px #f5f5f5c4;
    }

    .biomecanica-navegation a {
        margin-bottom: 50px;
        font-size: 1.4em;
    }

    .hero img {
        width: 90px;
        height: 90px;
    }

    .hero .claims h1 {
        margin-bottom: 0;
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero .claims h2 {
        margin-bottom: 0;
        font-size: 1.2rem;
        opacity: 0.8;
        margin-top: 0;
        font-family: 'titillium';
    }

    .biomecanica-section.cases .section-content {
        grid-template-columns: repeat(1, 1fr);
    }

    .biomecanica-section .section-content {
        padding: 0 1.5rem;
    }

    .map {
        order: 2;
    }

    .contact .contact-data {
        order: 1;
        margin-bottom: 40px;
    }
}