

/* The project cards */
div.item { /* Table items for project display*/
    vertical-align: top;
    display: inline-block;
    text-align: center;
    width: 380px;
    height: 400px;
    transition: 0.2s;
    padding: 8px 16px;
    border-radius: 25px;
    border: 2px solid #0004b4;
}

    div.item h1 {
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-style: normal;
    }

    div.item img {
        width: 350px;
        height: 250px;
        border-radius: 15px;
        display: block;
        margin: 0 auto;
        border: 3px solid #0004b4;
    }

    div.item:hover {
        background-color: #0004b4;
    }

    div.item img:hover {
        border: 3px solid white;
    }

.caption {
    display: block;
    text-align: center;
    margin: 10px 0px -5px 0px;
}

.descriptors {
    display: block;
    text-align: center;
    font-size: 16px;
    margin: 7px 0px -5px 0px;
}

/* Centered header images */
img.titlecard { 
    display: block;
    margin-left: auto;
    margin-right: auto;
    
}

img.banner {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Main content - margin for navbar */
.main {
    margin-top: 60px; /* Add a top margin to avoid content overlay */
    font-family: "Questrial", sans-serif; /* Default font is sans serif */
    font-weight: 400;
    font-style: normal;
    color: white;
    background-color: #000355;
}

.merriweather {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
}

/*Project table*/
.projtable {
    margin-left: auto;
    margin-right: auto;
}

    .projtable td {
        vertical-align: middle;
    }

/*Bottom bar table*/
.bottable {
    margin-left: auto;
    margin-right: auto;
    margin-top: -10px;
    color: #7276e2;
}

    .bottable td {
        vertical-align: middle;
        padding:0px 10px;
    }

/*Link colors*/
a:link {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: red;
    background-color: transparent;
    text-decoration: none;
}

a:active {
    color: gray;
    background-color: transparent;
    text-decoration: none;
}


/* The navigation bar */
.navbar {
    overflow: hidden;
    background-color: #333;
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    z-index:3;
}

    /* Links inside the navbar */
    .navbar a {
        float: left;
        display: inline-block;
        color: #f2f2f2;
        text-align: center;
        padding: 20px 16px;
        text-decoration: none;
    }

    /* Change background on mouse-over */
    .navbar a:hover {
        background: #ddd;
        color: black;
    }

/* Fading in a screenshot over a project preview image */
.container {
    position: relative;
    display: inline-block;
    text-align: center;
}

.image {
    display: block;
    width: 350px;
    height: 250px;
    margin: 0 auto;
}

.overlay {
    opacity: 0;
    transition: .3s ease;
}

.container:hover .overlay {
    opacity: 1;
}

.fadeimg {
    position: absolute;
    width: 350px;
    height: 250px;
    top: 0%;
    left: 0%;
    text-align: center;
}

/* About Me */
/* Text title */
.pagetitle {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 64px;
}

/* The project cards for all projects*/
div.item-two { /* Table items for project display*/
    vertical-align: top;
    display: inline-block;
    text-align: center;
    width: 342px;
    height: 360px;
    transition: 0.2s;
    padding: 8px 12px;
    border-radius: 15px;
    border: 2px solid #0004b4;
}

    div.item-two h1 {
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-style: normal;
    }

    div.item-two img {
        width: 315px;
        height: 225px;
        border-radius: 15px;
        display: block;
        margin: 0 auto;
        border: 3px solid #0004b4;
    }

    div.item-two:hover {
        background-color: #0004b4;
    }

    div.item-two img:hover {
        border: 3px solid white;
    }

.caption {
    display: block;
    text-align: center;
    margin: 10px 0px -5px 0px;
}

.descriptors {
    display: block;
    text-align: center;
    font-size: 16px;
    margin: 7px 0px -5px 0px;
}