*{
	margin:0;
	padding: 0;
	box-sizing: border-box;
}



body {
	font-family: 'Merriweather', serif;
    width: 100%;
    height: 100%;
    letter-spacing: 0.03em;
    line-height: 1.6;
    /*background: black;*/
}

.logo {
	width: 80%;
	height: 50px;
	float: left;	
}

.logo img {
	width: 10%;
	margin: 50px 50px 20px;
	cursor: pointer;
	background: transparent;
	margin-top: 100px;
}

nav {
    flex: 1;
    text-align: right; /* menu posicion*/
}


.navbar {
    width: 50%;
    height: 10%;        /*modificar el objeto menu*/
    margin: auto;
    padding: 20px;
    align-items: right;
    justify-content: space-between;
}

p{
	font-size: 30px;  /*font-size*/
}

.navbar ul{
	width: 100%;
	margin-top: 70px;
	margin-bottom: -80px;
}

.navbar ul img {
	font-size: 20px;             /*size de los logos*/
    color: #4237d4;              /* color de los logos*/
    transition: transform 0.5s;
}
.navbar ul li {
    list-style: none;
    display:inline-flex;
    margin: -30px 10px ;
    position:relative;
   
}

a{  /* forma del buton*/
    display: flex;
    height: 80px;
    width: 75px;
    margin: 50px 15px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 6px 6px 10px -1px rgba(78, 66, 66, 0.15),
               -6px -6px 10px -1px rgba(255,255,255,0.7);
    transition: transform 0.5s;        
}

a:hover {
    box-shadow: inset 4px 4px 6px -1px rgba(0,0,0,0.2),
                inset -4px -4px 6px -1px rgba(255,255,255,0.7),
                -0.5px -0.5px 0px rgba(255,255,255,1),
                0.5px 0.5px 0px rgba(0,0,0,0.15),
                0px 12px 10px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.01);
    transform: translateY(2px);
}



.title-main {
	font-size: 70px;
	line-height: 100px;
	height: 100px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	color: #f7931e;
	margin-top: 150px;
	margin-bottom: -100px;
}

.title {
    font-size: 50px;
    line-height: 100px;    
    height: 100px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #f7931e;   
	margin-top: 150px;
   
}

.slider {
    color: yellow;
    margin-left: 20px;
    box-sizing: border-box;
    animation: slider 5s linear infinite;
}
@keyframes slider {

    0%{ margin-top: -400px; }
    5%{ margin-top: -200px; }
    30%{ margin-top: -200px; }
    35%{ margin-top: 0px; }
    65%{ margin-top: 0px; }
    50%{ margin-top: 0px; }
    70%{ margin-top: 200px; }
    100%{ margin-top: 200px; }
}



/*header*/

header {
	width: 100%;
	height: 600px;	
	background-image:  url(../img/portada.jpg);	     
	background-size:contain;
	background-attachment:local;
	position: relative;
}	

.wave {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.contenedor-sobre-nosotros {
	display: flex;
	justify-content: space-evenly;
	position: center;
	width: 100%;
	height: 95%;
	margin-bottom: 40px;
    margin-left: 1rem;
    
}

.imagen-about-us {
	width: 60%;       /* imagen size position*/
	height: auto;
	margin-top: -10px;

}



.wrap {
    width: 1100px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    
}
.card-wrap {
    margin: 10px;
    perspective: 750;
    -webkit-perspective: 750;
}

.card {
    width: 300px;
    height: 350px;
    background: black;
    color:yellow;
    position:relative;
    transform-style: preserve-3d;
    transition: .7s ease;     
}

h1{
    color:#f7931e;
    margin: 10px;
    font-size: 30px;
}

.front, .back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left:0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.back {
    transform: rotateY(180deg);
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items:center;
    text-align: center;
    color: white;
    font-size: 15px; 
}

.card-wrap:hover .card {
    transform: rotateY(180deg);
       
}
.front {
    width: 100%;
}

.card-1 {
    background-image: url(../img/aero.png);
    background-size: cover;
    background-size: 100% 100%;
    
   
}

.card2 {
    background-image: url(../img/auto.jpg);
    background-size: cover;
    background-size: 100% 100%;
}

.card3 {
    background-image: url(../img/estate.jpg);
    background-size: cover;
    background-size: 100% 100%;
}



/* */

.wrap1 {
    width: 1100px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
}
.card-wrap1 {
    margin: 10px;
    perspective: 750;
    -webkit-perspective: 750;
}

.card1 {
    width: 300px;
    height: 350px;
    background: black;
    color:yellow;
    position:relative;
    transform-style: preserve-3d;
    transition: .7s ease;     
}

h1{
    color:#f7931e;
    margin: 10px;
    font-size: 30px;
}

.front1, .back1 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left:0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.back1 {
    transform: rotateY(180deg);
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items:center;
    text-align: center;
    color: white;
    font-size: 15px; 
}

.card-wrap1:hover .card1 {
    transform: rotateY(180deg);
       
}
.front1 {
    width: 100%;
}

.card4 {
    background-image: url(../img/distribution.jpg);
    background-size: cover;
    background-size: 100% 100%;
    
   
}

.card5 {
    background-image: url(../img/boat.jpg);
    background-size: cover;
    background-size: 100% 100%;
}

.card6 {
    background-image: url(../img/property.jpg);
    background-size: cover;
    background-size: 100% 100%;
}
