* {
    box-sizing: boarder-box;
}

@media (max-width: 575.98px) {
#projects {
    background: url("images/croppediphone.jpeg");
}
}

@media (min-width: 576px) and (max-width: 767.98px) {
#projects {
    background: url("images/croppediphone.jpeg");
    background-size: 100vw 100vh;
}
}

@media (min-width: 768px) {
#projects {
    background-image: url("images/iphone.jpeg");
    background-size: 105vw 100vh;
    background-repeat: no-repeat;
}
}

@media (max-width: 767.98px) {
#projects h5 {
    font-size: 1em;
}
}


@media (min-width: 768px) {
#projects h5 {
    font-size: 1em;
}
}

@media (min-width: 960px) {
    #projects h5 {
    font-size: 1.4em;
    }
}

nav {
    font-family: 'Permanent Marker', cursive;
    font-size: larger;
    width: 105vw;
    height: 4em;
    margin: 0;
    color: white;
    background-color: rgba(20,20,20,.9);
    background: black;
}

.navbar .collapse .navbar-nav .nav-item .nav-link {
    color: #99e600;
}

.navbar .collapse .navbar-nav .nav-item  .active {
    color: white;
}

nav a:hover {
    color: white;
}

nav ul {
    margin-left: 2em;
}

.inline {
    display: inline-block;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.larger-font {
    font-size: x-large;
}

.large-font {
    font-size: large;
}

.card img {
    width: 100%;
    height: 70vh;
}

#projects {
    margin-left: auto;
    margin-right: auto;
    background-size: 100vw 100vh;
    background-repeat: no-repeat;
    color: black;
    height: 100vh;
    font-family: 'Rock Salt', cursive;
    color: white;
}

#projects a {
    color: #99e600;
    text-decoration: underline;
}

#projects h1 {
    font-size: 3.5em;
    z-index: -2;
}

.border {
    border-top: 2px solid grey;
    width: 75%;
    margin-bottom: 5em;
    margin-top: 6em;
}

#contact {
    margin-top: 4em;
}

.card-body a {
    background-color: #99e600; 
    color: black;
    border: 2px solid black;
}

footer {
    background-color: black;
    color: white;
    margin-bottom: 0px;
    padding-top: 2em;
    padding-bottom: 2em;
}

footer a {
    color: #99e600;
}

footer a:hover {
    color: white;
}

main {
    padding-top: 4em;
}