*, *::before , *::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
/*Navigation Style*/  
.topnav {
    overflow: hidden;
    background-color: #2b2828;
    box-shadow: 2px 2px 2px rgb(4, 254, 250);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    border-bottom: 1px solid black;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
  
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
  
.topnav a.active {
    background-color: #30f212;
    color: rgb(0, 0, 0);
}
  
.topnav .icon {
    display: none;
}
/*Rest of code is designed for mobile first and media query runs for desktop site*/
/*Header Styling*/

.header {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    font-size: .75em;
    height: 20vh;
    background-image: url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&q=80&w=2940&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
}

.header-content{
    background-color: rgba(94, 255, 123, 0.757);
    color: rgb(0, 0, 0);
    width: 100%;
    text-align: center;
}

/*For header effect*/
.main-heading::after{
    content: "|";
    font-size: 1em;
    animation: blink .75s step-end infinite;
}

@keyframes blink {
    from, to { color: transparent }
    50% { color: rgb(0, 0, 0) }
}

/*main section*/
.main {
    font-size: .75em;
    height: 100vh;
    width: 100vw;
    background-image: url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&q=80&w=2940&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-attachment:fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.main h2 {
    text-align: center;
    font-size: 2rem;
    color: white;
    width: 100%;
}

.main object {
    width: 80vw;
    height: 80vh;
}

.main a {
    color: white;
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
}

/*Footer Section*/
.footer {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(71, 205, 95);
    height: fit-content;
}

.footer-content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer a {
    color: #084181;
}

.footer a:hover {
    color: #1062c0;
}

.credit {
    background-color: aquamarine;
    width: 100%;
    text-align: center;
}
/*Navigation Style for mobile*/
@media screen and (max-width: 600px) {
    .nav-content a {
        display: none;
    }
    .topnav a.icon {
      float: right;
      display: block;
    }
    .topnav.responsive {
        position: relative;
        display: block;
    }
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
}

@media screen and (min-width: 600px) {
    /*Header styling for desktop view*/
    .header {
        height: 30vh;
        font-size: 2em;
    }
    
    .footer {
        font-size: 1.25em;
    }
}

