/* Global styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  background-image: linear-gradient(to left bottom, #7eb1ff, #88afeb, #91add7, #9aabc3, #a3a8af);
  color: #333;
}

/* Header */
header {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  padding: 15px 30px;
  background-color: #91add7;
  color: #fff;
  width: 100%;
  height: 80px;
}

header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

header h1 {
  margin: 0;
  font-size: 28px;
  font-family: 'Helvetica', sans-serif;
}

/* Navbar */
.navbar {
  display: flex;
  margin-left: 100px;
  padding: 20px 30px;
  background-color: #91add7;
  height: 40px;
  margin: 10px;
  margin-top: 25px;
}

.navbar .icon {
  display: none;
}

.navbar a {
  margin: 0 10px;
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  font-size: 14px;
  color: #fff;
  border-radius: 5px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.3s;
  background: #3e4f63;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.navbar a:hover {
  background-color: #4e6380;
}

.navbar a.active {
  background-color: #4e6380;
  color: #fff;
}

/* Loader */
.loader {
  --dim: 3rem;
  width: var(--dim);
  height: var(--dim);
  position: relative;
  animation: spin988 2s linear infinite;
}

.loader .circle {
  --color: #fff;
  --dim: 1.5rem;
  width: var(--dim);
  height: var(--dim);
  background-color: var(--color);
  border-radius: 50%;
  position: absolute;
}

.loader .circle:nth-child(1) {
  top: 0;
  left: 0;
}

/* Sections */
.aboutme{
  margin-top:50px;
}
section {
  margin: 15px 10px;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(0, 0, 0, 0.1);
}

section h2 {
  margin-top: 3px;
  color: #2d3948;
  width: 150px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  background: #9aabc3 ;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1), -10px -10px 10px rgba(0, 0, 0, 0.1);
}

section ul {
  color: #333;
  list-style: none;
  margin: 0;
  padding: 0;
}

section li {
  margin-bottom: 10px;
}

/* Footer */
footer {
background: #91add7;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.socialbtn {
  cursor: pointer;
  padding: 0.8em 1.8em;
  border: 2px solid #fff;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  transition: 0.3s;
  z-index: 1;
  font-family: 'Arial', sans-serif;
  color: #fff;
}

.socialbtn:hover::before {
  width: 105%;
}

.socialbtn:hover {
  color: #2d3948;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc; /* Default background color when off */
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #fff; /* Knob color when off */
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3; /* Background color when on */
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}
/* Responsive design */
@media only screen and (max-width: 1110px) {
  header {
    text-align: center;
  }

  header h1 {
    font-size: 25px;
  }

  section {
    flex-direction: column;
  }

  .navbar {
    margin-left: 50px;
    margin-right: 100px;
  }

  .navbar a {
    display: none;
  }

  .navbar a.icon {
    float: right;
    display: block;
  }

  .navbar.responsive {
    position: relative;
  }

  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
