* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    width: 100%;
    height: 100%;
}

h1 {
    text-align: center;
    margin: 20px 0;
}

main {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.loading {
    max-width: 200px;
    min-height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    background-color: rgb(247, 238, 238);
    margin-top: 30px;
}

.meme-container {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.generate-meme {
    font-size: 22px;
    color: #108070;
    background-color: #fff;
    font-weight: 700;
    padding: 8px 20px;
    border-top: none;
    border-bottom: none;
    border-left: 4px solid #222; 
    border-right: 4px solid #222; 
    cursor: pointer;
}

.generate-meme:hover {
    letter-spacing: 3px;
    padding: 8px 36px;
    border-left: 8px solid #222; 
    border-right: 8px solid #222; 
    transition: all 0.3s ease-in-out;   
}

.meme-content {
    background-color: rgb(247, 238, 238);
    box-shadow: rgba(0, 0, 0, 0.2) 10px 10px 16px;
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    padding: 20px 50px;
    row-gap: 30px;
    flex-wrap: wrap;
}

.meme-text {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
}

.meme-image-container {
    width: 100%;
}

.meme-image {
    width: 100%;
}

.meme-author-container {
    display: flex;
    justify-content: center;
    column-gap: 5px;
    font-size: 20px;
}