@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;800&family=Work+Sans:wght@300;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
    color: #3a3a3a;
}

/* logo and headings */

header {
    background-color: #682bd7;
    height: 75px;
}

h1, h2, h3 {
    font-family: Montserrat, sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    color: #252525;
}

#logo {
    float: left;
    font-size: 300%;
    font-weight: 800;
    color: #fff6ff;
    margin-left: 30px;
}

/* menu links */

#menu {
    font-size: 150%;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    /* flex direction learned from https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction */
    flex-direction: row;
    float: right;
    margin-right: 30px;
}

#menu, #logo {
    line-height: 75px;
}

#menu li {
    list-style-type: none;
    margin-right: 20px;
}

#menu a {
    text-decoration: none;
    color: #fff6ff;
    border: 3px solid transparent;
    display: inline;
    padding: 5px;
    border-radius: 7px;
    /* transition learned from https://www.w3schools.com/css/css3_transitions.asp */
    transition: 0.5s;
}

#menu a:hover {
    background-color: #fff6ff;
    color: #682bd7;
}

/* column section */

#columns {
    height: 600px;
    padding: 0 50px;
    background-color: #fff;
}

#column-left {
    width: 50%;
    float: left;
}

#column-left img {
    width: 118%;
}

#column-right {
    width: 50%;
    float: right;
}

#column-right h2 {
    text-align: center;
    font-size: 300%;
    padding: 30px 75px 30px 0;
}

#column-right p {
    text-align: center;
    font-size: 18px;
    padding-right: 75px; 
}

.highlight-size {
    text-align: center;
    font-size: 24px;
}

.highlight-color {
    color: #682bd7;
    font-weight: 600;
}

.center-btn {
    text-align: center;
}

#anti-age-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: #682bd7;
    font-size: 32px;
    font-weight: 800;
    border-radius: 20px;
    padding: 20px 30px;
    margin: 30px 75px 0 0;
    transition: 0.5s;
}

#anti-age-btn:hover {
    color: #682bd7;
    background-color: #fff;
    border: 1px solid #252525;
}

/* Anti-age tips section */

#anti-age {
    width: 100%;
    background-color: #fff6ff;
    text-align: center;
    padding: 30px 0;
}

#anti-age h2 {
    font-size: 300%;
    padding: 30px 0 30px 0;
}

#anti-age-row {
    margin-top: 30px;
    display: flex;
    /* justify-content learned from https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content */
    justify-content: space-evenly;
}

.anti-age-column {
    flex-basis: 25%;
    background-color: #fff;
    border-radius: 20px;
    padding: 15px 30px;
    margin-bottom: 30px;
    /* box-shadow learned from https://www.w3schools.com/cssref/css3_pr_box-shadow.asp */
    box-shadow: 0 0 30px 0px rgba(0, 0, 0, .3);
}

.anti-age-column h3 {
    font-size: 24px;
    margin: 10px 0;

}

#free-consultation-container {
    margin: 30px 0;
}

#free-consultation-btn {
    display: inline;
    text-decoration: none;
    color: #fff;
    background-color: #682bd7;
    font-size: 24px;
    font-weight: 800;
    border-radius: 20px;
    padding: 10px;
    transition: 0.5s;
}

#free-consultation-btn:hover {
    color: #682bd7;
    background-color: #fff;
    border: 1px solid #252525;
}

/* footer */

footer {
    height: 150px;
    background-color: #372b47;
}

.social-links {
    text-align: center;
}
.social-links > li {
    display: inline;
}

.social-links i {
    font-size: 200%;
    margin: 2%;
    padding: 1% 5%;
    color: #fff6ff;
}

/* Contact page */

#contact {
    height: 600px;
    text-align: center;
    background-color: #fff;
}

.info, .open-times {
    position: relative;
    top: 10%;
}

.info h1 {
    font-size: 300%;
    text-transform: uppercase;
}

.info i {
    font-size: 125%;
}

.info h2 {
    font-size: 125%;
}

.info h1 h2 {
    padding: 20px;
}

.info {
    padding: 50px;
}

.info > h1 {
    padding-bottom: 20px;
}

.info > h2 {
    padding: 5px;
}

.open-times > h3 {
    font-size: 200%;
    padding-bottom: 10px;
}

.center {
    font-size: 150%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 30px 0px rgba(0, 0, 0, .3);
}

table, tr, th {
    border: 3px solid #252525;
    border-collapse: collapse;
    padding: 5px 10px;
}

.category {
    background-color: #682bd7;
    color: #fff6ff;
} 

/* Image bottom contact page */

#image-bottom {
    height: 500px;
    width: 100%;
    /* Image from https://www.canva.com/ */
    background: url('../images/skin-care.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 50px;
}

#image-bottom > h3 {
    width: 50%;
    font-size: 200%;
    font-style: italic;
    color: #372b47;
    margin: 0 auto;
    text-align: center;
    padding-top: 50px;
}

#image-bottom span {
    color: #682bd7;
}

/* Form page*/

.form {
    height: 600px;
    width: 100%;
    text-align: center;
    background-color: #fff;
}

.signup {
    position: relative;
    top: 5%;
    width: 25%;
    background-color: #fff6ff;
    border: 1px solid #3a3a3a;
    border-radius: 15px;
    padding: 2% 3% 0 3%;
    margin: 0 auto;
    box-shadow: 0 0 30px 0px rgba(0, 0, 0, .3);
}

#text-area {
    height: 100%;
    width: 100%;
    text-align: center;
    margin-bottom: 5%;
}

#text-area > h2 {
    font-size: 200%;
    font-weight: 600;
    text-transform: uppercase;
}

#text-area > h3 {
    padding-top: 20px;
}

label {
    font-size: 125%;
    font-weight: 600;
    display: block;
    text-align: left;
    padding-bottom: 1%;
}

.text-field {
    color: #3a3a3a;
    width: 100%;
    height: 35px;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    display: block;
    padding: 3px;
    margin-bottom: 2%;
}

#submit-btn {
    display: inline;
    font-size: 250%;
    font-weight: 600;
    color: #fff6ff;
    background-color: #682bd7;
    border-radius: 15px;
    padding: 1% 10%;
    border: 1px solid transparent;
    margin: 5% 0 7% 0;
}

#submit-btn:hover {
    color: #682bd7;
    background-color: #fff;
    border: 1px solid #252525;
}

/* Image bottom form page */

#image-form {
    height: 500px;
    width: 100%;
    /* Image from https://www.canva.com/ */
    background: url('../images/skin-care.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 50px;
}

#image-form > h3 {
    width: 50%;
    font-size: 200%;
    font-style: italic;
    color: #372b47;
    margin: 0 auto;
    text-align: center;
    padding-top: 50px;
}

#image-form span {
    color: #682bd7;
}

/* Media queries */

/* For larger to medium screens size from 1200 px wide and down */
@media screen and (max-width: 1200px) {
    #menu {
        clear: left;
        float: left;
        margin-left: 30px;
        line-height: 30px;
    }

    header {
        height: 120px;
    }

    #columns {
        width: 75%;
        height: 1125px;
        margin: 0 auto;
        padding: 0;
    }
    
    #column-left, #column-right {
        width: 90%;
        float: left;
    }
    #column-right {
        margin-left: 90px;
    }

    #anti-age {
        padding: 0;
    }

    #anti-age-row {
        flex-direction: column;
        max-width: 75%;
        margin: 0 auto;
    }

    .social-links {
        padding-top: 25px;
    }

    #text-area > h2 {
        font-size: 150%;
    }

    #submit-btn {
        font-size: 175%;
    }
}

/* For medium screen sizes from 950px wide and down */
@media screen and (max-width: 950px) {
    
    #columns {
        height: 1075px;
    }
    
    .social-links {
        padding-top: 25px;
    }

    .signup {
        width: 50%;
    }

    #image-bottom > h3 {
        width: 100%;
        font-size: 200%;
    }
}

/* For small screen sizes 800px and down */
@media screen and (max-width: 800px) {
    #logo {
        font-size: 250%;
    }

    #menu {
        line-height: 25px;
        font-size: 100%;
    }

    #columns {
        height: 1150px;
    }
}

/* For small screen sizes 500px and down */
@media screen and (max-width: 500px) {
    #logo {
        font-size: 150%;
        margin-left: 30px;
    }

    #menu {
        font-size: 70%;
        line-height: 10px;
        margin: 0 0 0 20px;
    }

    #menu a {
        padding: 0;
    }

    #column-right {
        margin-left: 10px;
        width: 110%;
    }

    #column-right > h2 {
        font-size: 250%;
    }

    #columns {
        height: 1300px;
    }
    
    #free-consultation-btn {
        font-size: 80%;
    }

    .social-links {
        padding-top: 40px;
    }

    .info, .open-times {
        position: relative;
        top: 0;
    }

    .info {
        padding: 35px;
    }

    #image-bottom > h3 {
        width: 100%;
        font-size: 150%;
    }

    .signup {
        top: 15%;
        padding: 2% 3% 0 1%;
    }
    
    #text-area > h2 {
        font-size: 110%;
    }

    #text-area > h3 {
        font-size: 100%;
    }

    #submit-btn {
        font-size: 150%;
    }

    #image-form > h3 {
        width: 100%;
        font-size: 150%;
    }
}