/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  
}

body {
  font-family: "Poppins", sans-serif;
  color: black;
  background-color: rgb(191, 202, 221);
}

html {
  scroll-behavior: smooth;
}

p {
  color: black;
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
  color:rgb(191, 202, 221);
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  color:rgb(191, 202, 221);
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
  color: rgb(191, 202, 221);
}

a {
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: blue;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(191, 202, 221);
}

.logo {
  font-size: 2rem;
  color: blue;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
  background-color: rgb(191, 202, 221);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgb(191, 202, 221);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: medium;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

/* SHARED TEXT */

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  border-radius: 20px; /* Adjust the value for more or less rounding */
  overflow: hidden; /* Ensures the content respects the border-radius */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Creates a subtle shadow */
}

.section__text__p1 {
  text-align: center;
}

.title {
  font-size: 3rem;
  text-align: center;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(191, 202, 221) 0.1rem solid;
  
}

.btn-container {
  gap: 1rem;
}

/* DICTIONARY SECTION */

#dictionary {
  position: relative;
  color: blue;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.arrow {
  position: absolute;
  right: 5.5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1 1 14rem;
  max-width: 16rem;
  background-color: rgb(191, 202, 221);
  border-radius: 2rem;
  border: rgb(163, 163, 163) 0.1rem solid;
  border-color: white;
  text-align: center;
  text-decoration-color: black;
}

.section-container {
  gap: 4 rem;
  height: 80%;
}

.section__pic-container {
  height: 200px;
  width: 280px;
  margin: auto 0;
}

.services-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: black;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;

}

/* ABOUT SECTION */

#about {
  position: relative;
  color: blue;
  height: fit-content;
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 2.5rem;
  border-radius: 2rem;
  border: rgb(163, 163, 163) 0.1rem solid;
  border-color: white;
  background-color: rgb(191, 202, 221);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.about-profile-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-mission {
  margin-top: 1rem;
  color: blue;
}

.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0.75rem;
}

.about-contact-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.about-contact-icons .icon {
  height: 1.5rem;
}

/* BOOKS SECTION */

#books {
  position: relative;
  color: blue;
}

.color-container {
  border-color: rgb(245, 244, 244);
  background-color: rgb(191, 202, 221);
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
}

.project-title {
  margin: 1rem;
  color: black;
  font-size: medium;
}

.project-btn {
  margin: 1rem;
  color: black;
  border-color: rgb(163, 163, 163);
}

/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}
/* BLOG SECTION */
#blog {
  padding: 4rem 2rem;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  flex-direction: row;
}

.blog-main {
  flex: auto;
  display: flex;
  flex-direction: column;
}

.blog-post {
  background: rgb(191, 202, 221);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-post h3 {
  margin-bottom: 0.5rem;
}

.blog-sidebar {
  flex: 1;
  background: rgb(191, 202, 221);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-sidebar h3 {
  margin-bottom: 1rem;
  color: blue;
}

.blog-sidebar h4 {
  margin-bottom: 1rem;
  color: rgb(180, 6, 96);
}

.blog-sidebar ul {
  list-style-type: none;
  padding: 0;
}

.blog-sidebar li {
  margin-bottom: 0.5rem;
}

.blog-sidebar a {
  color: blue;
  text-decoration: none;
}

.blog-sidebar a:hover {
  text-decoration: underline;
}

.blog-sidebar p {
  margin-top: 1rem;
}

/* Admin and Login Section */
#admin-section, #admin-login {
  margin-top: 2rem;
}

#post-content {
  width: 100%;
  height: 200px;
}



