* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-family-sans-serif:
    "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-family: "Cute Font", cursive;
  font-family: "Dancing Script", cursive;
  --font-family-monospace: "Liberation Mono", "Courier New", monospace;
}

:root {
  --main-brand-color: #9f9f9f; /* A nice shade of blue */
  --text-color: #333333;
  --backgrund-color: white;
  --borders: #454545;
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 0.5rem;
}

/* Track */
::-webkit-scrollbar-track {
  background: #e3fffe; /* white */
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #000000; /* black */
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #333333; /* dark gray */
}

strong {
  color: blue;
}
.title {
  color: var(--text-color);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 35px;
}

.main-cont {
  flex: 1;
}
hr {
  color: var(--text-color);
  width: 100%;
}
h4 {
  padding-top: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 35px;
}
p {
  padding-top: 20px;
  font-size: 20px;
  font-family: "Times New Roman", Times, serif;
}
a {
  text-decoration: none;
}
body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul {
  list-style-type: none;
}
ul li {
  margin: 10px;
  border-left: transparent solid 4px;
  border-bottom: transparent solid 4px;
}
ul li:hover {
  margin: 10px;
  width: 150px;
  border-left: var(--borders) solid 4px;
  border-bottom: var(--borders) solid 4px;
}
ul li a {
  border: 4px solid transparent;
  padding-left: 6px;
  color: var(--text-color);
  font-size: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
}
ul li a:hover {
  padding-left: 6px;
  /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
  color: var(--text-color);
  font-size: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  box-sizing: border-box;
  background: rgb(255, 255, 255);
}
.topnav {
  height: 60px;
  color: var(--text-color);
  position: fixed;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  top: 0;
  width: 100%;
  z-index: 999;
}
.topnav .logo img {
  width: 120px;
  margin-top: 10px;
  margin-left: 15px;
}
.topnav .menu {
  color: var(--text-color);
  justify-content: flex-end;
  overflow: hidden;
  display: flex;
  padding: 5px;
  margin-left: -20px;
  font-size: 30px;
  background-color: transparent;
  position: fixed;
  width: 100%;
}
.nav {
  height: 100vh;
  width: 300px;
  position: fixed;
  top: 0;
  margin-top: 60px;
  padding: 20px 30px 20px;
}
.nav .sidenav {
  margin: 10px;
  padding: 20px 0px 20px;
}
.nav .sidenav ul {
  text-decoration: none;
}
.nav .sidenav ul li {
  text-decoration: none;
}

section {
  margin-left: 300px;
}

@keyframes slide-in-anim {
  20% {
    opacity: 0;
  }
  60% {
    transform: translateY(-45%);
  }
  75% {
    transform: translateY(-52%);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* for big screen  */
@media (width > 600px) {
  .nav {
    display: block;
  }
  .topnav {
    width: 100%;
    height: 60px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0px 20px 0px;
    margin: 20px 40px 20px;
    font-size: 30px;
    width: auto;
    border-radius: 5px;
  }
  .topnav .menu {
    display: none;
  }
}
@media (width < 600px) {
  .topnav {
    height: 60px;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    display: flex;
    top: 0;
    width: 100%;
    z-index: 999;
  }
}
#home-section {
  color: var(--text-color);
}
#home-section .text {
  text-align: center;
  position: absolute;
}

/* for small screen  */

@media (width < 600px) {
  .nav {
    display: none;
  }
  .topnav {
    width: 100%;
    height: 60px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(12px);
  }
  section {
    margin-left: 0px;
    top: 0;
  }
}
