@import url('https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&family=Orbitron:wght@400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

.voltarbtn {
    border: 2px solid white;
    color: white;
    /* margin: 25px; */
    padding: 25px 50px;
    border-radius: 15px;
    box-shadow: 0px 0px 15px red;
    text-decoration: none;
    display: inline-block;
    background-color: rgb(0, 0, 0);
    font-style: italic;

}

.voltarbtn:hover {
    box-shadow: 0px 0px 15px rgb(0, 132, 255);
    transition: box-shadow 0.3s ease;
    transition: 0.3s;
    background-color: red;
}

header {
    margin: 25px;
    display: flex;
}

body {
    background-image: linear-gradient(145deg, rgb(0, 20, 65) 30%, rgb(24, 30, 46));
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
}
main{
    color: white;
    text-align: center;
    
}
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 colunas */
    grid-template-rows: 1fr 1fr;
    /* 2 linhas */
    gap: 20px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.cont {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

summary:focus-visible {
  outline: 2px solid rgb(0, 132, 255);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Também para os links Acessar e Voltar */
.acessar:focus-visible,
.voltarbtn:focus-visible {
  outline: 2px solid rgb(0, 132, 255);
  outline-offset: 4px;
}

/* Página dois usará o display flex por causa da quantidade de conteúdo disponibilizado pela página */

.ariapage2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.ariapage2 section {
    padding: 25px;
    width: 50%;
}

/* fim da página 2 */

/* Página três */

.ariapage3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.ariapage3 section {
    padding: 25px;
    width: 50%;
}

/* fim da página 3 */

section:hover {
    box-shadow: 0px 0px 15px rgb(0, 132, 255);
}

/* Menus em acordeão */

details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid white;
    color: white;
    /* margin: 25px; */
    padding: 90px 0px 90px 0px;
    border-radius: 50%;
    box-sizing: border-box;
    box-shadow: 0px 0px 15px red;
    background-image: linear-gradient(273deg, #0077ff, rgb(0, 0, 0));
    transition: box-shadow 0.3s ease;
    height: 370px;
    width: 370px;
}

summary {
    display: flex;
    width: fit-content;
    cursor: pointer;
}

summary:hover {
    border: none;
    border-radius: 15px;
    color: rgb(0, 255, 64);
    transition: all 1.0s ease;
}

summary:hover h1 {
    text-decoration: underline;
}

summary::-webkit-details-marker {
    display: none;
}

summary:before {
    content: "+";
    font-size: 20px;
    font-weight: bold;
    margin: 5px;
    padding: 0;
    width: 20px;
    text-align: center;
}

details[open] summary:before {
    content: "-";
}


details:open {
    border-radius: 15px;
    padding: 20px;
    width: fit-content;
    transition: all 1.0s ease;
    overflow: hidden;
    height: auto;
}

details:hover {
    box-shadow: 0px 0px 15px rgb(0, 132, 255);
}

/* fim acordeao */

section {
    border: 2px solid white;
    color: white;
    /* margin: 25px; */
    padding: 10px;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 0px 0px 15px red;
    background-image: linear-gradient(273deg, #0077ff, rgb(0, 0, 0));
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

section p {
    text-align: justify;
}

p {
    text-align: justify;
}

.pagina1list li, ul{
    margin: 15px;
}

section li {
    margin: 15px;
}

section ul {
    list-style-type: disc;
    margin: 15px;
}

section h2 {
    margin: 10px;
}

section h1 {
    text-align: center;
    padding: 10px;
}

.bibliografia {
    border: 2px solid white;
    color: white;
    /* margin: 25px; */
    padding: 10px;
    border-radius: 15px;
    max-width: 650px;
    /* max-height: 260px; */
    box-sizing: border-box;
    box-shadow: 0px 0px 15px red;
    background-image: linear-gradient(273deg, #0077ff, rgb(0, 0, 0));
    transition: box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.bibliografia:hover {
    box-shadow: 0px 0px 15px rgb(0, 132, 255);
}

.bibliografia a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.bibliografia a:hover {
    color: rgb(63, 233, 255);
}

.bibliografia a:active {
    color: red;
}

.bibliografia li {
    list-style: none;
}

footer:hover {
    box-shadow: 0px 0px 15px rgb(0, 132, 255);
}

footer {
    padding: 10px;
    text-align: center;
    border: 2px solid white;
    color: white;
    border-radius: 15px;
    width: 300px;
    margin-top: 20px;
    box-shadow: 0px 0px 15px red;
    background-image: linear-gradient(273deg, #0077ff, rgb(0, 0, 0));
    transition: box-shadow 0.3s ease;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  border-radius: 0 0 8px 0;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

@media (max-width: 600px){
    .container{
        grid-template-columns: 1fr;
    }
    details{
        max-width: 320px;
        height: auto;
    }
    .ariapage2 section{
        width: 100%;
        margin: 0;
    }
    .ariapage3 section{
        width: 100%;
        margin: 0;
    }
}