/* css variables */
:root {
    --primary-color: rgba(154, 0, 41, 1);
    --overlay-color: rgba(24, 61, 110, 0.85);
    --menu-speed: 0.75s;
}

/* this will add global css reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* font type, background image */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#wraper {
    min-height: 100%;
    height: auto !important;
    height: 94%;
    margin: 0 auto -142px;
    /* these top 4 css lines are to make the footer stick on bottom if not enough content on the page */
}

/* foreground */
.background {
    background-color: var(--primary-color);
    color: #fff;
    height: 100%;
    width: 100%;
    position: relative;

}

 /* used to make sure footer sticks on bottom of page*/
.push {
    height: 142px;
}

/* footer */
.footer {
    height: 10em;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: rgba(24, 61, 110, 1);
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #fff;
}

.footer-copyright {
    display: block;
    text-align: center;
}

.footer-social-media-wrapper {
    width: 25%;
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: center;
}

.footer-social-media-wrapper h3 {
    font-size: 1.3rem;
    margin: 1.1rem;
    text-align: center;
}

.footer-social-media-wrapper a {
    text-align: center;
    text-decoration: none;
    color: #fff;
}

.footer-social-media-wrapper a:hover {
    color: rgb(0, 18, 180);
}

/* when in phone/tablet mode desktop nav bar is not displayed */
@media only screen and (max-width: 768px) {
    header {
        display: none;
    }
}


/* nav bar when in desktop mode */
.container a {
    text-decoration: none;
    color: #fff;

}

.container {
    max-width: 120rem;
    width: 95%;
    margin: auto;
}

.container nav {
    padding-top: 1.6rem;
    padding-bottom: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 1.4rem;
}

/* desktop nav bar title */
.computerscience {
    font-size: 2rem;
    font-weight: 400;
}

.container ul {
    display: flex;
}

.container li {
    list-style: none;
}

.container ul li a {
    padding: 1rem 0;
    margin: 0 2rem;
    position: relative;
    letter-spacing: 1px;
}

.container nav ul li a:last-child {
    margin-right: 0;
}


/* desktop nav bar animations */
.container nav li a:before,
.container nav li a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2.5px;
    background-color: rgb(0, 18, 180);
    left: 0;
    transform: scaleX(0);
    transition: all 0.5s;
}

.container nav ul li a:before {
    top: 0;
    transform-origin: left;
}

.container nav ul li a:after {
    bottom: 0;
    transform-origin: right;
}

.container nav ul li a:hover:before,
.container nav ul li a:hover:after {
    transform: scaleX(1)

}