html {
    /* Sets background colour for every page */
    /* Possible colours to use:
    E6BE75 
    BCA06A
    D3B77F */
    background-color:#d3b77f; 
}

/* Set the body elements */
body {
    width:1200px;
    margin:0 auto;
    background-color:white;
    -moz-box-shadow: 0 0 13px rgb(68, 68, 68);
    -webkit-box-shadow: 0 0 13px rgb(68,68,68);
    box-shadow: 0 0 13px rgb(68,68,68);
    position: relative;
}

/* For the nav bar */
.nav {
    float: right;
    padding: 20px;
}

/* Link colour options
FF9CBB
F7A9C2 */

/* For the nav links */
.nav text {
    position: relative;
    margin-bottom: 15px;
    font-size: 22px;
    cursor: pointer;
}

.nav text:hover {
    font-weight: 700;
}

.nav p {
    position: relative;
    display: inline;
    font-size: 22px;
}

#homeDisplay{
    display: block;
    opacity: 1;
    transition: opacity 0.5s;
}

#paintGal {
    display: flex;
    opacity: 1;
    transition: opacity 0.5s;
}

#yarnGal {
    display: none;
    opacity: 1;
    transition: opacity 0.5s;
}

.logo{
    width: 900px;
    position: relative;
    top: 10px;
}

.logo img{
    width: 30%;
    margin-left: 20px;
    cursor: pointer;
}

#galleryBtn {
    margin-top: 20px;
    margin-left: 15px;
}

.galBtn {
    margin: 10px 15px 10px;
    position: relative;
    border: 2px solid #f7a9c2;
    border-radius: 7.5px;
    background-color: white;
    font-size: 15px;
    cursor: pointer;
}

.galBtn:hover {
    font-weight: 700;
    border: 3px solid #f7a9c2;
    margin: -1px 7.5px -1px 15px;
}

.gallery {
    display: flex;
    /* REMOVE AFTER YARN BUTTONS ADDED */
    margin-top: 20px; 
    /* THANK YOU */
    margin-left: 15px;
    flex-wrap: wrap;
    user-select: none;
}

.column{
    flex: 25%;
    max-width: 24%;
    padding: 0 4px;
}

.column img, .column1 img, .column3 img{
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

#aboutDisplay{
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
    height: 700px;
    width:1200px;
    margin:0 auto;
}

.about{
    width: 700px;
    margin:0 auto;
    font-size: 22px;
}

.portrait2 img{
    width: 100%;
}

/* Responsivity */
@media screen and (max-width: 800px){
    .column{
        flex: 50%;
        max-width: 50%;
    }
    .nav button{
        font-size: 50px;
        max-width:100%;
    }
    .logo{
        max-width:100%;
    }
    .underlogo{
        font-size:25px;
    }
}

@media screen and (max-width: 600px){
    .column{
        flex: 100%;
        max-width: 100%;
        margin-top: 25px;
    }
    .nav button{
        font-size:75px;
        max-width:100%;
    }
    .logo{
        max-width:100%;
    }
    .underlogo{
        top: 90px;
        font-size:40px;
    }

    .about{
        margin-top: 80px;
        width: 900px;
        font-size: 50px;
    }
    .about img{
        max-width: 100%;
    }
}

/* Sets the footer elements */
.footer {
    position: relative;
    background-color: #474747;
    width: 100%;
    color: white;
    text-align: center;
    font-size: 15px;
    margin-top: 8px;
}