body {
    width: 1440px; 
    background-color: rgb(229, 239, 245);
    font-size: 16px;
    font-weight: 400;
}

h1 {
    color: rgb(42, 178, 175);
    font-size: 28px;
    margin-top: -12px;
}

h2 {
    color: rgb(192, 223, 52);
    font-size: 20px;
}

.container {
    display: flex;
    height: 250px;
}

.first {
    background-color: rgb(42, 178, 175);
    flex-basis: 50%;
    padding-left: 40px;
    padding-top: 15px;
}

.second {
    background-color: rgb(74, 190, 189);
    flex-basis: 50%;
    padding-left: 35px;
    padding-top: 15px;  
}

main {
    width: 575px;
    background-color: white;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#price {
    float: left; 
    font-weight: bold; 
    font-size: 32px; 
    margin-top: -2px; 
    margin-bottom: 0px; 
}

#paragraph {
    color: rgb(152, 166, 189);
    font-size: 14px; 
    line-height: 23px; 
}

#next {
    clear: both; 
    font-size: 14px;
}

#pm {
    margin-top: 26px; 
    margin-left: 60px; 
    font-weight: 100;
}

.top {
    text-align: left; 
    margin: 40px;
    padding-top: 10px;
}

.button {
    background-color: rgb(192, 223, 52);
    border: none;
    color: white;
    padding: 15px 75px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 2px;
    margin-top: -5px;
    cursor: pointer;
    border-radius: 10px;
    text-align: center;
}
.button:hover {
    background-color: white;
    color: rgb(42, 178, 175);
}
.button:focus{
    outline: none;
}
#buttonClick {
    color: white; 
    text-align: center;
    margin-left: -45px;
    margin-top: -5px;
}

#why{
    font-weight: bold;
    font-size: 16px;
}

#subscription {
    font-weight: bold;
    font-size: 16px;
}

#pm {
    color: rgb(167, 65, 65);
    margin-left: 80px;
    margin-bottom: 2px;
    padding-bottom: 1mm;
}

ul {
    margin: 0px;
    padding: 0px;
    line-height: 18px;
}

li {
    list-style: none; 
    font-size: 14px;  
}

#footer {
    width: 100%;
    position: absolute;
    bottom: 80px;
    font-size: 11px; 
    text-align: center; 
    color: rgb(62, 82, 163); 
    bottom: -100px;
}

a:link {
    color: rgb(42, 178, 175);
    text-decoration: none;
}
a:visited {
    color: rgb(11, 96, 95);
}
a:hover {
    color: rgb(192, 223, 52);
}
a:active {
    color: rgb(74, 190, 189);
}

#next, #subscription, #why, #pm, #price, ul {
    color: white;
}

* {
    font-family: 'Karla', sans-serif;
}

@media screen and (max-width: 450px) {
    .attribution {
        width: 100%;
        text-align: center;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
    #footer {
        bottom: 0; 
        width: 100%; 
        height: 100px; 
        position: relative;
    }
    main {
        display: flex; 
        flex-flow: column wrap;
        justify-content: space-evenly;
        align-self: center;     
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 10px;
    }
    .container {
        display: grid;
    }
    body {
        background-color: rgb(229, 239, 245);
        width: 100%;
        height: 100%;
    }
    .first {
        height: 250px;
        padding-left: 50px;
        padding-top: 25px;
    }
    .second {
        height: 280px;
        padding-left: 50px;
        margin-bottom: 60px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    .top {
        padding-left: 10px;
    }
    #why {
        line-height: 30px;
    }
    .button {
        padding: 15px 85px;
        margin-top: 10px;
    }    
}


