body {
    margin: 0 auto;
    cursor: default;
    color: #dbdbdb;
    font-family: Helvetica, Arial, sans-serif;
    background: #0a0a0a url("images/background.jpeg") center center/cover no-repeat fixed;
}

.container {
    margin: 0 auto;
    padding: 15px;
    width: 700px;
    max-width: 98vw;
    border: solid 4px;
    align-self: center;
    border-top-color: #4d4d4d;
    border-left-color: #373737;
    border-radius: 0 0 10px 10px;
    border-right-color: #2b2b2b;
    border-bottom-color: #242424;
    box-shadow: 4px 5px 5px rgba(0, 0, 0, 0.25);
    background: linear-gradient(#323232 75%, #232323);
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0 auto;
    cursor: default;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}

a {
    padding: 20px 0;
    font-size: 18px;
    cursor: default;
    color: #dbdbdb;
    font-weight: bold;
    user-select: none;
    -ms-user-select: none;
    text-decoration: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

p {
    padding: 5px 0 5px 0;
}

img {
    height: auto;
    display: block;
    max-width: 100%;
    padding-top: 10px;
}

.topbar {
    width: 700px;
    padding: 15px;
    margin: 0 auto;
    max-width: 98vw;
    margin-top: 30px;
    border: solid 4px;
    align-self: center;
    border-top-color: #4d4d4d;
    border-radius: 10px 10px 0 0;
    border-left-color: #3e3e3e;
    border-right-color: #2e2e2e;
    border-bottom-color: #171717;
    box-shadow: 4px 5px 5px rgba(0, 0, 0, 0.25);
    background: linear-gradient(#2e2e2e, #232323);
}

.tb-divider {
    font-size: 20px;
    font-weight: bold;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.topbar .tb-button {
    font-size: 20px;
    cursor: default;
    color: #dbdbdb;
    font-weight: bold;
    user-select: none;
    text-decoration: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.topbar .tb-button:hover {
    color: rgb(145, 145, 145);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.topbar .tb-button:active {
    color: rgb(74, 74, 74);
}

#cd {
  padding: 0;
}

#project-item {
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    border-top-color: #4d4d4d;
    border-left-color: #373737;
    border: solid 3px transparent;
    border-right-color: #1b1b1b;
    border-bottom-color: #171717;
    font-family: Helvetica, Arial, sans-serif;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, #272727 75%, #1f1f1f);
}

#project-item:hover {
    border-top-color: #363636;
    border-left-color: #2d2d2d;
    border-right-color: #4d4d4d;
    border-bottom-color: #3f3f3f;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.5);
    background: linear-gradient(175deg, #1c1c1c, #373737 75%);
}

#project-item:active {
    border-top-color: #080808;
    border-left-color: #101010;
    border-right-color: #3a3a3a;
    border-bottom-color: #303030;
    box-shadow: 1px 1px 10px 2px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to top, #212121 75%, #121212);
}

#project-image {
    height: auto;
    padding-top: 0;
    max-width: 50%;
    padding-bottom: 0;
    border-radius: 10px;
    border: solid 3px #3f3f3f;
}

#project-text {
    font-size: 17px;
    padding-top: 12px;
    padding-bottom: 0;
    box-sizing: border-box;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
}

#project-item:hover #project-text {
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

/* this is so that it works for phones */
@media (max-width: 600px) {
    .container, .topbar {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        font-family: Helvetica, Arial, sans-serif;
    }
    .topbar {
        margin-top: 0px;
    }
    #project-item *, #project-item *:before, #project-item *:after {
        box-sizing: border-box;
    }
    #project-image {
        max-width: 100%;
        text-align: center;
    }
    #project-text {
        font-size: 16px;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 20px;
    }
    p {
        font-size: 16px;
    }
}