@import url("https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Foundation&display=swap");

/* Setting the default font family, font size, and scroll behavior for the entire document */
html {
  font-size: 20px;
  font-family: "Edu NSW ACT Foundation", cursive;
  scroll-behavior: smooth;
}

/* Resetting margins and paddings for all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0093e9;
  background-image: linear-gradient(160deg, #42275a 0%, #734b6d 100%);
  color: white;
}

/* Styling the header section */
header {
  padding: 0.25rem 0.5rem;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  background-color: black;
}

/* Styling the header's heading element */
header h1 {
  font-style: italic;
  padding: 0.5rem 0.5rem;
}

/* Styling the navigation menu in the header */
header nav {
  width: 30vw;
}

/* Styling the navigation menu in the header */
header ul {
  position: relative;
  top: 5px;
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  padding: 0.5rem 0.25rem;
}

header ul a {
  text-decoration: none;
  color: white;
  font-size: 120%;
  display: block;
  transition: all 0.5s;
}

/* Hero section styles */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-color: #f6f6f6;
  background-image: url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #e22240;
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  font-size: 1.2rem;
  text-decoration: none;
}

.hero-image {
  flex: 1;
  margin-left: 2rem;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Styling About Section. */
#About {
  text-align: justify;
  padding: 0.25rem 0.5rem;
  margin: 0.5rem;
}
.about h2 {
  text-align: center;
  margin: 1rem 0;
  font-size: 2rem;
}
.about-content {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  flex: 1 1 0;
  max-width: 50%;
  font-size: 1.3rem;
}
.about-image {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
}
/* stylung contact section */
#contact h2 {
  text-align: center;
}

#contact {
  width: 70%;
  margin: auto;
}
#contact fieldset {
  width: 100%;
  border: 0;
}

#contact h2 {
  text-align: center;
}
#contact label,
input,
textarea {
  margin: 0.25rem 0.5rem;
  width: 90%;
  display: block;
  font-size: 1.2rem;
  padding: 0.25rem;
  outline: 0;
}

#contact label {
  font-weight: bold;
}

#contact input,
#contact textarea {
  border-radius: 0.5rem;
}

#contact .btn {
  font-size: 1rem;
  margin: 0.25rem 0.5rem;
  padding: 0.4rem 0.75rem;
}

/* Styling footer of the page */

footer {
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-family: "Times New Roman", Times, serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column nowrap;
  color: #fff;
  border-top: 1px solid white;
  box-shadow: 0px -0.3px 3px rgb(255, 244, 244);
  margin-top: 1rem;
  /* background-color: black; */
}
footer img {
  width: 200px;
  height: auto;
}

.nav-form {
  display: flex;
  width: 80%;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.nav-form ul {
  list-style: none;
}
.nav-form a {
  text-decoration: none;
  color: white;
  display: block;
  transition: all 0.5s;
}

.nav-form a:hover,
header ul a:hover {
  color: rgba(255, 255, 255, 0.685);
  transform: scale(1.2);
}

.nav-form input {
  font-size: 1rem;
  margin: 0.25rem 0;
  border: 0;
  border-radius: 0.3rem;
}

.footer-log {
  opacity: 50%;
}

.footer-log:hover {
  opacity: 100%;
}

/* Utlity Classes */
.hidden {
  position: absolute;
  left: -99999px;
}
