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

body {
    background: no-repeat center center fixed;
    background-size: cover;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: 0px 0px 20px #242424;
    font-family: 'Poppins', sans-serif;
}

main {
    padding: 20px 30px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.top {
    display: flex;
    justify-content: space-between;
}

.time {
    text-align: center;
    background-color: #3d3c3c;
    padding: .5em 1em;
    border-radius: 4px;
    font-size: 3rem;
    border-radius: 8px;
    position: absolute;
    top: 40%;
    left: 40%;
}

#crypto {
    font-size: 1.3rem;
}

#crypto > p {
    margin: 0;
}

#crypto-top {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 5px;
}

#crypto-top > span {
    margin-left: 10px;
}

#weather {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-self: flex-start;
    margin-top: -20px;
    gap: 5px;
}

.crypto-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1em;
}

#weather > img {
    width: 70px;
}

.weather-city {
    width: 100%;
    text-align: right;
    margin: 0;
    margin-top: -10px;
}

.weather-temp {
    margin: 0;
    font-size: 1.7rem;
    margin-left: -10px;
}

#crypto-coins{
    cursor: pointer;
    padding: .2em;
    width: 180px;
    font-size: .8rem;
    color: white;
    background-color: #3d3c3c;
    border: none;
    border-radius: 5px;
}

#author{
    font-size: 1.6rem;
}
