/* Universal Styles */

body {
    background-color: #F4F4F6;
    color: #000000;
    width: 100%;
}

h1 {
    font-family: 'Lato', sans-serif;
    text-align: center;
    padding: 3vw;
    font-size: 8vw;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 2.5vw;
    margin-right: 3vw;
}

p {
    font-family: 'Catamaran', sans-serif;
}


/* Header */ 

header {
    background-color: #9999A1;
    position: fixed;
    top: 0;
    width: 100%;
}

/* Cards */

.container {
    margin-top: 15vw;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    
}

.card {
    width: 40vw;
}

.card img {
    width: 40vw;
    margin-top: 5vw;
}

.show-more {
    width: 40vw;
    padding: 2vw 0;
    background-color: #E6E6E9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.more-btn {
    background-color:#66666E;
    color: #E6E6E9;
    font-family: 'Catamaran', sans-serif;
    font-weight: 700;
    font-size: 2vw;
    cursor: pointer;
    border-radius: 8%;
    padding: 1vw 2vw;    
}

.show-less {
    width: 36vw;
    background-color: #E6E6E9;
    padding: 2vw;
    text-align: center;
}

.show-less a {
    color: #000000;
    padding: 3vw;
}

.show-less p {
    padding: 1 2vw;
    line-height: 1.5rem;
}

.less-btn {
    background-color:#66666E;
    color: #E6E6E9;
    font-family: 'Catamaran', sans-serif;
    font-weight: 700;
    font-size: 2vw;
    margin-top: 2vw;
    cursor: pointer;
    border-radius: 8%;
    padding: 1vw 2vw;  

}

.less-btn:focus {
    background-color:#9999A1;
}

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

    .card {
        width: 80vw;
        margin-top: 6vw;

    }

    .card img {
        width: 80vw;
    }

    .show-more {
        width: 80vw;
    }

    .show-less {
        width: 76vw;
    }

    .show-less p {
        margin-top: 3vw;
    }
    
    .container {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

    .less-btn, .more-btn {
        font-size: 3vw;
        padding: 2vw 3vw;  
        
    }
}

@media screen and (min-width: 1200px) {
    
    h1 {
        font-size: 5vw;
        padding: 2vw;
    }

    .container {
        margin-top: 8vw;
    }

    .card {
        width: 25vw;
        margin: 0 1vw;
    }

    .card img {
        width: 25vw;
    }

    .show-more {
        width: 25vw;
    }

    .show-less {
        width: 21vw;
    }

    .less-btn, .more-btn {
        font-size: 1vw;
        padding: .5vw 1vw;  
        
    }
}
