@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap');

*, *::after, *::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: hsl(225, 100%, 94%);
    margin: 0 1rem;
    background-image: url(/images/pattern-background-desktop.svg);
    background-repeat: no-repeat;
    background-size: 100vw 45vh;
}

.container {
    text-align: center;
    margin: 0 auto;
    background-color: white;
    max-width: 24rem;
    border-radius: 1rem;
    overflow: hidden;
}

.header {
    font-weight: 900;
    margin-top: 1.5rem;
}

.header-img {
    display: block;
    width: 100%;
}

.wrapper {
    margin: 0 1.4rem;
}

.wrapper h2 {
    padding: 1rem;
}

.def {
    margin: 1rem 0;
    padding: 0 1rem;
    color: hsl(224, 23%, 55%);
}

.content {
    background-color: hsl(225, 100%, 98%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0
}

.ann {
    font-weight: 900;
}

.content img {
    display: block;
    padding-right: 1rem;
}

.left-img {
    display: flex;
    align-items: center;
}

.change-btn {
    font-weight: 900;
    font-size: 0.9rem;
    color: hsl(245, 75%, 52%);
    transition: all 0.3s ease;
}

.change-btn:hover {
    text-decoration: none;
    opacity: 0.7;
}

.par {
    line-height: 1.5rem;
}

.doll {
    color: hsl(224, 23%, 55%);
}

.btn {
    width: 100%;
    height: 4.5vh;
    border-radius: 0.5rem;
    border: none;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Red Hat Display', sans-serif;
    background-color: hsl(245, 75%, 52%);
    color: white;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.7;
}

.cancel {
    padding: 1rem;
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
    cursor: pointer;
    color: hsl(224, 23%, 55%);
}

.cancel:hover {
    color: black;
}

.attribution {
    position: fixed;
    width: 100%;
    bottom: 1rem;
    text-align: center;
    margin-top: 1rem;
}

.attribution p {
    font-weight: 200;
    font-size: 0.7rem;
    color: hsl(224, 23%, 55%);;
}

.attribution a {
    text-decoration: none;
    color: hsl(245, 75%, 52%);;
}

