
:root {
    font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    font-weight: bold;
}

.apod {
    margin-left: 100px;
}
.card {
    max-width: 650px;
    max-height: 600px;
    margin: auto;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: rgb(255, 255, 255, 0.8)
    /* background-color: #afa5af; */
}
.card p, .card h5 {
    color: black;
}

.card-title {
    margin-top: 0.5em;
}

.about {
    flex-direction: column;
    margin: 2em;
}

.footer {
    margin-top: 4em;
    text-align: center;
    padding: 2.5em 0px;
}

.apod {
    margin-top: 3px;
    width: 100%;
    height: 700px;
}

.apod.card {
    margin-top: 200px
}

.apod-text h2{
    font-size: 1.5em;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: white;
    text-transform: uppercase;
    text-align: center;
    justify-content: center;
}

.apod-text h3 {
    justify-content: center;
    text-align: center;
    font-size: 1em;
    margin-top: -5px;
}
  
.placement {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card p {
    font-size: 0.8em;
}

div {
    display: block;
}

h1 {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    display: block;
}

@media(max-width: 798px) {

    .header {
        size: 50%;
    }

    .apod {
        margin-left: 0;
        margin-top: 80px;
    }

    .likes-title {
        font-size: 2em;
    }

    .apod-text h2 {
        font-size: 1.1em;
    }

    .apod-text h3 {
        font-size: 0.8em;
    }

    .card {
        margin-top: 10px;
        margin-bottom: 0;
        max-width: 400px;
        max-height: 500px;
        padding: 0.8rem;
        padding-bottom: 0;
    }
    .card-title {
        font-size: 0.8rem;
    }

    .card p {
        font-size: 0.6em;
    }
    .overlay {
        max-height: 10000px;
    }

    .showcase {
        max-height: 1000px;
    }
    
}

