@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Open Sans';
}
.logo {
	margin-top: 10%;
	width: 300px;
	height: 118px;
	align-content: center;
}

h2 {
	color: #FFFFFF;
	text-align: center;
	font-size: 15px;
}

.whatsapp-icono {
    width: 40px;
    height: 40px;
    padding: 3px;
    background: #F3F3F3;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: #19CC05;
    font-size: 40px;
    transition: .3s ease all;
}

.whatsapp-icono:hover {
    background: #FFFFFF;
    color: #70D856;
    padding: 4px;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.2);
}


.facebook {
    width: 40px;
    height: 40px;
    padding: 3px;
    background: #F3F3F3;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: #0065ED;
    font-size: 40px;
    transition: .3s ease all;
}

.facebook:hover {
    background: #FFFFFF;
    color: #1872EB;
    padding: 4px;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.2);
}



nav {

	margin-top: 1%;
	position: relative;
	width: 230px;
	height: 40px;
	background: #2c2b2b;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
}

nav a
{
	position: relative;
	display: inline-block;
	font-size: 15px;
	color: #f1f1f1;
	text-decoration: none;
	padding: 20px;
	z-index: 1;
}

nav span
{
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
	height: 40px;
	background:  linear-gradient(45deg, #db6606, #dd0303);
	border-radius: 10px;
	transition: .5s;
}
  
  nav a:nth-child(1):hover~span {
	left: 0px;
  }

    nav a:nth-child(2):hover~span {
	left: 120px;
  }

    nav a:nth-child(3):hover~span {
	left: 220px;
	width: 80px;
  }

      nav a:nth-child(4):hover~span {
	left: 250x;
	width: 200px;
  }

        nav a:nth-child(5):hover~span {
	left: 300px;
	width: 500px;
  }


  body {
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(fondo.jpg);
    height: 100vh;
    background-size: cover;
    background-position: center;
}


