
*{

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family:Arial, Helvetica, sans-serif;

  }

  :root{

    --background-color: rgb(191, 189, 189);

    --text-color: rgb(0, 0, 0);

    --title-color: rgb(0, 0, 0);

  }

  body{

    background: var(--background-color);

    color: var(--text-color);

  }

  body.dark-mode{

    --background-color: rgb(24, 19, 19);

    --text-color: rgb(255, 255, 255);

    --title-color: rgb(255, 255, 255);

  }

  .header{

    width: 100%;

    min-height: 100vh;

    padding: 0 9%;

    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: black;

    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(255, 255, 255);

    transition: 1.5s;

  }

  input:checked+.slider{

    background-color: rgb(255, 255, 255);

  }

  input:checked+.slider::before{

    transform: translateX(100%);

    box-shadow: inset 15px -4px 0 15px rgb(0, 0, 0);

  }

  .content{

    display: flex;

    align-items: center;

    margin-top: 3%;

  }

  .content .left{

    flex: 1;

    font-size: 2rem;

    font-weight: 100;

    letter-spacing: 0.6px;

    color: var(--text-color);

  }

  .content .left h2{

    font-size: 3rem;

    font-weight: 600;

    letter-spacing: 1px;

    color: var(--text-color);

  }

  .content .left p{

    font-size: 1.9rem;

    font-weight: 500;

    letter-spacing: 0.6px;

    color: var(--text-color);

  }

  .content .left .btn{

    margin: 40px;

  }

  .content .left .btn button{

    padding: 10px 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgb(248, 248, 248);

    color: rgb(212, 12, 12);

    font-size: 1.5rem;

    font-weight: 400;

    border: none;

    outline: none;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.3s;

  }

  .content .left .btn button:hover{

    background: rgb(188, 182, 182);

  }

  .content .rigth{

    flex: 1;

  }

  .content .rigth img{

    width: 10px;

    height: 10px;

    object-fit: cover;

  }

  img{

    width: 500px;

    height: 500px;

    border-radius: 50%;

  }