@font-face {
    font-family: Gruppo-Regular;
    src: url(./fonts/Gruppo-Regular.ttf);
  }

@font-face {
    font-family: Harabara;
    src: url(./fonts/Harabara.ttf);
  }

@font-face {
    font-family: Cirqua;
    src: url(./fonts/Cirqua.ttf);
  }

@font-face {
    font-family: Montserrat-SemiBold;
    src: url(./fonts/Montserrat-SemiBold.otf);
  }

@font-face {
  font-family: AfterisMoghu-Demo;
  src: url(./fonts/AfterisMoghu-Demo.otf);
}

body {
  transition: background-color 0.3s, color 0.3s;
  width: 100%;
  height: 100%;
  background-size: cover;
}

body.light-mode {
  background: linear-gradient(rgb(255, 255, 255), #f3f3f3);
  color: #000000;
}

body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode h1 {
  color: #9ECAE7;
}

body.dark-mode h2 {
  color: #9ECAE7;
}

body.dark-mode h3 {
  color: #9ECAE7;
}

body.dark-mode a {
  color: #ffffff;
}

body.dark-mode hr {
  color: #ffffff;
}

body.dark-mode button {
  color: #ffffff;
}

body.dark-mode #myBtn {
  color: white; /* Light text color */
}

/* Hover effect for the button in dark mode */
body.dark-mode #myBtn:hover {
  background-color: #9ECAE7;
}


h1{
  text-align: center;
  color: #2D457D; 
  font-size: 16vw; 
  font-family: "Cirqua"; 
  font-weight: 400; 
  word-wrap: break-word;
  margin-bottom: 11%;
}


h2{
  display: inline;
  font-family: "Cirqua";
  margin-left: -30px;
  color: #2D457D;
}

h3{
  font-size: 1.5em; 
  font-weight: bolder;
  font-family: "Cirqua";
  color: #2D457D;
}

main{
  margin-left: 40%;
  margin-right: 10%;
  margin-top: -440px;
  background-size: cover;
  
}

.toggle-button {
  position: fixed;
  left: 40px;
  top: -14px;
  margin: 20px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: none;
  color: #2D457D;
  border-radius: 5px;
  display: inline-block;
  background-color: transparent;
}

#moon-icon{
  display: inline-block;
  margin-left: 20px;
}

#home-logo{
  max-width: 100%;
  width: 900px;
  margin-top: -140px;
}

#intro{
  color: #8A8A8A; 
  font-size: 20px; 
  font-family: "Gruppo-Regular"; 
  font-weight: 400; 
  position: relative;
  top: -220px;
  left:auto;
  right:2%;
  bottom: auto;
  
}

a{
  text-decoration: none;
  color: #2D457D;
}

a:hover {
  color: #F05757;
}

a:visited {
  text-decoration: none;
}

a:active {
  text-decoration: none;
  color: #2D457D;
}

.btn {
  background-color: #2D457D;
  border: none;
  border-radius: 8px;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover {
  background-color: #F05757;
}

/* footer divs*/

footer{
    width: 100%; 
    height: 100%; 
    color: #8A8A8A; 
    font-size: 20px; 
    font-family: "Gruppo-Regular"; 
    font-weight: 400; 
    word-wrap: break-word"
}

#footer-links {
  width: 100%; 
  height: 100%; 
  position: relative
}

#footer-image {
  width: 60px; 
  height: 60px; 
  left: 119px; 
  margin-left: 33px;
  margin-right: 33px;
  margin-bottom: -20px;
  display: inline-block;
  border-radius: 20px
}

#footer-pagelinks{
  width: 200px; 
  height: 77px; 
  left: 229px; 
  top: 49px; 
  display:inline-block;
  color: #2D457D; 
  font-size: 24px; 
  font-family: "Montserrat-SemiBold"; 
  font-weight: 600; 
  word-wrap: break-word
}

#footer-copyright{
  width: 50%; 
  height: 59px; 
  left: 156px; 
  top: 166px; 
  display: inline-block;
  text-align: center; 
  color: #8A8A8A; 
  font-size: 20px; 
  font-family: "Gruppo-Regular"; 
  font-weight: 400; 
  word-wrap: break-word
}

#footer-contact{
  width: 235px; 
  height: 59px; 
  left: 35px; 
  top: 147px; 
  display: inline-block; 
  color: #8A8A8A; 
  font-size: 20px; 
  font-family: "Gruppo-Regular"; 
  font-weight: 400; 
  word-wrap: break-word;
}

hr {
  background-color: #dfdfdf;
  margin-bottom: 35px;
  margin-top: 10px;
}

/* homepage menu css */ 

/*, ---(*,)<--- removed to create bullets beside links*/
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

body,
html {
  width: 100%;
  font-size: 16px;
  color: #2D457D;
  font-weight: normal;
  font-family: "Montserrat-SemiBold";
  display: inline-block;
}

#ham-menu {
  display: none;

}
label[for="ham-menu"] {
  display: inline-flex;
  position: fixed;
  top: 24px;
  left: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
}
.ham-menu {
  width: 80vw;
  height: 100%;
  position: fixed;
  top: 0;
  visibility: hidden;
  transform: translate(-110%);
  z-index: 998;
  transition: 1s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ham-menu > ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  padding: 200px;
  height: 60%;
}
.ham-menu > ul > li {
  font-size: 4rem;
  white-space: nowrap;
  letter-spacing: 0.10em;
  cursor: pointer;
  color: #F05757;
}
#ham-menu:checked + label {
  background-color: transparent;
  border-color: none;
}
#ham-menu:checked ~ div.ham-menu {
  transform: translate(0px);
  visibility: visible;
}
.full-page-green {
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  height: 70%;
  border-radius: 20px;
  box-shadow: 3px 2px 2px #e2e2e2;
  background-color: #f3f3f3;
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: 500ms;
  position: fixed;
  top: 50px;
  left: 25px;
}
#ham-menu:checked ~ div.full-page-green {
  display: block;
  opacity: 1;
  visibility: visible;
}
[for="ham-menu"] > div {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column wrap;
  align-content: center;
  align-items: center;
}
.menu-line {
  display: block;
  width: 17px;
  height: 2px;
  margin: 10px 0 5px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  background-color: none;
  transition: 500ms;
  transform-origin: right center;
}
[for="ham-menu"] > div > span:nth-child(4),
[for="ham-menu"] > div > span:nth-child(5),
[for="ham-menu"] > div > span:nth-child(6) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  transform-origin: left center;
}
#ham-menu:checked + label span {
  background-color: none;
}
#ham-menu:checked + label span:nth-child(2),
#ham-menu:checked + label span:nth-child(5) {
  transform: scale(0);
}
#ham-menu:checked + label span:nth-child(1) {
  transform: translateY(17px) rotate(45deg);
}
#ham-menu:checked + label span:nth-child(4) {
  transform: translateY(17px) rotate(-45deg);
}
#ham-menu:checked + label span:nth-child(3) {
  transform: translateY(-17px) rotate(-45deg);
}
#ham-menu:checked + label span:nth-child(6) {
  transform: translateY(-17px) rotate(45deg);
}
p {
  display: inline;
  font-size: 1.5rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: normal;
  font-family: "Gruppo-Regular";
  
}
#menulinks {
  font-size: 1.6rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  font-family: "Cirqua";
  display: inline;
  font-weight: bold;
  padding: 50px;
  color: #2D457D;
  text-decoration: none;
}
a::after {
  content: "\e806";
  display: inline-block;
  font-family: "Gruppo-Regular";
  padding: 5px;
  font-size: 1.6rem;
  transform: rotate(-90deg);
}
.text {
  font-size: 2.5rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  font-family: "Cirqua";
}
.title {
  font-size: 3rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  font-family: "Cirqua";
  color: var(--icon-hover-bg);
  padding: 10px;
}
.heading {
  font-size: 6rem;
  line-height: 1.5em;
  word-spacing: 0.5em;
  letter-spacing: 0.1em;
  font-family: "Gruppo-Regular";
}
.centre-text {
  text-align: center;
}
.bold-text {
  font-weight: bold;
}

#myBtn {
  font-size: 180px;
  font-family: "AfterisMoghu-Demo";
  text-decoration: none;
  display: inline-block;
  text-align: center;
  color: #2D457D;
  cursor: pointer;
  height: 90px;
  width: 90px;
  border-radius: 50px;
  background-color: transparent;
  border: 1px solid #2D457D;
  scroll-behavior: smooth;
  transition: all 0.2s ease-in-out;
}

#myBtn:hover {
  background-color: none;
  color: #F05757;
  border: 1px solid #F05757;
}

.subsection{
  width: 216px; 
  height: 35px; 
  color: #2D457D; 
  font-size: 24px; 
  font-family: "Cirqua"; 
  font-weight: 400; 
  word-wrap: break-word
}

.aboutinfo{
  display: inline;
  font-size: 1.5rem;
  line-height: normal;
  word-spacing: 0.5em;
  font-family: "Gruppo-Regular"; 
}

.bold-text{
  color: #2D457D;
}

ul.a {
  list-style-type: none;
  display: inline-block;
  padding: 0%;
}

ul.b {
  list-style-type: none;
  padding: 0%;
  float: right;
}

li{
  font-size: 1.5rem;
  line-height: normal;
  word-spacing: 0.5em;
  font-family: "Gruppo-Regular"; 
}

#profileimage{
  width: 300px; 
  height: 410px; 
  float: left;
  padding-right: 20px;
}

/*side menu css*/

.navigation-bar-scroll {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}
  
&.is-hidden {
    opacity: 0;
    -webkit-transform: translate(0,-60px);
    transition: .5s ease;
  }
  
&.is-visible {
    opacity: 1;
    -webkit-transform: translate(0,0);
    transition: .5s ease;
  }

.nav-item{
  font-family: "Cirqua";
  list-style-type: none;
}


