@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

body {
    background-color: hsl(217, 54%, 11%);
}

main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: hsl(216, 50%, 16%);
    font-family: 'Outfit', sans-serif;;
    width: 355px;
    height: 600px;
    border-radius: 1rem;
    display: flex;
    vertical-align: middle;
}

.preview {
    border-radius: 1rem;
    width: 305px;
    height: 305px;
}

.wrapper {
    width: 305px;
    height: 560px;
    align-self: center;
    margin: auto;
}

h1 {
    color: white;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.desc {
    color: hsl(215, 51%, 70%);
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 300;
}

.info {
    margin-top: 5px;
    margin-bottom: 20px;
    height: 25px;
    display: flex;
}

.price {
    color: hsl(178, 100%, 50%);
    height: 25px;
    font-size: 18px;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.price img {
    margin-right: 10px;
}

.time {
    color: hsl(215, 51%, 70%);
    font-size: 18px;
    height: 25px;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.time img {
    margin-right: 10px;
}

.author-info {
    display: flex;
    border-top: 1px solid hsl(215, 32%, 27%); 
    padding-top: 15px;
}

.author-info p {
    color: hsl(215, 51%, 70%);
    font-size: 18px;
    padding: 0 20px;
    margin: auto 0;
    font-weight: 400;
}

.author-info span {
    color: white;
    font-weight: 300;
}

.author-icon {
    border-radius: 100%;
    border: 1px solid white;
    width: 30px;
    height: 30px;
}