*{
    padding: 0px;
    margin: 0px;
    list-style: none;
    text-decoration: none;

}

body{
    background-image: url(Oficina1.jpeg);
    background-color: #333;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.nav {
    position: fixed;
    width: 100%;
    background-color:rgba(51, 51, 51);
    z-index: 2;
}
.header {
    margin: auto;
    width: 100%;
}

.nav li a {
    font-family: 'Hammersmith One', sans-serif;
    font-size: 20px;
    color: rgb(194, 199, 204);
    display: block;
    padding-top: 25px;
    padding-left: 20px;
}


.nav li i img {
    width: 95px;
    height: 50px;
    padding-top: 8px;
    padding-left: 20px;

}

.nav > li {
    float: left;
    
}

.nav a:hover {
    color: #a32020;
    cursor: pointer;
}

.nav li ul {
    display: none;
    position: absolute;
}

.nav li:hover > ul {
    display: block;
    background-color:rgba(51, 51, 51);
    padding-right: 15px;
    
}


.social a{
    padding: 20px;
    color: rgb(194, 199, 204);
    font-size: 1.1rem;
}

#contact{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    z-index: 1;

}

.social{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(82, 82, 82, 1);
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.2);
    border-radius: 5px 0px 0px 5px;

}

.social a:hover{
    color: #a32020;
    transition: all ease 0.3s;
}

.contact-box{
    background-color: #434445;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 30px;
    box-shadow: 2px 0px 30px rgba(0, 0, 0, 0.1);
    border-radius: 5px;

}

.c-heading h1{
    font-family: 'Hammersmith One', sans-serif;
    color: #e7eef3;
    font-size: 2.5rem;
    font-weight: lighter;
    margin: 0px;
    padding: 0px;

}

.c-heading p{
    font-family: 'Hammersmith One', sans-serif;
    color: #cecece;
    font-size: 0.8rem;
    font-weight: lighter;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

.c-inputs{
    margin: 15px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.c-inputs input{
    width: 250px;
    height: 45px;
    background-color: transparent;
    border: none;
    border-bottom: 1px  solid rgba(251, 251, 251, 0.1);
    outline: none;
    margin: 10px;
    padding: 10px;
    box-sizing: border-box;
    color: #f4f4f4;
    display: flex;
}

.c-inputs textarea{
    width: 250px !important;
    height: 200px !important;
    outline: none;
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(82, 82, 82, 1);
    color: #f4f4f4;
    padding: 10px;
    font-size: 0.8rem;
    box-sizing: border-box;
    font-family: 'Hammersmith One', sans-serif;

}

.c-inputs button{
    width: 200px;
    height: 40px;
    background-color: rgb(194, 199, 204);
    border: none;
    outline: none;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    font-family: 'Hammersmith One', sans-serif;
}

.c-inputs input:focus{
    border-bottom: 1px solid rgba(252, 252, 252, 1);
    transition: all ease 0.5s;

}

.c-inputs textarea:focus{
    border: none;
    border-bottom: 1px solid rgba(252, 252, 252, 1);
    transition: all ease 0.5s;
}

.c-inputs button:active{
    transform: scale(1.02);
}

.map{
    filter: grayscale(0.2);
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #434445;
    border-radius: 0px 5px 5px 0px;

}

.footer {
    text-align: center;
    color: rgb(194, 199, 204);
    margin-top: 0;
    opacity: 70%;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 18px;
    font-family: 'Hammersmith One', sans-serif;

}

.menu-icon, #check{
    display: none;
}

.menu-icon img{
    width: 30px;
    height: 30px;
    border-radius: 2px;
}

@media(max-width:1100px){
    .map{
        display: none;
    }
}

@media (max-width:768px){
    .contact-box{
        z-index: 2;
    }

    .navigation ul li{
        padding: 1rem;
        display: flex;
        justify-content: center;
        margin: 0;
    }

    #check:checked ~ ul{
        left: 0;

    }

    .menu-icon, #check{
        display: block;
        list-style: none;
        text-decoration: none;
    }

    .menu-icon{
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
    }


    #header .nav{
        display: block;
        position: fixed;
        top: 70px;
        left:-100%;
        background: #333;
        opacity: 100%;
        width: 100%;
        height: 100vh;
        right: 0;
        cursor: pointer;
    }

    #header .nav li{
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        margin: 0;
    }

    #check:checked ~ ul{
        left: 0;

    }

    .nav > li {
        float: none;
        
    }

}