body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0c1a2c;
    color: white;
}


header {
  height: 60px;
  width: 100%;
  background-color: #003366;
  color: white;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  /* padding: 1rem 2rem; */
  /* position: relative; */
  
}


nav {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* position:sticky;
  top: 0; */
}
.logo{
  height:55px;
  width: 65px;
  background-image: url(img/logo1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /* background-color: yellow; */
  margin-left: 20px;
  border-radius: 10%;

}
.links{
  height: 100%;
  width: 70%;
  /* background-color: yellow; */
  display: flex;
  align-items: center;
  font-size: 20px;
  justify-content: flex-end;
  margin-right: 25px;


}

nav ul {
  display: flex;
  list-style: none;
  /* margin-left: 80px; */
  padding: 0;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: lightblue;
}


.menua{

  display: none;
}
a{
  text-decoration: none;
  color: #fff;
}
  


.section {
    padding: 40px 20px;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2em;
}
/*waveenergy*/
.wave-energy-section {
  display: flex;
  align-items: center;
  padding: 20px;
  /* border: 2px solid #e6e6e6; */
  /* border-radius: 10px; */
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  /* background-color: #fff; */
  max-width: 800px;
  margin: 0 auto;
}

.wave-energy-text {
  flex: 1;
  padding-right: 20px;
}

.wave-energy-text h2 {
  color: #3AB54A;
  font-size: 24px;
  margin-bottom: 10px;
}

.wave-energy-text p {
  color: #fff;
  font-size: 18px;
  margin: 0;
}

.wave-energy-image {
  flex: 1;
}

.wave-energy-image img {
  max-width: 100%;
  border-radius: 10px;
}/*waveenergy ends*/
/*.problem {
    background-color: #003366;
    text-align: center;
}

.problem .stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.problem .stats div {
    flex: 1;
    text-align: center;
    font-size: 1.5em;
}

.solution, .magic {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #14253a;
}

.solution .text, .magic .text {
    flex: 1;
    padding: 20px;
}

.solution img {
    flex: 1;
    width: 300px;
    height: auto;
}
*/

/*abtwave*/
.abtwave{
  background-color: #fff;

}

.energy-section {
  display: flex;

  align-items: center;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.energy-info {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  flex-direction: row;
}

.energy-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #e6e6e6;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  flex-basis: 45%;
  background-size: cover;
  
}

.energy-block img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.energy-block h3 {
  color: #003366;
  font-size: 20px;
  margin-bottom: 10px;
}

.energy-block p {
  color: #333;
  font-size: 16px;
  margin: 0;
}
/*ends*/


footer {
  background-color: #003366;
  color: white;
  
}
footer p{
  text-align: center;
}
@media (max-width: 768px) {
  nav ul li a {
    flex-direction: column;
    display: none;
  }
nav ul.active {
  display: flex;
}

.menua{
  display: flex;
}
.energy-info {
  flex-direction: column;
  align-items: center;
}

.energy-block {
  flex-basis: 100%;
  margin: 10px 0;
}

.energy-block h3 {
  font-size: 18px;
}

.energy-block p {
  font-size: 14px;
}
}