@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900,1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100,200,300,400,500,600,700,800,900,1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100,200,300,400,500,600,700,800,900,1000&display=swap');
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');


/*Global Styles*/
*{
    font-family: 'Poppins', 'Roboto', 'Comfortaa', sans-serif ;
    margin: 0;
    padding: 0;
}

/* -------------------- NAVBAR -------------------- */
.nav {
  width: 100%;
  height: 65px;
  position: fixed;
  line-height: 65px;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  padding-top: 20px;
  padding-bottom: 20px;
  transition: all 0.4s ease;
  z-index: 9999; /* stays on top */
}

.nav .nav-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav .logo {
  padding-left: 3rem;
}
.nav .logo a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
}
.nav .logo a:hover {
  color: #00E676;
}

/* Links */
.nav .main_list {
  height: 65px;
}
.nav .main_list ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav .main_list ul li {
  padding-right: 3rem;
}
.nav .main_list ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
}
.nav .main_list ul li a:hover {
  color: #00E676;
}

/* Trigger (hamburger) */
.nav .navTrigger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: absolute;
  right: 30px;
  top: 20px;
}
.nav .navTrigger i {
  background-color: #fff;
  border-radius: 2px;
  display: block;
  width: 100%;
  height: 4px;
}
.nav .navTrigger i:nth-child(2) {
  margin: 5px 0;
}

/* Scroll shrink effect */
.nav.affix {
  padding: 0;
  background-color: #111;
}

/* -------------------- MEDIA QUERIES -------------------- */
@media screen and (max-width: 768px) {
  .nav .navTrigger {
    display: block;
  }
  .nav .main_list {
    width: 100%;
    height: 0;
    overflow: hidden;
  }
  .nav .show_list {
    height: auto;
    display: block !important;
  }
  .nav .main_list ul {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: #111;
  }
  .nav .main_list ul li {
    width: 100%;
    text-align: center;
  }
  .nav .main_list ul li a {
    font-size: 20px;
    padding: 20px;
  }
}


/* Home section */

.home {
    width: 100%;
    height: 100vh;
    background-image: url(https://images.unsplash.com/photo-1498550744921-75f79806b8a7?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=b0f6908fa5e81286213c7211276e6b3d&auto=format&fit=crop&w=1500&q=80);
    background-position: center top;
	background-size:cover;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #111;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 20px;
        padding: 20px;
    }
    .nav div.media_button {
        display: block;
    }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #111;
}
.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}


/* .center.box{
    text-align: center;
    width: ;
} */

/*Footer Styles*/
/* Footer Base */
footer {
    background: #181818;
    color: #ededed;
    font-family: 'Poppins', 'Roboto', sans-serif;
    padding: 40px 10px 20px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Footer Container */
.footer-container {
    display: flex;
    width: 70%;           /* container width */
    max-width: 1200px;    /* optional max width */
    justify-content: space-between;
    margin: 0 auto;       /* centers container horizontally */
    flex-wrap: wrap;       /* allows responsiveness on smaller screens */
}

/* Boxes */
.left.box,
.center.box,
.right.box {
    flex: 0 0 30%;        /* each box takes 30% of container */
    display: flex;
    flex-direction: column;
    gap: 8px;             /* smaller spacing between items */
    align-items: center;  /* center content inside each box */
    min-width: 200px;     /* prevents boxes from being too small on mobile */
}

/* Box Titles */
.box h2 {
    font-size: 1.2em;
    font-weight: 600;
    color: #ededed;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

.box h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #e50914;
    margin: 5px auto 0 auto; /* centers the line */
}

/* Footer Links */
.footer-content {
    text-align: center; /* center links for all boxes */
}

.footer-content a {
    color: #ededed;
    text-decoration: none;
    font-size: 13px;
    display: block;      /* each link on its own line */
    margin: 3px 0;       /* smaller vertical spacing */
    transition: color 0.2s;
}

.footer-content a:hover,
.social a:hover {
    color: #e50914;
}

/* Social Icons */
.social a {
    font-size: 1.4em;
    margin: 0 5px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-container {
        display: flex;
        justify-content: center; /* center all boxes horizontally */
        width: auto;             /* let container shrink to fit content */
        gap: 40px;               /* space between boxes */
        margin: 0 auto;          /* center container */
        flex-wrap: wrap;         /* allows stacking on mobile */
    }

    .left.box,
    .center.box,
    .right.box {
        flex: 0 0 auto;          /* boxes only as wide as their content */
        display: flex;
        flex-direction: column;
        align-items: center;     /* center content inside each box */
        gap: 8px;                /* spacing between items in box */
    }
}