* { /* Valores globais */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* mobile - em desenvolvimento... */
@media only screen and (max-width: 768px) {
    * {
        flex-direction: column;
    }
}

/* desktop - em desenvolvimento... */
@media only screen and (min-width: 769px) {

}

/* principal */

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 2;
    background-color: #00796b;
}

.container {
    max-width: 60%;
    margin: auto;
    padding: 1em;
}

header {
    background-color: #102521;
    color: #fff;
    padding: 1em;
    border-bottom: 0.3em solid #58a093;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    height: 5em;
    mix-blend-mode:lighten;
}

a {
    color: white;
    text-decoration: none;
}

.golden {
    color:goldenrod;
    font-weight: bold;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline-block;
    margin-right: 1em;
    :hover {
        color: rgb(182, 182, 182);
        transition: color 0.3s ease;
    }
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

#main {
    background: url('src/background.jpg') center/cover;
    background-blend-mode: color-burn;
    background-color: #293f38;
    color: #ffffff;
    text-align: center;
    padding: 5em;
}

h2 {
    font-size: 3em;
    margin-bottom: 1em;
    text-align: center;
}

#main p {
    font-size: 1.5em;
    margin-bottom: 2em;
}

#search-bar {
    padding: 1em;
    width: 70%;
    margin-bottom: 3em;
    font-size: 1.2em;
    border: none;
    border-radius: 2em;
    background-color: #f0f9f7;
    color: #1d3d3d;
    outline: none;
}

#main button {
    padding: 1em 3em;
    background-color: #ff4081;
    color: #ffffff;
    font-size: 1.2em;
    border: none;
    border-radius: 2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#main button:hover {
    background-color: #ff80ab;
}

.feature {
    text-align: center;
    margin-bottom: 3em;
    transition: transform 0.3s ease;
    background-color: #102521;
    padding: 2em;
    border-radius: 1em;
}

.feature:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.feature img {
    width: 5em;
    height: auto;
    margin-bottom: 1em;
}

footer {
    background-color: #102521;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer p {
    font-size: 14px;
}

.icon {
    color: #00ffc8;
}

/* database */

select {
    padding: 0.7em;
    margin-top: 1em;
    margin-bottom: 1em;
    width: 20%;
    height: 20%;
    font-size: 1em;
    border: none;
    border-radius: 2em;
    background-color: #f0f9f7;
    color: #1d3d3d;
    outline: none;
}

#filters, #results {
    background-color: #293f38;
}

#features {
    padding: 5em;
    color: white;
}

#results .container {
    min-height: 100%;
}

#results ul {
    list-style-type: none;
    padding: 0;
}
  
#results li {
    border: 0.1em solid #000000;
    margin-bottom: 0.5em;
    padding: 1em;
    background-color: #00796b;
    color: rgb(255, 255, 255);
    transition: background-color 0.3s ease;
}
  
#results li:hover {
    background-color: #069b89;
}

.result-buttons {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

.result-buttons button {
    margin: 0 10px;
    padding: 0.5em 1em;
    border: none;
    border-radius: 1em;
    background-color: #069b89;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.result-buttons button:hover {
    background-color: #28af9f;
}

.loading {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #f1aff7;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    display: none;
  } @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/* lista de ferramentas */

#tool-list .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
  
#tool-list > .container > h2 {
    text-align: center;
    margin-bottom: 30px;
}
  
.tools-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
  
.tool {
    flex: 1;
    min-width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: #102521;
    transition: transform 0.3s ease;
}
  
.tool:hover {
    transform: translateY(-5px);
}
  
.tool img {
    width: 100%;
    height: auto;
    display: block;
}
  
.tool h3 {
    margin: 10px;
    color: white;
}
  
.tool p {
    padding: 0 10px 20px;
    color: white;
}

/* modals */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    background-color: #293f38;
    color: rgb(134, 228, 197);
    overflow-y: auto;
    box-sizing: border-box;
    transform:translate(13%, 13%);
}

#detail-modal {
    max-width: 800vw;
    max-height: 600vh;
    overflow: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

.modal-title {
    background-color: rgb(61, 109, 101);
    border: 2px solid rgb(136, 228, 212);
    padding: 5px;
    width: fit-content;
}

.modal-strong {
    color: rgb(192, 99, 146);
    font-weight: bold;
}

/* itens da database */

  .list-item {
    margin-bottom: 10px;
  }
  .list-item-text {
    margin-bottom: 5px;
  }
  .button-container {
    display: flex;
    gap: 10px;
  }
  .list-item button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  .list-item button:hover {
    background-color: #45a049;
  }

/* interface limma */

.limma-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 20px;
}

.limma-iframe {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Your iframe */
.limma-responsive {
    max-width: 100%;
    max-height: 100%;
    height: 1500px;
    width: 1500px;
    border: rgb(0, 0, 0) solid 5px;
    border-style:dashed;
    border-radius: 50px;
}

#limma-tutorial {
    cursor: pointer;
    margin-bottom: 5em;
    margin-top: -3.5em;
    border: #f7c94a solid 1px;
    border-radius: 15px;
    padding-left: 10px;
    padding-right: 10px;
}