.attribution { font-size: 11px; text-align: center; margin-top: 2em;}
.attribution a { color: hsl(228, 45%, 44%); }

html{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Red Hat Display', sans-serif;
    background-image: url("../images/pattern-background-desktop.svg");
    background-color: hsl(225, 100%, 94%);
}

.main{
    width: 450px;
    height: 620px;

    margin: auto;
    margin-top: 3%;
    background-color: #fff;
    border-radius: 1em;
}

svg {
    margin-right: -2px;
    padding: 0;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

h2 {
    width: 100%;
    text-align: center;
    margin-top: 1.1em;
    font-weight: 900;
}

p{
    padding: 0 4em;
    text-align: center;
    line-height: 1.5em;
    font-size: 16px;
    color: lightslategrey;
}

.box {
    width: 70%;
    margin: auto;
    padding: 0px 15px;
    background-color: hsl(225, 100%, 98%);
    border-radius: 0.4em;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

h4 {
    /* background-color: maroon; */
    margin-left: -70px;
    width: auto;
    align-self: baseline;
}

span{
    display: block;
    padding: 7px 0 0 0;
    font-weight: 500;
    font-size: 0.9em;
}

.changeButton{
    font-size: 0.9em;
}

.changeButton:hover{
    opacity: 0.8;
    text-decoration: none;
}

button{
    /* must be block because of margin auto trick */
    display: block;
    width: 77.7%;
    margin: 1.5em auto;
    padding: 13px 0px;
    background-color: hsl(245, 75%, 52%);
    border-radius: 0.8em;

    font-size: 0.8em;
    color: azure;
    font-weight: 700;

    box-shadow: 2px 8px hsl(225, 100%, 98%);
}

button:hover,
button:active{
    opacity: 0.6;
}

.cancel {
    display: block;
    margin-top: 2em;
    text-align: center;
    font-size: 0.8em;
    font-weight: 700;
    color: lightslategrey;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.cancel:hover{
    color: #000;
}
