/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style for the header */
header {
    width: 100%; /* Full width */
    background-color: #edf2fb; /* Background color (blue in this example) */
    color: rgb(0, 0, 0); /* Text color */
    padding: 20px; /* Padding inside the header */
    box-sizing: border-box; /* Include padding and border in the element's width and height */
}

/* Style for the header title */
header h1 {
    margin: 0; /* Remove default margin */
    font-size: 2em; /* Font size for the header title */
    text-align: left; /* Align title to the left */
}

/* Style for the navigation menu */
header nav ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Margin around the navigation */
    text-align: right; /* Align the navigation items to the right */
    border-bottom: 3px solid black; /* Add bottom border */

}

/* Style for the navigation links */
header nav ul li {
    display: inline; /* Display list items inline */
    margin-right: 20px; /* Spacing between links */
}

header nav ul li:last-child {
    margin-right: 0; /* Remove the margin after the last item */
}

header nav ul li a {
    font-family: 'Roboto Mono', monospace; /* Updated font family */
    text-decoration: none; /* Remove underline */
    font-size: 1.2em; /* Font size for the links */
}

header nav ul li a:hover {
    text-decoration: underline; /* Underline links on hover */
}

/* Responsive design: Make the header text and links scale on smaller screens */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5em; /* Smaller font size for smaller screens */
    }

    header nav ul li a {
        font-size: 1em; /* Slightly larger font size for links on smaller screens */
    }
}


.header-logo {
    position: absolute;
    top: 10px; /* Adjust to position it further down or up */
    left: 10px; /* Adjust to position it further to the right or left */
    width: 80px; /* Adjust the size of the logo */
    height: auto; /* Maintain the logo's aspect ratio */
  }



.link-1 {
    color: black; /* Green color for the first link */
    text-decoration: none;
    font-family:system-ui;        
    font-size: 1.2em;
    font-weight: bold;
}

.link-2 {
    color: black; /* Blue color for the second link */
    text-decoration: none;
    font-size: 1.2em;
    font-family:system-ui;        
    font-weight: bold;

}

.link-3 {
    color: black; /* Pink color for the third link */
    text-decoration: none;
    font-size: 1.2em;
    font-family:system-ui;        
    font-weight: bold;


}

.link-4 {
    color: black; /* Pink color for the third link */
    text-decoration: none;
    font-size: 1.2em;
    font-family:system-ui;        
    font-weight: bold;

}

.link-5 {
    color: black; /* Pink color for the third link */
    text-decoration: none;
    font-size: 1.2em;
    font-family:system-ui;        
    font-weight: bold;

}


/* Section styling */
section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensures section covers full viewport height */

}

/* Container styling for image */
.Container img {
    height: 300px;
    border-radius: 50%;
    border: none; /* Ensure no border around image */
}

/* Container styling for heading */
.Container h2 {

    margin-top: 2%;
    font-size: 3em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* Container styling for paragraph and unordered list */
.Container p, ul {
    margin-top: 2%;
    font-size: 1.5rem;
}

/* Footer styling */



/* Navigation bar styling */
header nav ul li a {
    font-size: 0.9em; /* Smaller font size for the nav bar */
}


.logo_div {
width:100%;
}



#logo{
display:inline-block;
position: absolute;
  top: 0;
  left: 0;}

  footer {
    line-height: 30px;
    display: flex;
    background-color: #edf0f6;
    color:rgb(0, 0, 0)
    
}

footer img {
    width: 50px;       /* Set width */
    height: 50px;      /* Set height */
}


/* Responsive adjustments */

@media (max-width: 1024px) {
  /* Medium screens - tablets and small laptops */
  header nav ul li a {
    font-size: 1em; /* Slightly larger nav links */
  }
  
  .Container h2 {
    font-size: 2.2em;
  }
  
  .Container p, ul {
    font-size: 1.2rem;
  }
  
  footer img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  /* Small screens - phones */
  
  header {
    padding: 10px;
  }

  header h1 {
    font-size: 1.3em;
  }
  
  header nav ul {
    text-align: center;
  }
  
  header nav ul li {
    display: block;
    margin: 8px 0;
  }

  header nav ul li a {
    font-size: 1em;
  }

  .Container h2 {
    font-size: 1.8em;
    margin-top: 5%;
  }
  
  .Container p, ul {
    font-size: 1rem;
    margin-top: 5%;
  }

  footer {
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
  }

  footer img {
    width: 35px;
    height: 35px;
    margin: 5px 0;
  }

  section {
    flex-direction: column;
    min-height: auto;
  }
}

/* Responsive text and padding adjustments */

@media (max-width: 1024px) {
  /* Slightly smaller text and reduced padding on tablets and small laptops */
  #wanttolearn p,
  #wanttolearn h3,
  #wanttolearn h4,
  #wanttolearn h2 {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  #wanttolearn p,
  #wanttolearn h3,
  #wanttolearn h4 {
    font-size: 18px !important;
  }

  #wanttolearn h2 {
    font-size: 3em !important;
  }
}

@media (max-width: 600px) {
  /* On phones: stack content and reduce font size */
  #wanttolearn p,
  #wanttolearn h3,
  #wanttolearn h4,
  #wanttolearn h2 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    text-align: center;
  }

  #wanttolearn p,
  #wanttolearn h3,
  #wanttolearn h4 {
    font-size: 16px !important;
  }

  #wanttolearn h2 {
    font-size: 2em !important;
    padding-top: 20px !important;
  }

  /* If you add more layout divs, make sure they stack vertically on small screens */
  .half.right {
    width: 100% !important;
  }
}
/* Medium screens (tablets, small laptops) */
@media (max-width: 1024px) {
  /* Slightly smaller headers for better fit */
  .Container h2 {
    font-size: 2em; /* from 2.2em down to 2em */
  }
  
  /* Paragraph and list text slightly smaller */
  .Container p, ul {
    font-size: 1.1rem;
  }

  /* Slight padding adjustments for text-heavy sections */
  section, .Container p, ul {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Footer icons slightly smaller */
  footer img {
    width: 40px;
    height: 40px;
  }
}

/* Small screens (phones and small tablets) */
@media (max-width: 600px) {
  /* Reduce header font size more */
  .Container h2 {
    font-size: 1.6em;
    margin-top: 5%;
  }

  /* Reduce paragraph and list font size */
  .Container p, ul {
    font-size: 0.95rem;
    margin-top: 5%;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Stack nav menu vertically */
  header nav ul {
    text-align: center;
  }
  
  header nav ul li {
    display: block;
    margin: 6px 0;
  }

  header nav ul li a {
    font-size: 1em;
  }

  /* Reduce header padding for small screens */
  header {
    padding: 10px 10px;
  }

  /* Footer layout stacked with smaller icons and spacing */
  footer {
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
  }

  footer img {
    width: 35px;
    height: 35px;
    margin: 5px 0;
  }

  /* Make sections stack vertically */
  section {
    flex-direction: column;
    min-height: auto;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .Container h2 {
    font-size: 1.3em;
  }

  .Container p, ul {
    font-size: 0.9rem;
    padding-left: 8px;
    padding-right: 8px;
  }

  header nav ul li a {
    font-size: 0.9em;
  }

  /* Further reduce footer icon size */
  footer img {
    width: 30px;
    height: 30px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .Container h2 {
    font-size: 1.1em;
  }

  .Container p, ul {
    font-size: 0.85rem;
    padding-left: 6px;
    padding-right: 6px;
  }

  header nav ul li a {
    font-size: 0.85em;
  }

  footer img {
    width: 28px;
    height: 28px;
  }
}
