﻿#header {
    background-color: yellow;
    width: 100%;
    height: 40vh;
    background-image: url("../img/PageHeaders/Carpool.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.overlay-white {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: rgba(159, 203, 234, 0.63);
}

.text-over-image {
    position: absolute;
    justify-content: space-evenly;
    max-width: 90%;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.header {
    text-align: center;
    a {
    text-decoration: none;
    color: black;
    }
}

.accordionContent {
    background: white;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.accordion-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;

    @media only screen and (max-width: 1000px) {
        width: 70%;
    }

    @media only screen and (max-width: 600px) {
        width: 80%;
}

.accordionContent p, a, li, h3 {
    color: #30363D;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.blueLink {
    color: dodgerblue;
}

.accordionContent .fat {
    font-weight: 700;
}

.accordion {
    width: 100%;
}

.accordion-item {
    position: relative;
    background-color: transparent;
    border: none;
    &.active

{

.icon {
    &:before

{
    
}

&:after {
    width: 0;
    opacity: 0.8;
}

}
}

.heading {
    background-color: transparent;
    width: 100%;
    display: block;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding: 1.5rem 0 1.5rem 4rem;
    transition: 0.3s ease-in-out;

    @media (min-width: 40rem) {
        font-size: 1.5rem;
    }

    @media (orientation: portrait) {
        font-size: 2.5rem;
    }

    &:hover

{
    opacity: 0.8;
    color: #30363D;
    .icon

{
    &:before, &:after

{
    opacity: 0.8;
}

}
}
}

.icon {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 3rem;
    height: 3rem;
    border: 2px solid #30363D;
    border-radius: 3px;
    transform: translateY(-50%);
    &:before, &:after

{
    content: '';
    width: 1.25rem;
    height: 0.25rem;
    background: #30363D;
    position: absolute;
    border-radius: 3px;
    left: 50%;
    top: 50%;
    transition: 0.3s ease-in-out;
    transform: translate(-50%, -50%);
}

&:after {
    transform: translate(-50%, -50%) rotate(90deg);
    z-index: -1;
}

}

.content {
    display: none;
    width: 100%;
    p

{
    margin-top: 0;
    color: #30363D;
}

@media screen and (max-width: 1000px) {
    p {
        font-size: 2rem;
    }

        p a {
            font-size: 2rem;
        }
}