/* colors

*/
:root {
    --yellow: #FEE440; 
    --purple: #9B5DE5;
    --pink: #F15BB5; 
    --blue: #00BBF9; 
    --green: #00F5D4;
}

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

body { 
    font-family: 'Poppins', sans-serif;
    color: #333;
}

li {
    list-style-type: none;
}


section { 
    min-height: 50vh;
}

section:nth-child(even) {
    background-color: var(--blue);
}

section:nth-child(odd) {
    background-color: var(--green);
}

a { 
    color: inherit;
    font-weight: bold;
    padding: 0.25rem;
}



/* footer */
footer {
    background-color: #333;
    color: white;
    min-height: 5vh;
}
.socials {
    min-height: 5vh;
    padding: 1rem;
    display: flex; 
    justify-content: space-evenly;
    align-items: center;
}

.socials a {
    color: inherit; 
    background-color: inherit;
}

.social-item:hover { 
    color: var(--yellow); 
}

/* header */
header {
    min-height: 10vh;
    margin: 0 auto;
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color:var(--yellow);
    padding-top: 25px;
    display: grid;
    color: var(--purple);
}


.logo {
    font-weight: bold; 
    font-size:1.5rem;
    font-family: 'Pacifico', cursive;
}



/* Navigation */
.navbar-nav {
    height: 90vh;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-item { 
    margin: 1rem;
}


.nav-item a:hover, .nav-item a:focus {
    color: var(--yellow); 
    background-color: var(--purple);
}

.hide { 
    display: none;
}

/* Burger bar */
.burger {
    position: absolute; 
    top: 25px; 
    right: 25px; 
}

.line {
    height: 5px; 
    width: 35px; 
    background-color: var(--purple);
    margin: 5px;
    transition: 0.4s; 
}

/* toggle with JS */
.change .line-1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
    transform: rotate(-45deg) translate(-9px, 6px) ;
}

.change .line-2 {
    opacity: 0;
}

.change .line-3 {
    -webkit-transform: rotate(45deg) translate(-8px, -6px) ;
    transform: rotate(45deg) translate(-8px, -6px) ;
}


/* Hero section */
#hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column; 
    color: white; 
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--pink);
}

.hero p {
    font-weight: lighter;
}

.hero a { 
    background-color: var(--blue);
    padding: 1rem;
    margin-top: 3rem;
    border-radius: 5px;
    border: none;
    text-decoration: none;
}

.hero a:hover, .hero a:focus {
    background-color: white; 
    color: var(--blue);
    box-shadow: 0 2px 5px 0px; 
}


/* Selling points */

.selling-points {
    /* color: white; */
    text-align: center;
    padding: 2rem 1rem;
    display: grid;
    grid-template-rows: 150px 1fr;
}

.selling-points .container {
    margin-top: 1rem;
    display: grid; 
    gap: 20px;
}


/* Media queries */

@media screen and (min-width: 48em) {
    header {
        grid-template-columns: 1fr 1fr;
    }
    .navbar-nav {
        display: flex;
        height: 100%; 
        flex-direction: row;
    }
    .logo { 
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .burger {
        display: none;
    }

    .selling-points .container {
        grid-template-columns: repeat(3, 1fr);
        margin: 1rem;
    }

}