*{
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
    background-color: black;
}
/*Code for background image in header*/
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.6), rgba(4, 9, 30, 0.6)),url(images/banner5.jpeg);
    background-position: center;
    background-position-y: bottom;
    background-size: cover;
    position: relative;
}
.header ul {
    background: transparent;
}
.header li {
    background: transparent;
}
.header a {
    background: transparent;
}
/*Code for navigation bar*/
 nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}
nav img {
    width: 150px;
}
.nav-links {
    flex: 1;
    text-align: right;
}
.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li ::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #c7eb43;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li :hover::after {
    width: 100%;
}
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: transparent;
}
.text-box h1 {
    font-size: 62px;
    background: transparent;
}
.text-box h2 {
    background: transparent;
}
.text-box h4 {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
    background: transparent;
}
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover {
    border: 1px solid #c7eb43;
    background: rgb(199, 235, 67);
    transition: 1s;
}

.close-icon{
    display: none;
    background: transparent;
}
.menu-bars {
    display: none;
    background: transparent;
}

/*Code for small screen bar menu*/
@media(max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }
    .nav-links ul li {
        display: block;
    }
    .fas {
        background: transparent; /*makes bars background trans*/
    }
    .far {
        background: transparent; /*make close x box trans*/
    }
    .nav-links {
        position: fixed;
        background-color: rgba(58, 67, 151, 0.6);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    .close-icon {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .menu-bars {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 30px; 
    }
}
/*--------- programs---------*/
.programs {
    width: 100%; /*Centers text on page*/
    text-align: auto;
    text-align: center;
    padding-top: 100px;
}
h1 {
    font-size: 36px;
    font-weight: 600;
    color: white;
}
p {
    color: #b8b8b8;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row {
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    width: 80%; /* Centers Rows on 80% of page*/
    display: flex;
    justify-content: space-between; /*Creates space between rows*/
}
.program-col {
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: white;
}
.program-col:hover {
    box-shadow: 0 0 20px 0px rgba(100,0 0, 0.2);
}
/*Code to align rows vertically on mobile devices*/
@media (max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

/*-------Games-------*/
.games {
    width: 80%; /*80 for 3 col*/
    margin: auto;
    text-align: center;
    padding-top: 80px;
}
.games-col {
    flex-basis: 32%; /* 32% for 3 col */
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.games-col img {
    width: 100%;
    display: block; /* makes column images round at the bottom*/
}
.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover {
    background: rgba(58, 67, 151, 0.7);
}
.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
    background: transparent;
}
.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}

/*-------------fun CG----------*/
.facilities {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.facilities-col {
    flex-basis: 32%; /* sized for 3 columns */
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facilities-col img {
    width: 100%;
    border-radius: 10px;
}
.facilities-col p {
    padding: 0;
    color: #b8b8b8;
}
.facilities-col h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
    color: white;
}

/*---------testimonials----------*/
.testimonials {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.testimonials-col {
    flex-basis: 44%; /* sized for 2 colums not 3 */
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    cursor: pointer;
    display: flex;
}
.testimonials-col img {
    height: 40px; /* possition top of column */
    margin-left: 5px; /* possition left side of column */
    margin-right: 30px; 
    border-radius: 50%; /* make image a circle */
}
.testimonials-col p {
    padding: 0;
}
.testimonials-col h3 {
    margin-top: 15px;
    text-align: left;
}
.testimonials-col .fas {
    color: #aaee0b; /* makes stars red */
}
/* adjusts testimonials to smaller screen */
@media (max-width: 700px) {
    .testimonials-col img {
        margin-left: 0;
        margin-right: 15px;
    }
}

/*--------Call to Action--------*/
.cta {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(2, 2, 2, 0.3), rgba(0,0,0,0.7)), url(images/button.jpg);
    background-position: center;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1 {
    color: white;
    margin-bottom: 40;
    padding: 0;
    background: transparent;
}
@media(max-width: 700px) {
    .cta h1 {
        font-size: 24px;
    }
}
/*--------Footer--------*/
.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
    color: white;
}
.icons .fab {
    color: #aaee0b;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart {
    color: #ee0b0b;
}

/*-------About Me Page------*/
.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(images/aboutMe.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header ul {
    background: transparent;
}
.sub-header li {
    background: transparent;
}
.sub-header a{
    background: transparent;
}
.sub-header h1 {
    background: transparent;
}
.about-me {
    width: 80%;
    margin: auto;
    padding-bottom: 50px;
}
.about-col {
    flex-basis: 100%;
    padding: 30px 2px;
}
.about-col img {
    width: 100%;
}
.about-col H1 {
    padding: 10px 0px 10px;
}
.about-col p {
    padding: 10px 15px;
}
.green-btn {
    border: 1px solid #c7eb43;
    background: transparent;
    color: #c7eb43;
}
.green-btn:hover {
    color: white;
}

/*------Contact Page-------*/
.contct-us {
    width: 80%;
    margin: auto;
}
.contact-col {
    flex-basis: 100%;
    margin-bottom: 30px;
    margin-top: 40px;
}
.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fas {
    font-size: 28px;
    color: #c7eb43;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p {
    padding: 0;
}
.contact-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #b8b8b8;
    font-weight: 400;
}
.contact-col input, .contact-col textarea, .contact-col button{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
    color: white;
    
}
.contact-col button{
    width: 30%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc; 
    margin-right: 30px;
}

/*--------Tic Tac Toe Content---------*/
.TTT-content {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.TTT-col {
    flex-basis: 48%;
    padding: 30px 12px;
    
}
.TTT-col video {
    width: 100%;
}
.TTT-col H1 {
    padding-top: 0;

}
.TTT-col p {
    padding: 15px 0 25px;
}

/*--------Space Flight Content---------*/
.spaceFlight-content {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.spaceFlight-col {
    flex-basis: 45;
    padding: 30px 2px;
    
}
.spaceFlight-col script {
    width: 100;
}

.spaceFlight-col H1 {
    padding-top: 0;

}
.spaceFlight-col p {
    padding: 15px 0px 25px;
}
.spaceFlight-col1 button {
    padding-top: 20px;
}
/*--------Hyperbolic Paraboloid Content---------*/
.HP-content {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.HP-col {
    flex-basis: 48%;
    padding: 30px 12px;
    
}
.HP-col H1 {
    padding-top: 0;

}
.HP-col p {
    padding: 15px 0 25px;
}
