:root {
    --serif: Garamond, Georgia, 'Times New Roman', Times, serif;
    --sans-serif: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100dvh;
    background-image: url("./assets/school-of-athens-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: var(--serif);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex: 15 1 auto;
}

.box {
    border-radius: 30px;
    width: min(80%, 1200px);
    min-height: 50dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 85%);
    padding: 30px 0;
    position: relative;
    z-index: -1;
}

.text {
    max-width: 80%;
    height: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.quote-container {
    flex: 3;
    display: flex;
    align-items: center;
}

.quote {
    font-size: clamp(1rem, 3vw + 1rem, 3rem);
    line-height: clamp(1.2rem, 1.2 * (3vw + 1rem), 4.5rem);
    text-wrap: pretty;
}

.author-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.author {
    font-size: clamp(15px, 1vw + 0.5rem, 20px);
}

.quotation-sign {
    width: max(20vw, 150px);
    position: absolute;
    padding: min(5vw, 20px);
    z-index: -1;
    box-sizing: border-box;
}

.quotation-sign>svg {
    fill: rgba(0, 0, 0, 0.1);
}

.top-left {
    top: 0;
    left: 0;
}

.bottom-right {
    bottom: 0;
    right: 0;
}

button {
    padding: 10px 25px;
    background-color: hsl(271, 70%, 50%);
    color: white;
    border: none;
    outline: none;
    border-radius: 15px;
    cursor: pointer;
    font-family: var(--sans-serif);
    font-size: clamp(15px, 1vw + 0.5rem, 1.2rem);
}

button:hover {
    filter: brightness(115%);
}

button:active {
    filter: brightness(90%);
}

footer {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background-color: rgba(0, 0, 0, 15%);
    color: white;
    font-family: var(--sans-serif);
}

.github-icon {
    height: 20px;
    color: white;
    margin-top: 2px;
}