body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*Fonts*/
@font-face {
    font-family: 'Catchy';
    src: url('../fonts/Catchy/Catchy\ Mager\ Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Rubik Light';
    src: url('../fonts/Rubik/Rubik-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*Cabeçalho*/
header {
    width: 100%;
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0;
    position: fixed;
    top: 0;
}

.logo img {
    height: 4vh;
    margin-left: 10%;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu li {
    margin-right: 1em;
}

.menu li a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    font-size: 15px;
    text-decoration: none;
    padding: 1em;
}

.menu li a:hover {
    background-color: #021525;
}

/*Introdução*/
.introducao {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.7)),url('../imgs/fundo-nebulosa.jpg');
    background-position: center;
    background-size: cover;
    height: 100vh;
    padding-top: 5em;
}

.introducao h1 {
    font-family: 'Catchy';
    font-size: 50px;
    color: white;
    text-align: center;
}

.introducao-nebulosas {
    text-align: justify;
    padding-left: 3em;
    padding-top: 20em;
}

.introducao-nebulosas h2 {
    font-family: 'Catchy';
    font-size: 30px;
    color: white;
}

.introducao-nebulosas p {
    font-family: 'Rubik Light';
    color: #ffffff;
    width: 95%;
    height: 40vh;
}

/*Tipos de Nebulosas*/
.tipo-nebulosas {
    padding: 7em 5em 2em 5em;
    color: rgb(0, 0, 0);
    text-align: center;
}

.tipo-nebulosas h2 {
    font-family: 'Catchy';
    font-size: 40px;
    margin: 0 0 20px 50px;
}

section.tipo-nebulosas > p {
    font-family: 'Rubik Light';
    padding-top: 2em;
}

.container-slider {
    display: flex;
    width: 100%;
    min-height: 70vh;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.container-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 700px;
}

.texto {
    position: absolute;
    bottom: 0;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 10px 10px;
    padding: 20px;
    color: white;
    font-family: 'Rubik Light';
}

.slider {
    opacity: 0;
    transition: opacity .2s;
    position: absolute;
    width: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slider img {
    width: 100%;
    border-radius: 10px;
}

.on {
    opacity: 1;
}

#prev-button, #next-button {
    width: 40px;
    height: 30px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

#prev-button img, #next-button img {
    width: 100%;
    height: 100%;
}

#prev-button {
    transform: rotate(180deg);
}

/*Tipo e Nomes*/
.tipo-nome {
    background-image: url('../imgs/fundo-estrelas.gif');
    background-position: center;
    background-size: cover;
    padding: 7em 5em 2em 5em;
    height: 80vh;
    color: white;
    text-align: center;
}

.tipo-nome h1 {
    font-family: 'Catchy';
    font-size: 40px;
    margin: 0 0 20px 50px;
}

.tipo-nome p {
    font-family: 'Rubik Light';
    font-size: 15px;
    margin-top: 50px;
}

.tipo-nome table {
    font-family: 'Rubik Light';
    font-size: 15px;
    text-align: center;
    margin: auto;
    margin-top: 40px;
    width: 70%;
    height: 50vh;
}

.tipo-nome th {
    background-color: #021525;
    border-radius: 10px;
}

.tipo-nome td {
    background-color: rgba(255, 255, 255, 0.67);;
    border-radius: 10px;
    color: #000000;
}