* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body::-webkit-scrollbar {
    display: none;
}

header {
    width: 100%;
    background-color: #00509F;
    display: flex;
    align-items: center;
    padding:0 10px;
}

header nav {
    width: 100%;
    background-color: #00509F;
}

header a img.lazy {
    margin-top: 10px;
}

header nav a.nav-link .active {
	background-color: #00509F;
	color: #fff;
}

header nav a.nav-link:hover {
	background-color: rgb(68, 114, 160);
}

nav.navbar-expand-lg {
    padding: 0 10px;

    display: flex;
    flex-direction: row; 
}

div.collapse,
div.navbar-collapse {
    justify-content: flex-end;
}

a.nav-link {
    color: #fff;
}

#btn-menu,
#btn-icon{
    cursor: pointer;
    color: #fff;
    display: none;
}

.menu ul {
    flex-direction: row;
    justify-content: flex-end;
    align-content: center;
    background: #00509F;
    display: flex;
    list-style: none;
}

nav ul li.nav-item {
    padding: 0 25px 0 0;
} 

.menu a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
}

div#back {
    width: 100%;
    height: auto;
    margin: 2% 0 0 2%;
    padding: 2%;
    font-weight: 700;
    color: #00509F;

    display: flex;
    justify-content: flex-start;
    flex-flow: row;
    flex-direction: row;
}

div#back a {
    padding: 5px; 
    margin-right: 1%;
    font-weight: 700;
    color: #00509F;
}

/***** CONTAINER *****/

div#contProduct {
    width: 55%;
    height: auto;
    font-size: 18px;
    text-transform: capitalize;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

div#contProduct div.images {
    height: auto;
    padding: 3%;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

div#contProduct div.images img.lazy {
    max-width: 100%;
    max-height: 300px;
    flex-grow: 1;
}

div.productData {
    width: 100%;
    padding: 3%;
    display: flex;
    flex-direction: column;
}

div.productData div.title {
    font-weight: bolder;
    font-size: 20px;
    margin: 10% 10% 10% 0;
    color: #333;
    text-align: left;
}

div.productData span.infoText {
    color: #333;
    font-weight: bolder;
}

/***** FOOTER *****/

footer {
    width: 100%;
    background: #333;
    color: #fff;
    position: fixed;
    bottom: 0;
    text-align: center;
    font-size: 13px;
    padding: 8px;

    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

/***** MEDIA QUERY *****/

@media screen and (max-width: 375px) and (min-width: 320px){

    nav.navbar-expand-lg {
        justify-content: flex-end;
        align-items: center;
    }

    nav a.navbar-brand{
        margin: 0;
        width: 80%;
    } 

    nav a img.lazy {
        width: 40%;
        height: 15%;
        padding: 8px 0 0 10px;
    }

    .navbar-dark .navbar-toggler {
        color: rgba(255,255,255, .5);
        border-color: rgba(255,255,255, .1);
    }

    div#contProduct {
        height: 300px;
        flex-direction: column;
        justify-content: center;
    }

    div#contProduct div.images img.lazy {
        max-height: 200px;
    }

    footer {
        font-size: 13px;
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) and (min-width: 376px){

    nav.navbar-expand-lg {
        justify-content: flex-end;
        align-items: center;
    }

    nav a.navbar-brand{
        margin: 0;
        width: 80%;
    } 

    nav img.lazy {
        padding: 10px 0 0 8px;
        width: 35%;
        height: 10%;
    }
    
    .navbar-dark .navbar-toggler {
        color: rgba(255,255,255, .5);
        border-color: rgba(255,255,255, .1);
    }

    div#contProduct {
        height: 300px;
        flex-direction: column;
        justify-content: center;
    }

    div#contProduct div.images img.lazy {
        width: 70%;
    }

    footer {
        font-size: 13px;
        flex-direction: column;
    }
}

@media (max-width:768px){

    header {
        justify-content: space-between;
    }

    header nav a.nav-link:hover {
        background-color: rgb(68, 114, 160);
    }

    header a img.lazy {
        padding: 5px 0 0 10px;
        margin: 0; 
    }

    #btn-icon{
        display: block;
    }

    .menu {
        position: absolute;
        top: 58px;
        left: 0;
        width: 100%;
        transform: translateY(-200%);
        transition: all 0.3s;
    }

    .menu ul {
        flex-direction: column;
        padding-left:10px; 
    }

    #btn-menu:checked ~ .menu {
        transform: translateY(0%);
    }
}

@media screen and (max-width: 768px) and (min-width: 641px){

    nav.navbar-expand-lg {
        justify-content: flex-end;
        align-items: center;
    }

    nav a.navbar-brand{
        margin: 0;
        width: 90%;
    } 

    nav a img.lazy {
        padding: 10px 0 0 10px;
        width: 20%;
        height: 8%;
    }
    
    .navbar-dark .navbar-toggler {
        color: rgba(255,255,255, .5);
        border-color: rgba(255,255,255, .1);
    }

    div#contProduct {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    footer {
        font-size: 13px;
        flex-direction: column;
    }
}

@media screen and (max-width: 1024px) and (min-width: 769px){

    nav.navbar-expand-lg {
        justify-content: flex-end;
        align-items: center;
    }

    nav a.navbar-brand {
        margin: 0;
        width: 60%;
    }

    nav a img.lazy {
        padding: 10px 0 0 10px;
        width: 20%;
        height: 5%;
    }
    
    .navbar-dark .navbar-toggler {
        color: rgba(255,255,255, .5);
        border-color: rgba(255,255,255, .1);
    }
    
    footer {
        font-size: 13px;
        flex-direction: column;
    }
}

@media screen and (max-width: 1440px) and (min-width: 1025px){
    
    nav a img.lazy {
        padding: 10px 0 0 10px;
        width: 25%;
        height: 5%;
    }
    
}

@media screen and (max-width: 2560px) and (min-width: 1441px){
    
    nav a img.lazy {
        padding: 10px 0 0 10px;
        width: 30%;
        height: 5%;
    }
}