@font-face {
  font-family: 'Bebas';
  font-style: normal;
  font-weight: 400;
  src: local('Bebas'),
       url(font-family/bebas/Bebas-Regular.ttf) format('truetype'),
       url(font-family/bebas/Bebas-Regular.otf) format('opentype'),
}


body{
    font-family: 'Bebas';
    margin: 0;
    padding: 0;
    background-color: white;
    font-size: 1em;
    line-height: 1em;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100vh;
    width: 100%;
}

.grid-main{
    display: grid;
    grid-template-areas: "head"
                         "main"
                         "footer";
    grid-template-rows: 10% 80% 10%;
}



.head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 2.5%;
    padding-left: 2.5%;
}

.foot{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 2.5%;
    padding-left: 2.5%;
}

.logo-ems{
    height: 100%;
}

.logo-ems img{
    padding: 0.75em;
    max-width: 100%;
    max-height: 100%;
}

.logo-ems-go{
    height: 100%;
}

.logo-ems-go img{
    padding: 0.75em;
    max-width: 100%;
    max-height: 100%;
}

.rrss-ems
{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin-right: 5%;
    margin-left: 25%;
    height: 100%;
}

.rrss-ems a{
    padding-left: 0.2em;
    padding-right: 0.2em;
}





/* Mobile devices */

@media (max-width: 950px) {
    .main{
    position: relative;
    text-align: center;
    height: 100%;
    background-image: url("../img/background/background_home_mobile.png");
    background-repeat: no-repeat;
    background-size: cover;
    }
    
    .text-1{
        display: none;
    }
    
    .main-banners-web{
        display: none;
    }
    
    .container-button-start{
        width: 5em;
        height: 5em;
        border-radius: 50%;
    }

    .btn-start-ems-go{
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }


    .container-button-1{
        position: absolute;
        top: 30%;
        transform: translateY(-50%);
        left: 40%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
    }


    #btn-img{
        border-radius: 50%;
        box-shadow: 0 10px #999;
    }

    #btn-img:active {
      background-color: #3e8e41;
      box-shadow: 0 5px #666;
      transform: translateY(4px);
    }

    .container-banners-map{
        width: 100%;
        position: absolute;
        bottom: 1em;
    }
    .text-2{
        width: 100%;
        top: 0.8em;
        position: absolute;
        background-color: #00AB8F;
        color: white;
        font-size: 1.2em;
        padding: 0.5em 1.5em 0.5em 1.5em;
    }
    #btn-map-creator{
        background-color: #00AB8F;
        border-color: #00AB8F;
        color: white;
    }

    #container-to-map-creator{
        position: absolute;
        color: #00AB8F;
        opacity: 0.6;
        width: 100%;
        bottom: 8em;
        background-color: white;
        font-size: 1em;
    }
    
}


@media (min-width: 951px) {
    .main{
        position: relative;
        text-align: center;
        height: 100%;
        background-image: url("../img/background/background_home_web.png");
        background-repeat: no-repeat;
        background-size: cover;
    }
    .text-1{
        top: 1em;
        position: absolute;
        background-color: #00AB8F;
        color: white;
        font-size: 2em;
        padding: 0.5em 1.5em 0.5em 1.5em;
    }
    .text-2{
        display: none;
    }
    
    #btn-map-creator{
        background-color: #00AB8F;
        border-color: #00AB8F;
        color: white;
    }

    #container-to-map-creator{
        position: absolute;
        color: #00AB8F;
        opacity: 0.6;
        width: 33%;
        right: 0;
        bottom: 8em;
        background-color: white;
        font-size: 1.75em;
    }
    
    .container-banners-map{
        display: none;
    }
    
    .container-main-banners-web{
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: absolute;
        bottom: 2em;
        width: 100%;
    }
    
    .container-button-start{
        width: 10em;
        height: 10em;
        border-radius: 50%;
    }

    .btn-start-ems-go{
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }


    .container-button-1{
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
    }


    #btn-img{
        border-radius: 50%;
        box-shadow: 0 15px #999;
    }

    #btn-img:active {
      background-color: #3e8e41;
      box-shadow: 0 8px #666;
      transform: translateY(4px);
    }

    
    
}







/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { ... }

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { ... }






