body{
    background-image: url("../img/index-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

div, body, header, nav, ul, footer{
    box-sizing: border-box;
}

.main-wrapper, header, footer{
    width: 100%;
}

h1, h2, h3, h4, h5, h6{
    overflow-wrap: break-word;
}

p{
    overflow-wrap: break-word;
}

*{
    box-sizing: border-box;
    text-decoration: none;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

/*Barra Menú*/

.container-menu {
    width: 100%;
    height: 70px;
    background-color: #0009;
    box-shadow: 0 0 10px 0 #000;
    padding: 0px 20px;
}

.menu {
    margin: auto;
    height: 100%;
}

.menu nav {
	width: 100vw;
    height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.menu nav > ul {
    height: 100%;
    display: flex;
    justify-content: center;
	align-items: center;
}

.menu nav  ul  li {
    height: 100%;
    position: relative;
    list-style: none;
}

.menu nav > ul > li:first-child > a {
    width: 100px;
    background-image: url(../img/logos-hahn/hahn-logo-menu2.png);
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center center;
}

.menu nav > ul > li:first-child:hover > a {
    width: 100px;
    background-image: url(../img/logos-hahn/hahn-logo-menu2.png);
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center center;
}

.menu nav > ul > li > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0 20px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 300ms ease;
}

.menu nav > ul > li > a:hover {
    transform: scale(1.1);
    background: #0002;
    border-radius: 10px;
    box-shadow:  0 0 10px #000;
}

/*Submenu*/

.menu nav > ul > li > ul {
    width: 230px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    position: absolute;
    top: 90px;
    left: -5px;
    padding: 15px 15px;
    visibility: hidden;
    opacity: 0;
    box-shadow:  0 0 10px #000;
    z-index: 10;
    transition: all 300ms ease;
}

.menu nav > ul > li:hover > ul {
    visibility: visible;
    opacity: 1;
    top: 70px;
}

.menu nav > ul > li > ul:before {
    content: "";
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    position: absolute;
    top: -12px;
    left: 40px;
}

.menu nav > ul > li > ul > li > a {
    display: block;
    color: #808080;
    padding: 4px;
    padding-left: 14px;
    margin-top: 5px;
    font-size: 0.7rem;
    transition: all 300ms ease;
}

.menu nav > ul > li > ul > li > a:hover {
    background: #ffcd00;
    color: #001689;
    transform: scale(1.1);
    padding-left: 20px;
    font-size: 0.7rem;
    box-shadow:  0 0 10px #000;
}

/*Submenu-2*/

.menu nav ul li ul li {
    position: relative;
}

.menu nav ul li ul li .submenu-2 {
    position: absolute;
    top: 0;
    left: 210px; /* la anchura de tu submenú padre */
    width: 210px; /*la anchura del submenú hijo*/
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border-radius: 10px;
    padding: 20px 0px;
    box-shadow: 0 0 10px #000;
    transition: all 300ms ease;
    z-index: 10;
}

.menu nav ul li ul li:hover .submenu-2 {
    visibility: visible;
    opacity: 1;
}

.menu nav ul li ul li .submenu-2 li a {
    padding: 4px 8px;
    color: #808080;
    font-size: 0.7rem;
    transition: all 300ms ease;
    display: block;
}

.menu nav ul li ul li .submenu-2 li a:hover {
    background: #001689;
    color: #ffcd00;
    transform: scale(1);
    padding-left: 20px;
    box-shadow: 0 0 10px #000;
}

.submenu-2 {
    position: relative;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.menu-icon .line {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

#menu-toggle {
    display: none;
}

#menu-toggle + .menu-icon {
    height: 100vh;
    top: 15px; 
}

/*Elementos Responsivos Menú*/

@media screen and (max-width: 720px){

    /*Menú*/

    .menu nav > ul {
        flex-direction: column;
        align-items: first baseline;
        background-color: #0009;;
        position: fixed;
        left: 0;
        top: 50px;
        width: 100%;
        height: 300px;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }

    .menu-icon {
        display: flex;
    }

    .menu nav ul li ul {
        left: 70px;
    }

    .menu nav ul li:hover ul {
        top: 50px;
    }

    #menu-toggle:checked + .menu-icon {
        height: 100vh;
        top: 15px;
    }

    #menu-toggle:checked + .menu-icon .line:nth-child(1) {
        transform: rotate(45deg) translate(15px, 3px);
    }

    #menu-toggle:checked + .menu-icon .line:nth-child(2) {
        transform: scale(0);
    }

    #menu-toggle:checked + .menu-icon .line:nth-child(3) {
        transform: rotate(-45deg) translate(15px, -3px);
    }

    #menu-toggle:checked ~nav > ul {
        height: 300px;
        visibility: visible;
        opacity: 1;
    }
}

/* Main Section */

.main-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    max-width: 800px;
    width: 100%;
    
}

h1{
    font-weight: 900;
    color: #fff;
    font-size: 3rem;
    text-shadow:  5px 5px 10px #000;
    text-align: center;
}

h2{
    font-weight: 900;
    color: #fff;
    font-size: 2rem;
    text-shadow:  5px 5px 10px #000;
    text-align: center;
}

h3{
    font-family: "Montserrat-Bold", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.3rem;
    text-align: left;
    color: #001689;
}

h4{
    font-size: 0.7rem;
    color: #fff;
}

h5{
    font-family: "Montserrat-Bold", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.3rem;
    text-align: center;
    color: #ffcd00;
    background-color: #001689;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 #000;
}

p{
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.3rem;
    color: #fff;
}

.logo-index {
    display: flex;
    justify-content: center;
}

.logo-index img {
    width: 200px;
}

/* Footer */

footer{
    margin-top: auto;
    background-color: #333;
    padding-left: 25%;
    width: 100%;
    height: 130px;
    text-align: center;
}

.footer{
    width: 500px;
    display: block;
    float: left;
    height: 100px;
    padding: 50px;
}

.siguenos{
    font-size: 1rem;
    color: #fff;
}

.footer-1{
    width: 500px;
    display: block;
    float: left;
    height: 90px;
}

.iconos{
    margin: 20px;
    width: 30px;
    transition: all 300ms ease;
}

/* Fin Footer*/
@media screen and (max-width: 1280px){
    footer{
        padding-left: 12.5%;
    }
}

@media screen and (max-width: 600px) {
    .main-wrapper{
        flex-direction: column;
    }
    .logo{
        margin-left: 20px;
        width: 400px;
    }
    .img-principal{
        margin-left: 20px;
        width: 400px;
    }
    footer{
        height: 260px;
        padding: initial;
    }
    h4{
        display: none;
    }
}