
* {
    margin: 0;
    padding: 0;
}
            
body {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 100vw;
    font-family: Verdana, Arial, Helvetica;
    font-size: 1.2em;
}
            
header {
    display: flex;
    flex: 1 1 100vw;
    flex: 100vw;
    background: green;
    height: 160px;
    color: white;
}
            
nav {
    display: flex;
    width: 100vw;
    height: 50px;
    background: black;
    font-size: 18px;
}
            
main {
    display: flex;
    flex: 20 1 500px;
    background: white;
    height: 100vw;
    flex-wrap: wrap;
    overflow: auto;
    align: center;
    margin-left: 30px;
    margin-right: 30px;
}
            
footer {
    width: 100vw;
    min-height: 250px;
    display: flex;
    flex-shrink: 1;
    text-align: left;
    background: green;
    color: white;
}
            
#box1 {
    float: left;
    width: 15vw;
    position: relative;
    margin-top: 18px;
    padding: 25px;
}
            
#box2 {
    float: left;
    width: 15vw;
    position: relative;
    margin-top: 18px;
    padding: 25px;
}
            
#box3 {
    float: left;
    width: 15vw;
    position: relative;
    margin-top: 18px;
    padding: 25px;
    background: yellow;
}
            
#box4 {
    float: left;
    width: 15vw;
    position: relative;
    margin-top: 18px;
    padding: 25px;
    background: gray;
}
            
#box5 {
    float: left;
    width: 15vw;
    position: relative;
    margin-top: 18px;
    padding: 25px;
    background: black;
}

footer ul {
    list-style-type: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
            
footer a {
    color: white;
    text-decoration: none;
}
            
footer a:hover {
    color: yellow;
}

h2 {
    color: green;
}
            
h3 {
    color: green;
}

.menu {
    list-style: none;
    float: left;
    color: white;
}
            
.menu li {
    position: relative;
    float: left;
    padding: 13px;
    padding-left: 40px;
}
            
.menu li a {
    color: white;
    text-decoration: none;
    display: block;
}
            
.menu li a:hover {
    color: yellow;
}
            
.menu li ul {
    position: absolute;
    top: 34px;
    background-color: black;
    display: none;
}
            
.menu li:hover ul,
.menu li.over ul {
    display: block;
    z-index: 2;
}
            
.menu li ul li {
    display: block;
    width: 200px;
    padding-bottom: 3px;
}
            
#div1 {
    float: left;
    width: 24%;
    position: relative;
    margin-top: 27px;
    margin-left: auto;
    margin-right: auto;
}
            
#div2 {
    float: left;
    width: 24%;
    position: relative;
    margin-top: 27px;
    margin-left: auto;
    margin-right: auto;
}
            
#div3 {
    float: left;
    width: 24%;
    position: relative;
    margin-top: 27px;
    margin-left: auto;
    margin-right: auto;
}
            
#div4 {
    float: left;
    width: 24%;
    position: relative;
    margin-top: 27px;
    margin-left: auto;
    margin-right: auto;
}
            
#div_logo {
    position: absolute;
    margin-top: 93px;
    margin-top: 65px;
    width: 100%;
    height: 70px;
    background: white;
}
            
#img_logo {
    position: relative;
    margin-left: 10px;
    padding: 0;
}

#linkLogin {
    position: absolute;
    margin-top: 20px;
    right: 40px;
    font-size: 1em;
    color: white;
    text-decoration: none;
}

#img_login {
    position: absolute;
    margin-top: 20px;
    right: 98px;
    width: 23px;
    height: 23px;
}

@media screen and (max-width: 480px) {
    body {
        max-width: 480px;
        font-size: 1.0em;
    }
                
    nav {
        display: block;
        width: 100%;
        height: 100%;
        font-size: 1.0em;
        font-size: 1.2em;
        text-transform: uppercase;
    }
                
    .menu {
        float: none;
        width: auto;
        height: auto;
        padding-left: 0;
    }
            
    .menu li {
        text-decoration: none;
        width: 100%;
        float: none;
        padding: 0;
        padding-top: 6px;
        padding-bottom: 6px;
    }
                
    .menu li a {
        color: white;
        text-align: center;
        display: block;
        outline: none;
    }
                
    .menu li ul li {
        display: block;
        width: 200px;
        padding-bottom: 3px;
        width: 100vw;
        float: none;             
        background: black;
    }
                
    footer {
        height: auto;
        display: block;
        flex-shrink: 1;
        text-align: center;
        font-size: 1.2em;
    }
                
    #box1 {
        float: none;
        display: block;
        width: auto;
    }
                
    #box2 {
        float: none;
        display: block;
        width: auto;
    }
    
    #div1 {
        float: none;
        width: 100%;
        position: relative;
        margin-top: 5px;
        margin-left: 0;
        margin-right: 0;
    }
                
    #div2 {
        float: none;
        width: 100%;
        position: relative;
        margin-top: 12px;
    }
                
    #div3 {
        float: none;
        width: 100%;
        position: relative;
        margin-top: 12px;
    }
                
    #div4 {
        float: none;
        width: 100%;
        position: relative;
        margin-top: 12px;
    }
                
    #div_logo {
        position: absolute;
        margin-top: 60px;
        width: 100%;
        height: 50px;
        background: white;
    }
            
    #img_logo {
        position: relative;
        width: 95%;
        padding: 0;
    }
    


}