/* header */
header{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    background-color: white;
    z-index: 100;
}

img {
    height: auto; 
    width: 100%;
    padding-bottom: 5%;
}

.logo{
    max-width: 100px;
    margin: 5px;
    padding-bottom: 0%;
}

/* menu*/
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    text-align: center;
    --height: 40px;
    line-height: 40px;
    text-decoration: none; 
    text-align: center;
    font-family: 'Libre Baskerville', serif;
}
  
li {
    display: inline;
    margin: 5px;
    padding: 10px;
}

li:nth-of-type(2){
    background-color: white;
    color: hsl(0, 75%, 90%); 
}

li:nth-of-type(2):hover{
    background-color: hsl(0, 50%, 75%); 
    color: white;
}

li:nth-of-type(3){
    background-color: white;
    color: hsl(50deg 75% 90%); 
}

li:nth-of-type(3):hover{
    background-color: hsl(50deg 50% 75%); 
    color: white;
}

li:nth-of-type(4){
    background-color: white;
    color: hsl(125deg 75% 90%);
}

li:nth-of-type(4):hover{
    background-color: hsl(125deg 50% 75%);
    color: white;
}

li:nth-of-type(5){
    background-color: white;
    color: hsl(225deg 75% 90%);
}

li:nth-of-type(5):hover{
    background-color: hsl(225deg 50% 75%);
    color: white;
}

li:nth-of-type(6){
    background-color: white;
    color: hsl(300deg 75% 90%);
}

li:nth-of-type(6):hover{
    background-color: hsl(300deg 50% 75%);
    color: white;
}

/* body */
body{
    margin-top: 200px;
    margin-bottom: 100px;
    margin-left: auto;
    overflow-y: auto;
}

h1{
    display: none;
}

p{
    font-family: 'Libre Baskerville', serif;
    text-align: center;
    overflow-y: visible;
    scroll-padding: 100px;
}

.icon{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.about{
    text-align: center;
    font-family: 'Libre Baskerville', serif;
    /* margin: 0; */
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    padding-bottom: 100px;
}

.title{
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    padding-right: 25px;
    padding-left: 25px;
    background-image: linear-gradient(to right, hsl(0, 75%, 90%), hsl(50deg 50% 75%), hsl(125deg 50% 75%), hsl(225deg 50% 75%), hsl(300deg 50% 75%));
}

/* Layout - Graphic Design*/
.column{
    float: left;
}

.left{
    padding-left: 5%;
    width: 20%;
}

.right{
    padding-right: 5%;
    width: 20%;
}

.center{
    padding-left: 2.5%;
    padding-right: 2.5%;
    width: 45%;
}

.left-image{
    float: right;
    display: block;
}

.right-image{
    float: left;
    display: block;
}

.center-image{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Web Development */

.half{
    padding-left: 10%;
    width: 30%;
    padding-right: 10%;
}

.homepage{
    width: 75%;
    display: block;
    margin-left: auto;
    margin-right: auto;

}

h2{
    display: block;
    text-align: center;
    color: white;
    background-color:hsl(225deg 50% 75%);

}

h3{
    font-size: large;
    text-align: center;
    font-family: 'Libre Baskerville', serif;
    font-weight: normal;
}

/* Project Management */

iframe{
    width: 300px;
    height: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.research{
    margin-top: 5%;
    width: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.smallerimg{
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Web Design */
.wd-page{
    margin-bottom: 80%;
}

/* footer */
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: white;
    padding-top: 1%;
}

/* mobile formatting */

@media screen and (max-width: 800px) {
    .title{
        font-size: 12px;
    }

    .about{
        font-size: 10px;
        padding-right: 10%;
        padding-left: 10%;
        left: 0%;
        transform: translate(0%);
        z-index: -1;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 25%;
    }

    p{
        font-size: 10px;
    }

    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        font-family: 'Libre Baskerville', serif;
        text-align: center;
        --height: 30px;
        line-height: 30px;
        text-decoration: none; 
        text-align: center;
        font-family: 'Libre Baskerville', serif;
    }
      
    li {
        display: block;
        margin: 5px;
        padding: 5px;
    }

    li:nth-of-type(1){
        margin-left: auto;
        align-items: center;
    }

    body{
        margin-top: 125px;
        justify-content: center;
        align-items: center;
    }

    h1{
        display: block;
        text-align: center;
        color: white;
        background-image: linear-gradient(to right, hsl(0, 75%, 90%), hsl(50deg 50% 75%), hsl(125deg 50% 75%), hsl(225deg 50% 75%), hsl(300deg 50% 75%));
    }

    h3{
        font-size: small;
    }

    hr{
        display: none;
    }

    iframe{
        width: 100px;
        height: auto;

    }

    .research{
        margin-top: 15%;
        width: 75%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .left{
        padding-left: 12.5%;
        padding-right: 12.5%;
        width: 75%;
    }
    
    .right{
        padding-left: 12.5%;
        padding-right: 12.5%;
        width: 75%;
    }
    
    .center{
        padding-left: 12.5%;
        padding-right: 12.5%;
        width: 75%;
    }

    .wd-page{
        margin-bottom: 120%;
    }

    .topnav li{display: none;}
    .topnav li.icon {
      display: block; 
    }

    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      right: 0;
      top: 0;
    }

    .topnav.responsive li {
      float: none;
      display: block;
    }
  }