﻿* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}


html {

}

body {

}


/* Btn Scroll start */
#myBtn {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Fixed/sticky position */
	bottom: 20px;
	/* Place the button at the bottom of the page */
	right: 30px;
	/* Place the button 30px from the right */
	z-index: 2000;
	/* Make sure it does not overlap */
	border: none;
	/* Remove borders */
	outline: none;
	/* Remove outline */
	background-color: red;
	/* Set a background color */
	color: white;
	/* Text color */
	cursor: pointer;
	/* Add a mouse pointer on hover */
	padding: 5px;
	/* Some padding */
	border-radius: 10px;
	/* Rounded corners */
	font-size: 18px;
	/* Increase font size */
}

#myBtn:hover {
	background-color: #555;
	/* Add a dark-grey background on hover */
}

/* Btn Scroll Stop*/


nav {
	display: flex;
	justify-content:space-evenly;
	align-items: center;
	min-height: 8vh;
	background-color: black;
	font-family:'Times New Roman', Times, serif;
}

.logo {
	color: white;
	text-transform: uppercase;
	letter-spacing: 5px;
	font-size: 20px;
}

.logo a {
	text-decoration: none;
	color: white;
}

.logo a:hover {
	color:grey;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	width: 30%;
}

.nav links li {
	list-style-type:none;
}

.nav-links a {
	color:white;
	text-decoration: none;
	letter-spacing: 3px;
	font-weight: bold;
	font-size: 14px;
	padding: 5px;
}

.nav-links a:hover {
	color:grey;
}

.mobilemenu {
	display: none;
	cursor: pointer;
}

.mobilemenu div {
	width: 25px;
	height: 3px;
	background-color:white;
	margin: 5px;
	transition: all 0.3s ease;
}

@media screen and (max-width: 805px) {
	.nav-links {
	width: 60%;
	justify-content: space-evenly;

  }
}

@media screen and (max-width: 800px) {
	body {
	overflow-x: hidden;
  }
	.nav-links{
	position: absolute;
	right: 0px;
	height: 92vh;
	top: 8vh;
	background-color: lightblue;
	display:flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
	transform: translateX(100%);
	transition: transform 0.5s ease-in;
  }
  .nav-links li {
	opacity:1;
	list-style-type:none;
}
  .mobilemenu {
	display: block;
  }
}

.nav-active {
	transform: translateX(0%);
}

@keyframes navLinkFade {
	from{
    opacity: 0;
    transform: translateX(50px);
    }
	to{
	opacity: 1;
	transform: translateX(0px);
	}

}

.toggle .line1 {
	transform: rotate(-45deg) translate(-5px,6px);
}

.toggle .line2 {
	opacity: 0;
}

.toggle .line3 {
	transform: rotate(45deg) translate(-5px,-6px);
}

h1 {
	text-align: center;
}

h2 {
	text-align: justify;
	padding: 1rem;
}

.topics {
	text-align: center;
}

.container {
	display: grid;
	max-width: 100vw;
	padding: 0px;
	margin: 0px;
			
}

.row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows:  repeat(2, 1fr);
	width: 96vw;
	margin: 1rem;
	padding: 1rem 0rem 6rem 4rem;
	gap: 1rem;
}



img {
	height: 300px;
	width: 500px;
}

iframe {
	height:300px;
	width: 500px;
}

@media (max-width: 550px) {
	.row {
		grid-template-columns: 1fr;
	}

	img {
		height: 300px;
		width: 320px;
	}

	iframe {
		height: 300px;
		width: 320px;
	}

	h2 {
		font-size:larger;
	}

}

/* Start of footer */


#foot2 {
	max-width: 100%;
	margin: 0rem auto;
	background: black;
	position:fixed;
	bottom: 0rem;
	left: 0px;
	right: 0;
	height: 7rem;
}


#foot2,
#foot2 a {
	color: white;
	font-size: 1.5rem;
	text-decoration: none;	
}

#foot2 .wrapper {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 1rem;


}

#foot2 ul {
	list-style-type: none;
	margin-bottom: 20px;
	/* for narrow screens */
	padding: 1rem 0rem 0rem 5rem;
	/* override other generic styles */
}

@media (max-width: 550px) {
#foot2 ul {
		padding-left: 1rem;
	}
}

#foot2 li {
	list-style-type: none;
}

#foot2 .wrapper ul li a:hover {
	transition: 0;
}

#foot2 .wrapper ul li:hover a {
	padding-left: 0px;
}

#foot2 a:hover {
	color: red;

}

#foot2 li {
	line-height: 1.9;
}

.copy {
	font-size: large;
	padding: 0rem 0rem 6rem 2rem;
}

.btt {
	float: right;
	margin-right: 3em;
	font-size: xx-large;

}

.btt:hover {
	color: red;
}


@media(max-width: 960px) {
	.bottom {
		height: 60em;
	}

	#foot2 .wrapper {
		grid-template-columns: repeat(3, 1fr);
	}

	#foot2 {
		overflow: scroll;
	}
}

/* End of footer   */