* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
    background: url(/img/fondo1.jpg);   
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: #642a73;
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}

/* Header */

header {
    width: 100%;
    height: 100px;
    /* fallback for old browsers */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

nav{
    text-align: center;
    padding: 30px 50px 0 0;
}

nav > a{
    color:#000;
    font-weight: 300;
    font-size: 30px;
    text-decoration: none;
    margin-right: 25px;
}

nav > a:hover{
    text-decoration: underline;
    color:#5CAED6;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Servidores */

main .servidores{
    padding: 30px 0 60px 0;
}

.contenedor-servidores{
    display: flex;
    justify-content: space-evenly;
}

.contenido-servidor img{
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 50px;
}

.contenido-servidor a{
    text-decoration: none;
    cursor:pointer;
    width:100%;
    display: inline-block;
	position:relative;
	padding:10px 0px;
	border-top-right-radius:10px;
	border-bottom-left-radius:10px;
	transition:all 1.5s;
	&:after,&:before{
		content:" ";
		width:10px;
		height:10px;
		position:absolute;
		border :0px solid #fff;
		transition:all 1.5s;
		}
	&:after{
		top:-1px;
		left:-1px;
		border-top:5px solid black;
		border-left:5px solid black;
	}
	&:before{
		bottom:-1px;
		right:-1px;
		border-bottom:5px solid black;
		border-right:5px solid black;
	}
	&:hover{
		border-top-right-radius:0px;
		border-bottom-left-radius:0px;
		background:rgba(0,0,0,.5);
		color:white;
		&:before,&:after{
			
			width:100%;
			height:100%;
			// border-color:white;
		}
	}
}

.hard{
    width: 200px;
    height: 200px;
    object-fit: scale-down;
    border: 3px solid #fff;
    border-radius: 50%;
}

.normal{
    width: 200px;
    height: 200px;
    object-fit: scale-down;
    border: 3px solid #fff;
    border-radius: 50%;
}

.servidores .contenido-servidor{
    width: 30%;
}

.contenido-servidor h3{
    margin-left: 5px;
}

.contenido-servidor h3 span{
    background: #4d0686;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 5px;
}

.contenido-servidor p{
    padding: 30px 0px 30px 0px;
    font-weight: 300;
    text-align: center;
}

/* acerca */

.acerca{
    padding: 0px 0px 0px 10px;
}

.contenedor-acerca{
    padding: 0px 0px 0px 10px;
}

.contenedor-acerca p{
    padding: 0px 0px 20px 0px;
    font-weight: 300;
    text-align: justify;
}

/* Galeria */

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* footer */

footer{
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: center;
}

.content-foo a{
    text-decoration: none;
    color:#5CAED6;
}

.content-foo a h4:hover{
    text-decoration: underline;
    color:#5CAED6;
}

.content-foo h4{
    color: #fff;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .contenedor-servidores{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .servidores .contenido-servidor{
        width: 90%;
    }

    .hard .normal{
        width: 90%;
    }

    /* Galeria */

    .imagen-port{
        width: 44%;
    }
}

@media screen and (max-width:500px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }

    nav > a{
        margin-right: 5px;
    }

    .textos-header h1{
        font-size: 35px;
    }

    .textos-header h2{
        font-size: 20px;
    }

    /* servidores */

    .hard .normal{
        margin-bottom: 60px;
        width: 99%;
    }

    .servidores .contenido-servidor{
        width: 95%;
    }

    /* Galeria */

    .imagen-port{
        width: 95%;
    }

    /* Footer */

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }

    .titulo-final{
        font-size: 20px;
    }
}