/*Panel 2*/
.panel-2-title {
    text-align: center;
    padding-bottom: 5px;
}

.panel-2-section {
    display: flex;
        gap: 1rem;
        justify-content: space-around;
        align-items: center;
    padding: 2em 0;
}

.panel-2-section h2 {
    text-align: center;
}

.panel-2-section div, .panel-2-section-text {
    width: 40%;
}

.panel-2-section div img {
    width: 100%;
}

.order-reverse div {
    order: 2;
}
/*Panel 3*/
.panel-3-title {
    margin-bottom: 20px;
    text-align: center;
}

.panel-3-content {
    display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        grid-template-areas:
            "vid tour"
            "vid trans";
    margin: 0px 20px;
}

.video {
    display: flex;
        justify-content: center;
        align-items: center;
    grid-area: vid;
}

.video iframe {
    width: 100%;
        max-width: 640px;
    height: 360;
}

.tour {
    display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    grid-area: tour;
    text-align: center;
}

.transportation {
    display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    grid-area: trans;
}

.tour div, .transportation div {
    background-color: var(--whitesmoke);
    font-family: Crimson Text, sans-serif;
    font-size: 20px;
    margin: 20px;
    padding: 10px;
    text-align: center;
    width: 200px;
}

.transportation-link:hover, .transportation-link:focus {
    font-weight: bold;
}

/*Panel 4*/
.panel-4 {
    background-color: var(--whitesmoke);
    display: flex;
}

.panel-4 img {
    align-self: center;
    padding: 20px;
    width: 50%;
}

.panel-4 div {
    margin: 20px;
}

/*Media Queries*/
@media only screen and (max-width: 1200px) {
    .panel-4 {
        flex-direction: column;
    }

    .panel-4 img {
        width: 100%;
    }
}

@media only screen and (max-width:992px) {
    
    .panel-2-section {
        flex-direction: column;
            justify-content: start;
    }

    .order-reverse img {
        order: -1;
    }

    .panel-2-section-text {
        width: 100%;
    }

    .panel-2-section img {
        width: 100%;
            max-width: 480px;
    }

    .panel-3-content {
        display: grid;
            grid-template-columns: auto;
            grid-template-rows: repeat(3, auto);
            grid-template-areas:
                "vid"
                "tour"
                "trans";
        margin: 0px 20px;
    }
}