*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Arial, Helvetica, sans-serif;
  }
  :root{
    --background-color: rgb(90, 88, 88);
    --text-color: rgb(0, 0, 0);
    --title-color: rgb(11, 178, 255);
  }
  body{
    background: var(--background-color);
    color: var(--text-color);
  }
  body.dark-mode{
    --background-color: rgb(84, 81, 81);
    --text-color: rgb(255, 255, 255);
    --title-color: rgb(42, 142, 228);
  }
  .header{
    width: 100%;
    min-height: 100vh;
    padding: 0 8%;
    position: relative;
    overflow: hidden;
  }
  nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
  }
  nav .logo{
    text-decoration: none;
    color: var(--title-color);
    font-size: 2rem;
    font-weight: 600;
  }
  nav .list{
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  nav .list ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  nav .list ul li a{
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    color: var(--title-color);
    transition: 1.5s;
  }
  nav .list ul li a:hover{
    color: blue;
  }
  .switch{
    font-size: 20px;
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 2rem;
  }
  .switch input{
    opacity: 0;
    width: 0;
    height: 0;
  }
  .switch .slider{
    background: rgb(255, 255, 255);
    position: absolute;
    cursor: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 1.5s;
    border-radius: 20px;
  }
  .slider::before{
    position: absolute;
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
    left: 10%;
    bottom: 20%;
    box-shadow: inset 8px -4px 0 0 rgb(0, 0, 0);
    transition: 1.5s;
  }
  input:checked+.slider{
    background-color: rgb(0, 0, 0);
  }
  input:checked+.slider::before{
    transform: translateX(100%);
    box-shadow: inset 15px -4px 0 15px rgb(255, 255, 255);
  }
  .content{
    display: flex;
    align-items: center;
    margin-top: 3%;
  }
  .content .left{
    flex: 1;
  }
  .content .left {
    font-size: 2rem;
    font-weight: 100;
    letter-spacing: 0.6px;
    color: var(--text-color);
  }
.container {
    width: 400px;
    padding: 70px;
    background: var(--text-color);
    margin: 40px auto;
    float: right;
    margin-right: 20px;
}

h2{
    color: red;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 15px;
    margin: 0px 0 25px 50;
    display: inline-block;
    border: none;
    background: #ddd;
}

input[type=text]:focus, input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}

textarea {
    width: 100%;
    padding: 10px;
    background-color: #ddd;
    border: none;
    resize: vertical;
  }

.btn {
    background-color: #f00024;
    color: white;
    padding: 15px 20px;
    margin: 15px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}

.btn:hover {
    opacity:1;
}