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: #0f4068;
}

/*Sistema Solar*/
.sistema-solar {
    background-image: url("../imgs/sistema-solar.jpg");
    background-position: center;
    background-size: cover;
    height: 100vh;
    padding: 5em 5em 2em 5em;
    color: white;
}

.sistema-solar h1 {
    font-family: 'Catchy';
    font-size: 40px;
    margin: 0;
    text-align: center;
}

.sistema-solar p {
    text-align: right;
    font-size: 15px;
    font-family: 'Rubik Light';
}

/*Planetas*/
.planetas  {
    background-color: white;
    padding: 5em 5em 2em 5em;
    height: 80vh;
}

.planetas h2 {
    font-family: 'Catchy';
    font-size: 40px;
    color: #000000;
    margin-top: 1px;
    text-align: center;
}

.planetas p {
    font-family: 'Rubik Light';
    font-size: 12px;
    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/mercúrio.webp');
}

.card[for="c2"] {
    background-image: url('../imgs/vênus.webp');
}

.card[for="c3"] {
    background-image: url('../imgs/terra.webp');
}

.card[for="c4"] {
    background-image: url('../imgs/marte.webp');
}

.card[for="c5"] {
    background-image: url('../imgs/júpiter.webp');
}

.card[for="c6"] {
    background-image: url('../imgs/saturno.webp');
}

.card[for="c7"] {
    background-image: url('../imgs/urano.webp');
}

.card[for="c8"] {
    background-image: url('../imgs/netuno.webp');
}