:root {
    --pink: hsl(322, 100%, 66%);
    --light-pink: hsl(321, 100%, 78%);
    --light-red: hsl(0, 100%, 63%);
    --very-dark-cyan: hsl(192, 100%, 9%);
    --very-pale-blue: hsl(207, 100%, 98%);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    color:var(--very-dark-cyan);
}

h1 {
    margin-bottom: 40px;
}

h2 {
    margin-bottom: 12px;
}

p {
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.center {
    text-align: center;
}

/* Navbar */
.navbar {
    margin: 70px 0 30px;
}

.logo {
    width: 80%;
}

/* Button */
.btn-outline {
    color: var(--pink);
    border: 1px solid var(--pink);
    padding: 6px 22px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 20px 18px 17px -88px var(--light-pink);
}

.btn {
    color: var(--very-pale-blue);
    background: var(--pink);
    border: 1px solid var(--pink);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 20px 18px 17px -88px var(--light-pink);
}

.btn-subscribe {
    padding: 8px 20px;
    border-radius: 5px;
    margin-left: 20px;
}

/* Hero */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 940px;
    height: 500px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 40px;
    margin-bottom: 30px;
}

.hero-content p {
    color: var(--very-dark-cyan);
    font-weight: 600;
    line-height: 1.6;
    width: 55%;
    margin-bottom: 35px;
}

/* showcase */
.showcase img{
    width: 80%;
    margin: 0 auto;
}

/* info */
.info {
    width: 60%;
    margin: 50px auto;
}

.info-details h2 {
    font-size: 40px;
}

.info-details p {
    opacity: 70%;
}

/* article */
article {
    margin: 50px 0;
}

article img {
    width: 80%;
    margin: auto;
}

article h2 {
    font-size: 36px;
}

article p {
    color: var(--very-dark-cyan);
    font-weight: 600;
    opacity: 80%;
}

.grow-together-content, 
.your-users-content {
    padding-right: 2em;
}

/* ready-to-build */
.ready-to-build {
    padding: 30px 0;
    margin-bottom: 200px;
}

/* footer */
.footer {
    position: relative;
    background: var(--very-dark-cyan);
    color: var(--very-pale-blue);
    padding: 30px 0;
    margin-top: 50px;
}


.footer::before {
    content: '';
    background: url('./images/bg-footer-top-desktop.svg') no-repeat center;
    background-size: contain;
    position: absolute;
    top: -225px;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-left {
    flex-basis: 30%;
}

.footer-left p {
    text-align: left;
}

.fas, 
.far {
    margin-right:10px;
}

/* Footer Social */
.social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    list-style-type: none;
}

.social i {
    color: #fff;
    font-size: 30px;
}

.footer-right {
    flex-basis: 40%;
}

.footer-right h2 {
    color: var(--very-pale-blue);
    margin-bottom: 10px;
}

.footer-right p {
    margin-bottom: 20px;
}

input[type="text"] {
    padding: 10px 20px;
    border-radius: 5px;
    outline: none;
}

/* Media */
@media screen and (max-width: 567px) {
    
    body {
        text-align: center;
    }

    .flex {
        flex-wrap: wrap;
    }
    .navbar {
        margin: 40px 0 30px;
    }
    .hero-content {
        height: 350px;
        margin: 0 auto 40px;
    }
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        width: 100%;
    }

    article h2 {
        font-size: 22px;
    }

    .ready-to-build h1 {
        font-size: 24px;
    }
    
    .column-reverse{
        display: flex;
        flex-direction: column-reverse;
    }

    .footer::before {  
        top: -295px;
    }
    .footer-left,
    .footer-right {
        flex: auto;
    }
}
