:root {
    --primary-color: #373737;
    --secondary-color: #78787a;
    --bg-color: #fafaf9;
    --content-color:#e7e5e4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition-duration: 200ms;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 14px;
}

.darkerText {
    color: var(--secondary-color);
}

header,
main,
footer {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

p, a {
    font-size: 1rem;
}

h1{
    color: var(--primary-color);
    font-size: 36px;
}

header {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

nav {
    color: var(--secondary-color);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

nav a {
    font-size: 1rem;
}

nav a, header a, .content a{
    cursor: pointer;
    text-decoration: none;
    
}


nav a:hover, header a:hover, .content a:hover {
    opacity: 0.7;
}

.titleBlock {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: auto;
    padding: 1.75rem;
    border: solid var(--primary-color);
    border-width: 2px;
}

.titleBlock h1 {
    font-size: 48px;
}


main form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.labels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: auto;
}

.inputContainer {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background-color: #c7c7c7;
    color: var(--primary-color);
    padding: 1rem;
    margin: auto;
    align-items: center;
    border-radius: 1rem;
}
.square {
  display: inline-block; /* Or 'block', 'inline-flex', 'flex' */
  width: 15px; /* Adjust the size as needed */
  height: 15px; /* Adjust the size as needed */
  background-color: var(--secondary-color); /* Set a background color to make it visible */
}

main button {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: auto;
    gap: 10px;
    padding: 0.25rem;
    border-radius: 5px;
    border-width: 2px;
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 40px;
}

main button:hover{
    opacity: 0.7;
    ;
    .square {
        transform: rotate(45deg);
        width: 18px; /* Adjust the size as needed */
        height: 18px;
        border-radius: 5px;
    }
}

footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.footerImg {
    border-radius: 100%;
    max-width: 96px;
    overflow: hidden;
}

.footerImg img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.footerText {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    gap: 0.75rem;
}

.footerText p {
    display: flex;
    align-items: center;
    margin: auto;
    font-size: 15px;
}

.icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: auto;
    gap: 20px;
    cursor: pointer;
}

.icons a {
    text-decoration: none;
    color: var(--secondary-color);
}

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

@media (min-width: 640px) {
  header {
    max-width: 700px;
  }

    p {
    font-size: large;
}

    h2 {
    font-size: 2rem;
}

    .projectTitle h3 {
        font-size: 22px;
    }

  nav a {
    font-size: 1.5rem;
  }

  .titleBlock {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin: auto;
      padding-left: 5rem;
      padding-right: 5rem;
      border: solid var(--primary-color);
      border-width: 2px;
  }

  .titleBlock h1 {
      font-size: 58px;
  }

  .projectContainer {
   gap: 58px;
}

  .tenure {
    font-size: large;
  }
}
@media (min-width: 1200px) {
  
  header { 
    max-width: 1000px;
  }
  p {
    font-size: larger;
  }
    .titleBlock {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin: auto;
      padding-left: 5rem;
      padding-right: 5rem;
      border: solid var(--primary-color);
      border-width: 2px;
  }

  .projectContainer {
   gap: 68px;
    }

    h2 {
        font-size: 2.2rem;
    }

    .projectTitle h3 {
        font-size: 24px;
    }

  .titleBlock h1 {
      font-size: 72px;
  }

  .tenure {
    font-size: larger;
}
}
