@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Playwrite+CL:wght@100..400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    font-family: "Playwrite CL", cursive;
}

@media screen and (min-width: 600px) {
    
    header {
        position: fixed;
        left: 0vw;
        top: 0vh;
        width: 100vw;
        height: 15vh;
        background-color: rgb(109, 172, 224);
        color: black;
        text-align: center;
        line-height: 15vh;
        font-size: 20px;
    }
    
    nav {
        position: fixed;
        left: 0vw;
        top: 15vh;
        width: 100vw;
        height: 10vh;
        background-color: rgb(119, 173, 249);
        color: black;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    
    nav a {
        text-decoration: none;
        color: white;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        border: white solid 1px;
        border-radius: 5px;
        display: block;
        padding: 5px;
        height: 5vh;
        line-height: 5vh;
        background-image: url('https://i.pinimg.com/originals/8f/e7/91/8fe7914f82c34849929be052e8a7af97.jpg');
        background-size: cover;
        background-position: center;
    }
    
    nav a:hover {
        background-color: rgb(20, 20, 127);
        color: white;
        padding: 20px;
        filter: none;
    }
    
    section {
        width: 100vw;
        height: 100vh;
        left: 0vw;
        top: 0vh;
    }

    .wrapper {
        margin: 150px auto;
        width: 70%;
    }

    .text-box {
        color: #fff;

    }

    .text-box p{
        font-size: 16px;
    }

    img {
        max-width: 320px;
        float: left;
        border: 3px solid #fff;
        border-radius: 10px;
        margin-right: 15px;
    }

    .container {
        width: 100%;
        display: flex;
        max-width: 1500px;
    }
    
    .card {
        width: 100%;
        margin: 20px;
        border-radius: 6px;
        overflow: hidden;
        background: #d1e3f8;
        box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
        cursor: default;
        transition: all 400ms ease;
    }

    .card:hover {
        box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
        transform: translateY(-3%);
    }

    .card img{
        width: 100%;
        height: 15vw;
    }

    .card .contenido {
        padding: 15px;
        text-align: center;
    }

    .card .contenido p {
        line-height: 1.5;
        color: #6a6a6a;
    }

    .card .contenido h3 {
        font-weight: 400;
        margin-bottom: 15px;
    }

    article {
        width: 10vw;
        height: 15vw;
        min-width: 200px;
        min-height: 300px;
        margin: 5px;
        background-color: gray;
        border-radius: 5px;
        transition: .5s;
    }
    
    article:hover {
        box-shadow: 5px 5px 10px gray;
    }

    #photo01 {
        background-image: url(../img/estudio.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo02 {
        background-image: url(../img/memeFuturo.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo03 {
        background-image: url(../img/estres.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo04 {
        background-image: url(../img/administracion.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo05 {
        background-image: url(../img/aspiroSer.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo06 {
        background-image: url(../img/viajesss.jpg);
        background-size: cover;
        background-position: center;
    }

    #perfil {
        background-color: rgb(171, 131, 251);
        color: black;
    }
    
    #paso {
        background-color: rgb(161, 94, 224);
        color: black;
        height: 225vh;
    }
    
    #futuro {
        background-color: rgb(137, 73, 198);
        color: white;
        display: flex;
        flex-direction: grid;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    #random {
        background-color: rgb(107, 49, 162);
        color: white;
    }
    
    #viajes {
        background-color: rgb(80, 32, 124);
        color: white;
        height: 225vh;
    }
}  

@media screen and (max-width: 600px) {
    
    header {
        position: fixed;
        left: 0vw;
        top: 0vh;
        width: 100vw;
        height: 15vh;
        background-color: rgb(209, 153, 252);
        color: black;
        text-align: center;
        line-height: 15vh;
        font-size: 20px;
    }
    
    nav {
        position: fixed;
        left: 0vw;
        top: 15vh;
        width: 100vw;
        height: 10vh;
        background-color: rgb(168, 104, 211);
        color: black;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    
    nav a {
        text-decoration: none;
        color: white;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        border: white solid 1px;
        border-radius: 5px;
        display: block;
        padding: 5px;
        height: 5vh;
        line-height: 5vh;
        background-image: url('https://i.pinimg.com/originals/8f/e7/91/8fe7914f82c34849929be052e8a7af97.jpg');
        background-size: cover;
        background-position: center;
    }
    
    nav a:hover {
        background-color: rgb(20, 20, 127);
        color: white;
        padding: 20px;
        filter: none;
    }
    
    section {
        width: 100vw;
        height: 100vh;
        left: 0vw;
        top: 0vh;
    }

    .wrapper {
        margin: 150px auto;
        width: 70%;
    }

    .text-box {
        color: #fff;

    }

    .text-box p{
        font-size: 16px;
    }

    img {
        max-width: 320px;
        float: left;
        border: 3px solid #fff;
        border-radius: 10px;
        margin-right: 15px;
    }

    .container {
        width: 100%;
        display: flex;
        max-width: 1500px;
    }
    
    .card {
        width: 100%;
        margin: 20px;
        border-radius: 6px;
        overflow: hidden;
        background: #d1e3f8;
        box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
        cursor: default;
        transition: all 400ms ease;
    }

    .card:hover {
        box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
        transform: translateY(-3%);
    }

    .card img{
        width: 100%;
        height: 15vw;
    }

    .card .contenido {
        padding: 15px;
        text-align: center;
    }

    .card .contenido p {
        line-height: 1.5;
        color: #6a6a6a;
    }

    .card .contenido h3 {
        font-weight: 400;
        margin-bottom: 15px;
    }

    article {
        width: 10vw;
        height: 15vw;
        min-width: 200px;
        min-height: 300px;
        margin: 5px;
        background-color: gray;
        border-radius: 5px;
        transition: .5s;
    }
    
    article:hover {
        box-shadow: 5px 5px 10px gray;
    }

    #photo01 {
        background-image: url(../img/estudio.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo02 {
        background-image: url(../img/memeFuturo.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo03 {
        background-image: url(../img/estres.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo04 {
        background-image: url(../img/administracion.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo05 {
        background-image: url(../img/aspiroSer.jpg);
        background-size: cover;
        background-position: center;
    }

    #photo06 {
        background-image: url(../img/viajesss.jpg);
        background-size: cover;
        background-position: center;
    }

    #perfil {
        background-color: rgb(135, 156, 252);
        color: black;
    }
    
    #paso {
        background-color: rgb(110, 117, 245);
        color: black;
        height: 225vh;
    }
    
    #futuro {
        background-color: rgb(98, 83, 205);
        color: white;
        display: flex;
        flex-direction: grid;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    
    #random {
        background-color: rgb(75, 49, 146);
        color: white;
    }
    
    #viajes {
        background-color: rgb(53, 33, 114);
        color: white;
        height: 225vh;
    }
}  
      


