/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Merriweather", sans-serif;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  font-size: 100%;
}

/* TRANSITION */
a,
.btn {
  transition: all 0.3s ease;
}

/* NAVIGATION LOGO */
button.logo {
  background: transparent;
  line-height: 0;
  cursor: pointer;
  margin-bottom: 1.69rem; /* 27px */
  border: none;
  outline: none;
  padding: 0;
  margin-left: 2.81rem; /* 45px */
}

.logo img {
  width: 8.44rem; /* 135px */
  height: auto;
  transition: 0.4s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

/* MAIN LOGO STYLING */
.main-logo {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 8.44rem; /* 135px */
}

.main-logo img {
  width: 30%;
  height: 30%;
  transition: 0.4s ease;
}

.main-logo img:hover {
  transform: scale(1.1);
}

/* MAIN TEXT STYLING */
.scholar-title {
    position: absolute;
    top: 16.88rem; 
    color: rgb(252, 229, 205);
    font-size: 4.5rem; /* 72px */
    text-align: center;
    padding: 1.69rem; /* 27px */
    border: 0.28rem solid rgb(252, 229, 205); /* 4.5px */  
}

/* DESKTOP NAVIGATION */
.top-header {
  position: fixed;
  height: 8.44rem; /* 135px */
  display: flex;
  width: 100%;
  background: rgba(92, 51, 23, 0.4);
  transition: background 0.3s ease;
  z-index: 1000;
  gap: 3.94rem; /* 63px */
}

.top-header.scrolled {
  background: rgb(92, 51, 23);
  width: 100vw;
  height: 19vh;
}

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

/* Removes the bulletpoints and adjusts font size */
.nav-links {
  gap: 1.8rem;
  list-style: none;
  font-size: 1.35rem;
}

/* Color of the Navigation Text */
a {
  color: rgb(252, 229, 205);
  font-size: 1.01rem; /* ~16px */
  text-decoration: none;
  text-decoration-color: white;
  transition: 0.4s ease;
}

/* Effect of the Navigation Text when Hovering */
a:hover {
  text-shadow: 0 0 0.45rem rgba(205, 208, 252, 0.9);
  text-decoration: underline;
  text-underline-offset: 0.17rem;
  transform: scale(1.05);
}

/* ACTIVE NAV ITEM */
.nav-links a.active {
  font-weight: 800;
}

/* HAMBURGER MENU STYLING */
#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  width: 1.69rem; /* 27px */
  height: 1.35rem; /* 22px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 0.11rem; /* 1.8px */
  background-color: rgb(252, 229, 205);
  transition: all 0.3s ease-in-out;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(0.34rem, 0.5rem);
}
.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(0.34rem, -0.54rem);
}

/* Reset when closed */
.hamburger-icon span {
  transform: none;
  opacity: 1;
}

/* Dropdown */
.menu-links {
  position: fixed;
  text-align: center;
  margin-top: 0.9rem;
  left: 0;
  right: 0;
  background: rgb(92, 51, 23);
  width: 100vw;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0.34rem 1rem rgba(0, 0, 0, 0.12);
  padding: 0;
}
.menu-links.open {
  max-height: 18rem;
}
.menu-links li {
  list-style: none;
}
.menu-links a {
  display: block;
  padding: 0.68rem 0.9rem;
  font-size: 0.85rem; /* 13.6px */
  color: rgb(252, 229, 205);
  text-decoration: none;
}
.menu-links a:hover {
  background: #f4f4f4;
}

/* ------------------- LANDING IMAGES ----------------------- */
.scholar-landing-image img {
  margin-top: -6.19rem; /* -99px */
  width: 100vw;
  height: auto;
}

.scholar-landing-image {
  margin: 0 auto;
}

/* -------------------  INITIAL TEXT STYLING  ------------------- */
#initial-text {
    background: rgb(252 , 229, 205);
    padding: 80px
}

.section-text {
    margin-left: 60px;
    margin-right: 50px;
}

/* -------------------  ACCORDION TEXT STYLING  ------------------- */
#accordions {
    height: 60vh;
    background: rgb(252,229,205)
}

.accordion {
    all: unset; 
    display: block;
    width: 100%;
    background: rgb(252,229,205);
    color: rgb(92,51,23);
    font-family: "Merriweather", sans-serif;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    cursor: pointer;
    padding: 18px;
    transition: background .3s, color .3s;
}


.accordion:hover,
.accordion.active {
    background: rgb(92,51,23);
    color: rgb(252,229,205);
    text-decoration: none; 
}

.panel {
    padding: 0 18px;
    background: #fff;
    text-align: center;
    overflow: hidden;
    transition: max-height .3s ease;
}

.panel ul {
    list-style: none;     
    padding-left: 0;      
    margin: 10px;  
              
}



/* ------------------- SOCIALS STYLING ------------------- */

#socials {
    background-color: rgb(92, 51, 23);
    width: 100%;
    height: 50vh;
    padding: 50px;
}

.social-details {
    justify-content: left;
}

.social-text p {
    color: rgb(252 , 229, 205);
    font-size: 25px;
}

.social-title h2{
    color: rgb(252 , 229, 205);
    font-size: 50px;
    left: 0;
    width: 100%;
    text-align: center;
}

.insta-button {
    width: 80px;
    height: auto;
    background: none;
    border-radius: 0%;
    border: none;
    cursor: pointer;
    
}

.insta-button img {
    width: 80px;
    height: auto;
    transition: 0.2s ease;
}

.insta-button img:hover {
    transform: scale(110%);
    box-shadow: 0 0 8px rgba(252 , 229, 205,.9);
    border-radius: 50%;
}


/* ------------------- FOOTER STYLING ------------------- */

footer {
    margin-top: auto;
    position: relative;
    padding: 10px;    
    text-align: center;
    width: 100%;
    background: rgb(252 , 229, 205);
}

footer p {
    margin: 0;
}