@font-face {
    font-family: 'RobotoMono-Regular';
    src: url('../fonts/RobotoMono-Regular.ttf');
}

* {
    margin: 0;
	padding: 0;
	box-sizing: border-box;
    font-family: 'RobotoMono-Regular';
}

@keyframes breath {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
  
}

.breath:hover {
    animation-name: breath;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.rotate {
    animation-name: rotate;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

body{
    background-image: url(/img/background.jpg);
    background-image: url("../img/background.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
    color: white;
    font-size: 0.6vw;
}


.breath{
    width: 5vw;
    height: 5vh;
    position: relative;
    align-items: start;
    display: flex;
    margin-left: 1vh;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(76,71,112);
    background: radial-gradient(circle, rgba(76,71,112,1) 0%, rgba(66,64,75,1) 52%, rgba(44,40,59,1) 83%);
    border-radius: 10px;
    color: #fff;
    width: 80%;
    height: 5vh;
    margin: auto;
    margin-top: 1vh;
    overflow: hidden;
}

nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 35vw;
    height: 100%;
}

nav ul li {
  list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

#logo {
    width: 3vw;
    height: 3vh;
    margin-left: 1vw;
    max-width: 100%;
    height: auto;
}


section{
    font-size: 3em;
    width: 40vw;
    margin: 20px;
    float: left;
    text-align: center; 
}

section a{
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    color: white;
}


aside{
    margin-right: 0;
    position: relative;
    float: left;
    width: 100vh;
    margin: 30px;
}

.articulo p{
    text-align: center;
    font-size: 16px;
    margin: 20px 0;
    text-align: left;
}

section .abajo{
    font-size: 10px;
}

.futer{ 
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 25%;
    right: 25%;
    text-align: center;
    margin-bottom: 10px;
}

.imgs{
    width: 100%;
    height: 70vh;
    position: absolute;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(30,87,153,0) 0%,rgba(30,87,153,0.8) 15%,rgba(30,87,153,1) 19%,rgba(30,87,153,1) 20%,rgba(41,137,216,1) 50%,rgba(30,87,153,1) 80%,rgba(30,87,153,1) 81%,rgba(30,87,153,0.8) 85%,rgba(30,87,153,0) 100%); 
}
.imgs img{
    width: 0px;
    height: 60vh;
    flex-grow: 1;
    opacity: 0.5;
    border-radius: 10px;
    object-fit: cover;
}

.imgs img:hover{
    width: 90%;
    height: 600px;
    object-fit: contain;
    transition: 1s ease;
    transform: scale(1.3);
    opacity: 1;
    cursor: pointer;
    width: 100px;
    filter: contrast(120%);
    z-index: 1;
}


@media only screen and (min-width: 1300px) {

}

/* Adaptación optimizada para verse en una tablet en posición horizontal. */

@media only screen and (max-width: 1024px) {
    .section-titulo{
        width: 60vw;
        
    }

    .section-titulo h1 {
        margin-top: -7vw;
    }

    #logo {
        width: 5vw;
    }
    body {
        font-size: 1.6vw;   
    }
    nav ul {
        width: 50vw;
        font-size: 1.4vw;
    }

    footer{
        visibility: hidden;
    }
}
   
@media only screen and (max-width: 768px) {

    .imgs{
        width: 100%;
        height: 100%;
        position: relative;
        

    }
    section{
        width: 40vw;
        margin: 0;
    }
    
    aside{
        position: fixed;
        right: 0;
    }
    .imgs img:hover{
        width: 90%;
        height: 600px;
        object-fit: contain;
        transition: 1s ease;
        transform: scale(1.3);
        opacity: 1;
        cursor: pointer;
        width: 100px;
        filter: contrast(120%);
        z-index: 1;
    }
    
    #logo {
        width: 7vw;
    }

    body {
        font-size: 2.4vw;   
    }
    nav ul {
        width: 50vw;
        font-size: 1.7vw;
    }
  
}

@media only screen and (max-width: 568px) {
    .imgs{
        width: 100%;
        height: 100%;
        position: relative;
    }

    
    section{
        width: 40vw;
        margin: 0;
    }
    
    aside{
        position: fixed;
        right: 0;
    }
    .imgs img:hover{
        width: 90%;
        height: 600px;
        object-fit: contain;
        transition: 1s ease;
        transform: scale(1.3);
        opacity: 1;
        cursor: pointer;
        width: 100px;
        filter: contrast(120%);
        z-index: 1;
    }

    body {
        font-size: 2.4vw;   
    }
    nav ul {
        width: 80vw;
        font-size: 2.1vw;
    }
}

@media only screen and (max-width: 320px) {

    #logo {
        width: 10vw;
    }
    body {
        font-size: 4vw;
    }
    nav ul {
        width: 80vw;
        font-size: 2.3vw;
    }

}