
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

* {
    box-sizing: border-box; /*if we add border or padding, it doesn't affect the width of it. */
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #222;
    padding-bottom: 50px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0px auto;
}

/* nav */
.nav {
    position: fixed;
    background-color: #222;
    top: 0px;
    left: 0px;
    right: 0px;
    transition: all 0.3s ease-in-out;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px;
    transition: all 0.3s ease-in-out;
}

.nav ul {
    display: flex;
    list-style-type: none;
    align-items: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 7px 15px;
    transition: all 0.3s ease-in-out;
}

.nav .logo a{
    color: rgba(8, 243, 8, 0.664);
}

/* nav style on scroll */
.nav.active {
    background-color: #fff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}
.nav.active a {
    color: #222;
}

.nav.active .container {
    padding: 10px 0px;
}

.nav a.current, .nav a:hover {
    color: #254cd7;
    font-weight: bold;
}

/* hero image */
.hero {
    background-image: url('Images/stickyNav.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    height: 100%;
    height: 130vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 20px 0px;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* image content */
.hero h1 {
    font-size: 46px;
    margin: -20px 0px 20px;
}

.hero p {
    font-size: 20px;
    letter-spacing: 1px;
}

/* main content */
.content h2, .content h3 {
    font-size: 1.5rem;
    margin: 10px 0px;
}

.content p {
    color: #555;
    line-height: 30px;
    letter-spacing: 1.2px;
}
