body {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

/*===============Main Body================*/
.mainBody {
    margin-top: 6%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

#welcomeReel {
    display: flex;
    justify-content: center;
    width:100%;
    height:300px;
    background-image: url(../images/landing_skyline.jpeg);
    background-size: cover;
    background-position: 0% 60%;
}

#welcomeReel p {
    padding-inline: 1%;
    width: fit-content;
    height: fit-content;
    font-size: 72px;
    text-align: center;
    color: white;
    background-color: var(--primary-color-low-opacity);
    border-radius: 2rem;
}

#listing-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#listingContainer {
    display: block;
    margin-left: 8%;
    margin-right: 8%;
}

#listings {
    display: flex;
    justify-content: flex-start;
}

#listingObject {
    width:15%;
    height:450px;
    text-align: center;
    margin-left: 2%;
    margin-top: 1%;
}

#listingObject img{
    width:100%;
}

#listings p {
    margin-bottom: 25px;
}

#listings a {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 20px;
    margin:10px;
}

#listings a:hover {
    background-color: var(--primary-color-highlight);
    color: white;
    text-decoration: underline;
    padding: 20px;
    margin:10px;
}

#youtubeContainer {
    display: flex;
    margin-top: 1%;
    min-height: 315px;
    width: 100%;
    justify-content: space-between;
}

#otherVideos {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 90%;
    height: 90%;
    margin-inline: 15px;
    text-align: center;
    font-size: 24px;
}

#thumbnails {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    height: 70%;
}

#thumbnail button {
    background-color: #bb2a30ff;
    border: none;
    padding: 2px;
    width: 100%;
}

#thumbnail button:hover {
    background-color: rgba(232, 230, 230, 0.23);
    border: none;
    padding: 0;
    box-shadow: 0 0 40px 20px rgba(232, 230, 230, 0.23);
}

#thumbnail { 
    width: 24%;
}

#thumbnail p {
    color: white;
}

#thumbnail img {
    border: none;
    padding: 0;
    width: 100%;
}

#activeVideo {
    width: 560px;
    height: 315px;
    padding: 1%;
    background-color: black;
}

#activeVideoPlayer {
    width:560px;
    height:315px; 
}

#extendToEdge {
    background-color: #bb2a30ff;
    padding: 0;
    margin: 0;
    width: 100%;
}

#testimonialsAndAbout {
    display: flex;
    margin-left: 8%;
    margin-right: 8%;
    justify-content: space-between;
}

#testimonials {
    width: 60%;
    height: 300px;
    border-bottom: 1px rgba(128, 128, 128, 0.276) solid;
}

#testimonial {
    position: relative;
    width: 80%;
    display: block;
    margin-inline: auto;
    text-align: center;
    border-top: 1px rgba(128, 128, 128, 0.276) solid;
    border-radius: .5rem;
}

#testimonial #quote{
    font-style: italic;
    height: 120px;
}

#about {
    width: 33%;
    display: block;
    margin-inline: auto;
    margin-top:.4%;
    text-align: center;
}

#about h2 {
    margin-bottom: 2%;
}

#about hr {
    visibility: hidden;
}

#about button {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 20px;
    margin:10px;
    border: none;
    font-size: 18px;
}

#about button:hover {
    background-color: var(--primary-color-highlight);
    color: white;
    text-decoration: underline;
    padding: 20px;
    margin:10px;

}

.carousel-button {
    position: relative;
    top:-100px;
}

.prev {
    left:-60%;
}
.next {
    right:-60%;
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {

}

/* ==Tablets (landscape)== */
@media (min-width: 800px) and (max-width: 1366px) and (orientation : landscape) {
    body {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    /*===============Main Body================*/
    .mainBody {
        margin-top: 10%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    
    #welcomeReel {
        display: flex;
        justify-content: center;
        width:100%;
        height:300px;
        background-image: url(../images/landing_skyline.jpeg);
        background-size: cover;
        background-position: 0% 60%;
    }
    
    #welcomeReel p {
        padding-inline: 1%;
        width: fit-content;
        height: fit-content;
        font-size: 72px;
        text-align: center;
        color: white;
        background-color: var(--primary-color-low-opacity);
        border-radius: 2rem;
    }
    
    #listingContainer {
        display: block;
        margin-left: 4%;
        margin-right: 4%;
    }
    
    #listings {
        display: flex;
        justify-content: flex-start;
    }
    
    #listingObject {
        width:280px;
        height:450px;
        text-align: center;
        margin-left: 1%;
        margin-top: 1%;
    }
    
    #listingObject img{
        width:256px
    }
    
    #listings p {
        margin-bottom: 25px;
    }
    
    #listings a {
        background-color: var(--primary-color);
        color: white;
        text-decoration: none;
        padding: 20px;
        margin:10px;
    }
    
    #listings a:hover {
        background-color: var(--primary-color-highlight);
        color: white;
        text-decoration: underline;
        padding: 20px;
        margin:10px;
    }
    
    #youtubeContainer {
        display: flex;
        margin-top: 1%;
        min-height: 315px;
        width: 100%;
        justify-content: space-between;
    }
    
    #otherVideos {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 90%;
        height: 90%;
        margin-inline: 15px;
        text-align: center;
        font-size: 24px;
    }
    
    #thumbnails {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        height: 70%;
    }
    
    #thumbnail button {
        background-color: #bb2a30ff;
        border: none;
        padding: 2px;
        width: 100%;
    }
    
    #thumbnail button:hover {
        background-color: rgba(232, 230, 230, 0.23);
        border: none;
        padding: 0;
        box-shadow: 0 0 40px 20px rgba(232, 230, 230, 0.23);
    }
    
    #thumbnail { 
        width: 24%;
    }
    
    #thumbnail p {
        color: white;
    }
    
    #thumbnail img {
        border: none;
        padding: 0;
        width: 100%;
    }
    
    #activeVideo {
        width: 560px;
        height: 315px;
        padding: 1%;
        background-color: black;
    }
    
    #activeVideoPlayer {
        width:560px;
        height:315px; 
    }
    
    #extendToEdge {
        background-color: #bb2a30ff;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    #testimonialsAndAbout {
        display: flex;
        margin-left: 8%;
        margin-right: 8%;
        justify-content: space-between;
    }
    
    #testimonials {
        width: 60%;
        height: 300px;
        border-bottom: 1px rgba(128, 128, 128, 0.276) solid;
    }
    
    #testimonial {
        position: relative;
        width: 80%;
        display: block;
        margin-inline: auto;
        text-align: center;
        border-top: 1px rgba(128, 128, 128, 0.276) solid;
        border-radius: .5rem;
    }
    
    #testimonial #quote{
        font-style: italic;
        height: 120px;
    }
    
    #about {
        width: 33%;
        display: block;
        margin-inline: auto;
        margin-top:.4%;
        text-align: center;
    }
    
    #about h2 {
        margin-bottom: 2%;
    }
    
    #about hr {
        visibility: hidden;
    }
    
    #about button {
        background-color: var(--primary-color);
        color: white;
        text-decoration: none;
        padding: 20px;
        margin:10px;
        border: none;
        font-size: 18px;
    }
    
    #about button:hover {
        background-color: var(--primary-color-highlight);
        color: white;
        text-decoration: underline;
        padding: 20px;
        margin:10px;
    
    }
    
    .carousel-button {
        position: relative;
        top:-100px;
    }
    
    .prev {
        left:-60%;
    }
    .next {
        right:-60%;
    }
    
    @media only screen 
    and (min-device-width : 768px) 
    and (max-device-width : 1024px) 
    and (orientation : landscape) {
    
    }
}

/* ==Tablets (Portrait)== */
@media (min-width: 800px) and (max-width: 1024px) and (orientation : portrait) {
    html, body {
        overflow-x: hidden;
    }

    body {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .mainBody {
        margin-top: 20%;
        width: 90%;
        margin-inline: 5%;
        padding: 0;
    }
    
    #welcomeReel {
        justify-content: center;
        width:100%;
        height:136px;
        background-image: url(../images/landing_skyline.jpeg);
        background-size: cover;
        background-position: 0% 60%;
    }

    #welcomeReel p{
        font-size: 50px;
        margin: 2%;

        padding-inline: 1%;
        text-align: center;
        color: white;
        background-color: rgba(187, 42, 47, 0.50);;
        border-radius: 1rem;
    }

    #listingContainer {
        width: 100%;
        margin: 0;
        left: 0px;
    }

    #listings {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
    }

    #listingObject {
        width:100%;
        height: 180px;
        position: relative;
        left:-9px;
        border:none;
        text-align: center;
        padding: 0;
        display: flex;
        justify-content: space-between;
        border: rgba(128, 128, 128, 0.15) 1px solid;
    }

    #listingObject #subDiv {
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    #listingObject #subDiv img{
        width:55%;
        padding: 0%;
    }
    
    #listings p {
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    #listings a {
        background-color: var(--primary-color);
        color: white;
        text-decoration: none;
        padding: 8px;
        padding-inline: 8px;
        margin:0px;
        margin-top: 0px;
        font-size: 12px;
        width: fit-content;
    }
    
    #listings a:hover {
        background-color: var(--primary-color-highlight);
        color: white;
        text-decoration: underline;
        padding: 8px;
        margin:0px;
    }

    #listingObject #hide_mobile{
        display: none;
    }

    #extendToEdge {
        background-color: #bb2a30ff;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #youtubeContainer {
        width: 100%;
        background-color: #bb2a30ff;
        display: flex;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        margin-top: 1%;
        justify-content: space-between;
        position: relative;
        min-height: 0px;
    }

    #youtubeContainer p {
        font-size: 18px;
        margin: 0;
        padding: 0;
    }

    #activeVideo {
        aspect-ratio: 16/9;
        width: 100%;
        height:fit-content;
        padding: 1%;
        background-color: black;
        text-align: center;
    }

    #activeVideoPlayer {
        width: 100%;
        height: 100%;
    }

    #otherVideos {
        background-color: var(--primary-color);
        width: 100%;
        height: fit-content;
        margin: 0;;
        padding: 1%;
        text-align: center;
        font-size: 24px;
    }

    #thumbnails {
        display: none;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    #testimonialsAndAbout {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        justify-content: space-between;
        text-align: center;
        justify-content: center;
    }

    #testimonials {
        width: 100%;
                border-bottom: 1px rgba(128, 128, 128, 0.276) solid;
    }

    #testimonial {
        width: 100%;
        display: block;
        margin-inline: auto;
        text-align: center;
        border-top: 1px rgba(128, 128, 128, 0.276) solid;
        border-radius: .5rem;
    }
    
    #testimonial #quote{
        font-style: italic;
    }


    .carousel-button {
        position: relative;
        top:0px;
    }
    
    .prev {
        left:-25%;
    }
    .next {
        right:-25%;
    }
    
    #about {
        width: 100%;
        display: block;
        margin-inline: auto;
        margin-top:.4%;
        text-align: center;
    }
    
    #about h2 {
        margin-bottom: 2%;
        width: 100%;
        border: none;
    }
    
    #about hr {
        visibility: hidden;
    }
    
    #about button {
        background-color: var(--primary-color);
        color: white;
        text-decoration: none;
        padding: 20px;
        margin:10px;
        border: none;
        font-size: 18px;
    }
    
    #about button:hover {
        background-color: var(--primary-color-highlight);
        color: white;
        text-decoration: underline;
        padding: 20px;
        margin:10px;
    
    }


}

/* ==Smartphones== */
@media (max-width: 800px) {
    html, body {
        overflow-x: hidden;
    }

    body {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .mainBody {
        margin-top: 28%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    
    #welcomeReel {
        justify-content: center;
        width:100%;
        height:136px;
        background-image: url(../images/landing_skyline.jpeg);
        background-size: cover;
        background-position: 0% 60%;
    }

    #welcomeReel p{
        font-size: 50px;
        margin: 0%;

        padding-inline: 1%;
        text-align: center;
        color: white;
        background-color: rgba(187, 42, 47, 0.50);;
        border-radius: 0;
    }

    #listingContainer {
        width: 100%;
        margin: 0;
        left: 0px;
    }

    #listings {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
    }

    #listingObject {
        width:100%;
        height: 170px;
        position: relative;
        left:-9px;
        border:none;
        text-align: center;
        padding: 0;
        display: flex;
        justify-content: space-between;
        border: rgba(128, 128, 128, 0.15) 1px solid;
    }

    #listingObject #subDiv {
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    #listingObject #subDiv img{
        width:100%;
        padding: 0%;
    }
    
    #listings p {
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    #listings a {
        background-color: var(--primary-color);
        color: white;
        text-decoration: none;
        padding: 8px;
        padding-inline: 8px;
        margin:0px;
        margin-top: 0px;
        font-size: 12px;
        width: fit-content;
    }
    
    #listings a:hover {
        background-color: var(--primary-color-highlight);
        color: white;
        text-decoration: underline;
        padding: 8px;
        margin:0px;
    }

    #listingObject #hide_mobile{
        display: none;
    }

    #extendToEdge {
        background-color: #bb2a30ff;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #youtubeContainer {
        width: 100%;
        background-color: #bb2a30ff;
        display: flex;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        margin-top: 1%;
        justify-content: space-between;
        position: relative;
        min-height: 0px;
    }

    #youtubeContainer p {
        font-size: 18px;
        margin: 0;
        padding: 0;
    }

    #activeVideo {
        aspect-ratio: 16/9;
        width: 100%;
        padding: 1%;
        background-color: black;
        text-align: center;
    }

    #activeVideoPlayer {
        width: 100%;
        height: 100%;
    }

    #otherVideos {
        background-color: var(--primary-color);
        width: 100%;
        height: fit-content;
        margin: 0;;
        padding: 0%;
        text-align: center;
        font-size: 24px;
    }

    #thumbnails {
        display: none;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    #testimonialsAndAbout {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        justify-content: space-between;
        text-align: center;
        justify-content: center;
    }

    #testimonials {
        width: 100%;
                border-bottom: 1px rgba(128, 128, 128, 0.276) solid;
    }

    #testimonial {
        width: 100%;
        display: block;
        margin-inline: auto;
        text-align: center;
        border-top: 1px rgba(128, 128, 128, 0.276) solid;
        border-radius: .5rem;
    }
    
    #testimonial #quote{
        font-style: italic;
    }


    .carousel-button {
        position: relative;
        top:0px;
    }
    
    .prev {
        left:-25%;
    }
    .next {
        right:-25%;
    }
    
    #about {
        width: 100%;
        display: block;
        margin-inline: auto;
        margin-top:.4%;
        text-align: center;
    }
    
    #about h2 {
        margin-bottom: 2%;
        width: 100%;
        border: none;
    }
    
    #about hr {
        visibility: hidden;
    }
    
    #about button {
        background-color: var(--primary-color);
        color: white;
        text-decoration: none;
        padding: 20px;
        margin:10px;
        border: none;
        font-size: 18px;
    }
    
    #about button:hover {
        background-color: var(--primary-color-highlight);
        color: white;
        text-decoration: underline;
        padding: 20px;
        margin:10px;
    
    }

}


