html {
    height: 100%;
}

body {
    margin: 0px;
    background-color: #222222;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#header {
    background-color: rosybrown;
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
}

#content {
    margin-left: auto;
    margin-right: auto;
    flex: 1;
}

#footer {
    background-color: purple;
    height: 30px;
    width: 100%;
    bottom: 0;
    color: #cccccc;
    text-align: center;
    font-family: 'Kufam', cursive;
    font-size: 22px;
    margin-top: 30px;
}

.header-item {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    line-height: 50px;
    width: 100px;
    height: 50px;
}
.header-title {
    width: 300px;
    font-size: 30px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 0px;
    font-family: 'Dosis', sans-serif;
}
.header-button {
    transition: 0.25s;
}

.header-button:hover {
    background-color: salmon;
}

.projects-grid {
    display: grid;
    grid-template-columns: 200px 200px 200px 200px;
    margin-left: auto;
    margin-right: auto;
}

.project-item {
    width: 200px;
    height: 200px;
    background-color: #555555;
    transition: 0.3s;
    position: relative;

    box-shadow: 2px 2px 2px #000000;
    z-index: 10;

    background-position: center;
    background-size: cover;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Question_mark_%28black%29.svg/1024px-Question_mark_%28black%29.svg.png');
}

.project-item:hover {
    width: 250px;
    height: 250px;
    margin-left: -25px;
    margin-top: -25px;
    margin-bottom: -25px;

    z-index: 20;
    transition: 0.3s;
}

.project-item-name {
    position: absolute;
    text-align: center;
    bottom: 0;
    width: 100%;
    padding: 4px 0;
    background-color: purple;
    font-family: 'Roboto Mono', monospace;
	overflow: hidden;
}


.project-item-name-alt {
    background-color: rgb(0, 174, 255);
}


.footer-content {
    display: flex;
    vertical-align: center;
    align-items: center;
    justify-content: center;
}

.footer-image {
    display: inline;
    margin: -4px 10px 2px 10px;
    width: 20px;
    height: 20px;
}

.footer text {
    margin: 0;
}

/* Chrome Experimental Start */
portal {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 20px 10px #999;
    animation-name: fade-in;
    animation-duration: 1s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}
.portal-transition {
    transition: transform 0.4s;
}
@media (prefers-reduced-motion: reduce) {
    .portal-transition {
        transition: transform 0.001s;
    }
}
.portal-reveal {
    transform: scale(1) translateX(-20px) translateY(20px);
}
@keyframes fade-in {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}
/* Chrome Experimental End */

@media only screen and (max-width: 720px) {
    .projects-grid {
        grid-template-columns: 200px 200px;
    }
}

@media only screen and (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 200px;
    }
}
