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-satelites-naturais.webp');
    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-satelites {
    text-align: justify;
    padding-left: 3em;
    padding-top: 15em;
}

.introducao-satelites h2 {
    font-family: 'Catchy';
    font-size: 30px;
    color: white;
}

.introducao-satelites p {
    font-family: 'Rubik Light';
    color: #ffffff;
    width: 95%;
    height: 40vh;
}

/*Satélite de cada planeta*/
.satelites-planetas {
    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;
}

.satelites-planetas h2 {
    font-family: 'Catchy';
    font-size: 40px;
    margin: 0 0 20px 50px;
}

.satelites-planetas table {
    font-family: 'Rubik Light';
    font-size: 15px;
    text-align: center;
    margin: auto;
    margin-top: 40px;
    width: 70%;
    height: 50vh;
    
}

.satelites-planetas th {
    background-color: #021525;
    border-radius: 10px;
}

.satelites-planetas td {
    background-color: rgba(255, 255, 255, 0.67);;
    border-radius: 10px;
    color: #000000;
}

/*Maiores Satélites*/
.maiores-satelites  {
    background-color: white;
    padding: 3em 5em 2em 5em;
    height: 80vh;
}

.maiores-satelites h2 {
    font-family: 'Catchy';
    font-size: 40px;
    color: #000000;
    margin-top: 1px;
    text-align: center;
}

.maiores-satelites p {
    font-family: 'Rubik Light';
    font-size: 15px;
    color: #000000;
    text-align: justify;
}

.wrapper {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    height: 400px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
}

.card {
    width: 80px;
    border-radius: .75rem;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2rem;
    margin: 0 10px;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28,-0.03,0,.99);
    box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
}

.card .row {
    color: white;
    display: flex;
    flex-wrap: nowrap;
}

.card .row .description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 250px;
    width: 520px;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
    margin: 0 0 2% 5%;
}

.description p {
    color: #e9e9f0;
    padding-top: 5px;
}

.description h4 {
    text-transform: uppercase;
}

input {
    display: none;
}

input:checked + label {
    width: 600px;
}

input:checked + label .description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.card[for="c1"] {
    background-image: url('../imgs/ganimedes-lua.png');
}

.card[for="c2"] {
    background-image: url('../imgs/titã-lua.jpg');
}

.card[for="c3"] {
    background-image: url('../imgs/calisto-lua.jpg');
}

.card[for="c4"] {
    background-image: url('../imgs/io-lua.webp');
}

.card[for="c5"] {
    background-image: url('../imgs/lua.jpg');
}