* {
  margin: 0;
  padding: 0;
}

/* --------------Navbar Section----------------- */

body {
  min-height: 100vh;
  background-image: url(cramp_paper.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

nav {
  background-color: white;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0;
}

nav li {
  height: 50px;
}

nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: black;
  font-weight: normal;
}

nav a:hover {
  background-color: #f0f0f0;
}

nav a.active {
  font-weight: bold;
}

nav .nav-title{
  font-size: 1.5em;
  font-weight: bold;
}

nav li:first-child {
  margin-right: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

.menu-button {
  display: none;
}

@media (max-width: 800px) {
  .hideOnMobile {
    display: none;
  }

  .menu-button {
    display: block;
  }
}

@media (max-width: 400px) {
  .sidebar {
    width: 100%;
  }
}


/* -----------------Main Section---------------- */

main .container{
  min-width:100%;
  min-height: 90vh;
  /* border: 2px solid red; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 5px;
}

.container h1{
  font-size: 3em;
  color: red;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.container h2{
  font-size: 2em;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.container p{
  font-size: 1.5em;
  color: black;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* -------------------About Section------------------

#about{
  min-width:100%;
  min-height: 99vh;
  border: 2px solid red;
}


-------------------Projects Section------------------

#projects{
  min-width:100%;
  min-height: 99vh;
  border: 2px solid red;
}


-------------------Contact Section------------------

#contact{
  min-width:100%;
  min-height: 99vh;
  border: 2px solid red;
} */
