@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@200;400&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #b74e91;
    color: #fff;
}

/* Header */

header {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}

header {
	display: block;
}

#header {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    background-color: #5e42a6;
    cursor: default;
    padding: 1.75em 2em;
}

    #header > .title {
        border: 0;
        color: #ffffff;
        display: block;
        font-size: 1.25em;
        font-weight: bold;
    }

    #header > nav {
        -moz-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        text-align: right;
    }

        #header > nav > ul {
            margin: 0;
            padding: 0;
        }

            #header > nav > ul > li {
                display: inline-block;
                margin-left: 1.75em;
                padding: 0;
                vertical-align: middle;
            }

                #header > nav > ul > li:first-child {
                    margin-left: 0;
                }

                #header > nav > ul > li a {
                    border: 0;
                    color: rgba(255, 255, 255, 0.35);
                    display: inline-block;
                    font-size: 0.6em;
                    font-weight: bold;
                    letter-spacing: 0.25em;
                    text-transform: uppercase;
                }

                    #header > nav > ul > li a:hover {
                        color: rgba(255, 255, 255, 0.55);
                    }

                    #header > nav > ul > li a.active {
                        color: #ffffff;
                    }

    @media screen and (max-width: 736px) {

        #header {
            padding: 1em 2em;
        }

    }

    @media screen and (max-width: 480px) {

        #header {
            display: block;
            padding: 0 2em;
            text-align: left;
        }

            #header .title {
                font-size: 1.25em;
                padding: 1em 0;
            }

            #header > nav {
                border-top: solid 1px rgba(255, 255, 255, 0.15);
                text-align: inherit;
            }

                #header > nav > ul > li {
                    margin-left: 1.5em;
                }

                    #header > nav > ul > li a {
                        height: 6em;
                        line-height: 6em;
                    }

    }

/* Accordion */

h1 {
    text-align: center;
    margin: 2rem 0;
    font-size: 2.5rem;
}

.accordion {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
}

.accordion-item {
    background-color: #5e42a6;
    color: #ffffff;
    margin: 1rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
}

.accordion-item-header{
    padding: 0.5rem 3rem 0.5rem 1rem;
    min-height: 3.5rem;
    line-height: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.accordion-item-header::after{
    content: "\25B6";
    font-size: 1rem;
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease-in-out;
}

.accordion-item-header.active::after{
    transform: rotate(90deg);
}

.accordion-item-body{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item-body-content{
    padding: 1rem;
    line-height: 1.5rem;
    border-top: 3px solid #b74e91;

}

.accordion-item-body-content-code{
    background-color: #F6F5FA;
    color: #fa3333;
    font-family: 'Source Code Pro';
    padding: 1rem;
    width: 30rem;
    font-size: 1rem;
    
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);

}

.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: border-color 0.2s ease;
    -webkit-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
    background-color: transparent;
    border: solid 1px !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    border-radius: 3em;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-block;
    font-size: 0.6em;
    font-weight: bold;
    height: calc(4.75em + 2px);
    letter-spacing: 0.25em;
    line-height: 4.75em;
    outline: 0;
    margin-top: 2rem;
    padding: 0 3.75em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.button:hover {
    border-color: rgba(255, 255, 255, 0.75) !important;
}

ul {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

li {
    margin-left: 3rem;
    font-style: italic;
}
