@import url(colors.css);

body {
      font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
      background-color: var(--bgcolor-1);
      margin: 0;
      padding: 0;
    }

    .wrapper {
      max-width: 700px;
      margin: 2rem auto;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      color: var(--primary-5);
      height: 90vh;

    }

    .projects {
      display: flex;
      flex-direction: column;
      gap: 1.1rem;
    }

    .project, .project:focus {
      background-color: var(--bgcolor-2);
      border: 1px solid var(--bgcolor-4);
      padding: 1rem 1.5rem;
      margin: 0 0.8rem;
      border-radius: 8px;
      transition: 0.3s ease;
    }

    .project:hover {
      box-shadow: 0 0.5px 5px var(--bgcolor-5);
      background-color: var(--bgcolor-3);
      transform: scale(1.05);
      cursor: pointer;
    }

    .title {
      display: flex;
      flex-direction: column;

    }

    h1 {
      text-align: center;
      color: var(--primary-6);
      margin-bottom: 0;
    }

    p {
      color: var(--grey-900);
      text-align: center;
      position: relative;
    }

    .highlight {
      background-color: var(--bgcolor-4);
      border-left: 4px solid var(--primary-5);
      font-size: 85%;
      position: absolute;
      bottom: 0;
      left: 0rem;
      width: 100vw;
      text-align: center;
    }


    .project-title {
      font-size: 1.2rem;
      font-weight: bold;
      margin-bottom: 0.5rem;
      color: var(--primary-6);
      cursor: default;
      user-select: none;
    }

    .project a {
      color: var(--primary-5);
      text-decoration: none;
      margin-right: 1rem;
    }

    .project a:hover {
      color: var(--primary-6);
    }

    @media screen and (max-width: 420px) {

      body {
        font-size: 12px;
      }

    #yas {
        width: 100px;
    }

    #toggle-dark {
      width: 70px;
      font-size: 90%;
      top: 10px;
      right: 10px ;
    }

  }