#header nav a:nth-of-type(1)  {
    color: #5d69ba;
}

#section_1 {
    background: #777;
    height: 100%;
    background-image: url(../../view/images/fondo.jpg);
    background-size: cover;
    background-position-x: right;
    background-repeat: no-repeat;
    background-blend-mode: luminosity;
    background-attachment: fixed;
}

#section_1 .margen {
    z-index: 1;
    height: 100%;
}

#section_1 .flex {
    margin: auto;
}

#section_1 .detras {
   opacity: .6;
}

#section_1 h3 {
    color: #fff;
    z-index: 1;
    font-size: 1.5em;
    font-weight: bold;
    animation: mymove 3s;
    position: relative;
}

#section_1 p {
    color: #ccc;
    font-size: 1.1em;
    margin: 15px 0px;
    animation: mymove 3s;
    position: relative;
}

@keyframes mymove {
	
	to {
		top: 0px;
	}
	
	from {
		top: 80px;
		opacity: 0;
	}
}

#section_1 strong {
    color: #70ad46;
}

#section_1 button {
    border: none;
    background-color: #5D69BA;
    color: #ccc;
    height: 40px;
    width: 150px;;
    font-size: 1.2em;
    transition: all .5s ease;
}

#section_1 button:hover{
    color: #fff;
}

#section_1 .flex {
    height: 150px;
}

#section_1 .flex .detras {
    opacity: .7;
}

#section_2 {
    background: url("../../view/images/cross-stripes.png");
    background-color: #111;
}

#section_2 .margen {
    padding: 70px 0px
}

#section_2 .margen > .flex {
    justify-content: center;
}

#section_2 .margen > h2 {
    color: #fff;
    text-transform: uppercase;
}

#section_2 .line {
    width: 100px;
    height: 2px;
    background-color: #72ad47;
    margin: 50px auto;
}

#section_2 .sub .detras {
    opacity: .1;
}
   
#section_2 .flex:nth-of-type(1) h2 {
   color: #fff;
}

#section_2 .sub {
    cursor: pointer;
    margin-bottom: 20px;
    max-width: 380px;
}

#section_2 .sub:nth-of-type(3) {
    margin-bottom: initial;
}

#section_2 .div_img {
   overflow: hidden;
}

#section_2 .detras {
   transition: all .5s ease;
   display: flex;
}

#section_2 .detras .flex {
    height: 100%;
    width: 100%;
    align-content: center;
    justify-content: center;
}
    
#section_2 .div_img img {
   transition: all .5s ease;
}

#section_2 .detras h2 {
   transition: all .2s ease;
}

#section_3 {
    height: 400px;
    background: #000;
    background-image: url(../../view/images/injek.jpg);
    background-size: 120% 140%;
    background-repeat: no-repeat;
    background-blend-mode: luminosity;
    background-attachment: fixed;
    background-position-x: -40px;
}

#section_3 .margen {
    height: 100%;
}

#section_3 .detras {
    opacity: .5;
}

#section_3 .flex:nth-of-type(1) {
    height: 30%;
}

#section_3 .flex:nth-of-type(2) {
    height: 70%;
}

#section_3 h3 {
    color: #eee;
}

#section_3 h3 strong {
    color: #72ad47;
    background-color: rgb(0,0,0,.3);
    padding: 3px;
}

#section_3 .sub {
    width: 50%;
    height: 50%;
    transition: all .5s ease;
}

#section_3 #sub2 {
    transition-delay: .5s;
}

#section_3 #sub3 {
    transition-delay: 1s;
}

#section_3 #sub4 {
    transition-delay: 1.5s;
}

#section_3 i {
    color: #eee;
    font-size: 2.5em;
    margin-bottom: 10px;
    margin: auto;
}

#section_3 p {
   color: #eee;
   margin-top: 10px;
}

#section_4 {
   background-color: #fff;
}

#section_4 .margen {
    padding: 70px 0px;
}

#section_4 h2 {
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#section_4 .margen p {
   letter-spacing: 3px;
   margin-bottom: 100px;
   font-size: 1.1em;
}

#section_4 .flex {
    margin-bottom: 20px;
}

#section_4 .flex h3 {
    font-size: 1.2em;
    color: #aaa;
    text-transform: uppercase;
    height: 40px;
    letter-spacing: 5px;
    padding-top: 8px;
}


/*TABLET AND PC ONLY*/
@media only screen and (min-width: 600px) { 

    #section_1 {
        max-height: 750px;
    }
    
    #section_1 .margen {
        justify-content: right;
    }
    
    #section_1 h3 {
        font-size: 2em;
        text-align: left;
    }
    
    #section_1 p {
        font-size: 1.5em;
        text-align: left;
    }

    #section_2 {
        min-height: initial;
    }
                   
   #section_2 .margen > .flex {
        justify-content: space-between;
    }
    
	#section_2 .sub {
		width: 32%;
        height: 65%;
        margin: initial;
        margin-bottom: initial;
	}
	 
	#section_2 .div_img {
		height: 170px;
		width: 100%;
	}

    #section_3 {
        height: 450px;
        background-position-x: initial;
    }
    
    #section_3 h3 {
        font-size: 1.8em;
        margin-top: 70px;
    }
    
    #section_3 i {
        font-size: 3em
    }
        
    #section_3 .flex {
       width: 100%;  
    }
    
    #section_3 .sub {
        width: 25%;
        height: 60%
    }
    
    #section_3 .sub:nth-of-type(1) p {
        padding-left: 8px;
    }
    
    #section_4 .flex {
       border-bottom: 1px solid #ddd;
       margin-bottom: 50px;
       height: 300px;
    }
    
    #section_4 .flex .div_img  {
       width: 100%;
       height: calc(100% - 40px);
    }
    
    #section_4 .flex .div_img img {
        object-fit: cover;
    }
        
}

/*PC ONLY*/
@media only screen and (min-width: 970px) { 

    #section_2 .sub {
		width: 32%;
	}
    
    #section_2 .div_img {
		height: 220px;
		width: 100%;
	}
    
    #section_3 {
        height: 500px;
        background-size: ;
    }
    
    #section_3 .sub {
       opacity: 0;
    }

}
