/*RESET CSS =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #175906;
    --second-color: #068FDC;
    --color-text: #fff; 
    --bg-color: #F0F0F0;
    --paragraph: ;
  
    --nav-height: 7.2rem;
  
    font-size: 62.5%; /* 1rem = 10px */
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  html,
  body {
    width: 100%;
    height: 100%;
  }
  
  ul {
    list-style: none;
  }

  a {
    text-decoration: none;
  }

/*====BASE============================ */

.wrapper {
    width: min(50rem, 100%);
    margin-inline: auto;
  
    padding-inline: 2.4rem;
  }

/*====  scrollbar ============================ */

::-webkit-scrollbar {
    width: 1rem;
  }
  
  ::-webkit-scrollbar-thumb {
    width: 1rem;
    background-color: var(--primary-color);
  }

/*====  header ============================ */
header h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    
    margin-bottom: 3rem;
    
    margin-top: var(--nav-height)
}

/*==== downloads ============================ */
#downloads {
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--bg-color);

    padding-bottom: 8rem;
}


/*==== downloads topics ============================ */
.topics {
    display: flex;
    flex-direction: column;

    gap: .5rem;
}

.topics h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;

    margin-top: 4rem;
}

.topics summary {
    font-weight: 700;
    cursor: pointer;

    margin-bottom: .3rem;

    font-size: 1.6rem;
}

.topics a {
    color: #000;
    font-size: 1.6rem;
    font-weight: 700;
    opacity: .7;

    transition: all 200ms ease-in-out;
}

.topics a:hover {
    opacity: 1;
}

.topics ul {
    margin-left: 1rem;
}

.topics li + li {
    margin-top: .3rem;
}

.topics ul li a {
    color: #000;
    font-weight: 400;
    opacity: .8;

    transition: all 200ms ease-in-out;
}

.topics ul li a:hover {
    opacity: 1;
}

/*==== downloads cards ============================ */

.content .cards {
    font-family: 'Montserrat', sans-serif;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    
    row-gap: 2rem;
}

.content .card {
    background-color: var(--color-text);
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.75);


    width: 100%;
    padding: 1rem;
    border-radius: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;

    transition: all 200ms ease-in-out;

}

.cards:has(.card:hover) .card:not(:hover) {
    opacity: .6;
    scale: .98;
}

.content .card a {
    width: 100%;
}

.content .card button {
    width: 100%;
    background-color: var(--second-color);
    border: none;
    padding: .7rem;
    
    color: var(--color-text);
    border-radius: 1rem;

    cursor: pointer;

    transition: all 200ms ease-in-out;
}

.content .card span {
    font-size: 1.4rem;
    margin-block: 1rem;
}

.content .card button:hover {
    background-color: var(--primary-color);
}

.content input {
    margin-top: 5rem;
    margin-bottom: 2rem;
    background-color: var(--bg-color);
    border: none;
    border-bottom: 1px solid;

    padding: .5rem;

    width: min(70rem, 50vw);
}

.content input:focus {
    outline: none;
    border-bottom: 1px solid var(--second-color);
}

/* RESPONSIVE =================== */

@media (min-width: 1300px) {
/* geral 1300px =================== */

.wrapper {
  width: min(133rem, 100%);
}
 
section#downloads .wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8rem;
}

section#downloads .content .cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

section#downloads .content .cards .card {
    width: 100%;
    height: 100%;
}

}

/* downloads 1300px =================== */








