/* General styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Concert One', sans-serif;
    box-sizing: border-box;
}



.image-left img{
    max-width:12vw;
    padding:5%;
    border: 3px solid #d49b28;
    border-radius: 2%;
/*     display: inline */
}

#biketrails-name img{
    width: 100%;
}

.content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
header {
    background: white;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

header .logo img {
    max-width: 20%;
}

#main-text {
    color: rgb(52, 86, 121);
    margin-bottom:10%;
}

#bottom-right-text {
    color: #4A7C59;
}

#bottom-right-text a {
    color: rgb(56, 145, 24);
}

/* Layout Adjustments */
.item-row div {
    display: inline-block;
    vertical-align: middle;
    width: 48%;
    color: rgb(52, 86, 121);
    opacity: 1;

}

.item-row{
    background-color:rgba(37, 214, 34, 0.2);
    width:100%;
    margin-bottom: 3%;
    padding:2%;
}

.first-row, .second-row {
    padding: 5%;
    width: 80%;
    margin: auto;
    text-align: center;
}

#biketrails-image {
    padding-right: 15%;
    padding-top: 5%;
}

main {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.6);
    width: 80%;
    top: 0;
}

#biketrails-name {
    font-weight: 200;
    font-family: 'Concert One', cursive;
    font-size: 100px;
    font-style: italic;
    color: white;
    text-align: center;
    width: 100%;
}

#bottom-right-text {
    padding-top: 5%;
    padding-bottom: 5%;
}

#bottom-right-text i {
    font-size: 1em;
    padding-left: 2%;
}

#left-panel {
    align-items: center;
    padding-top: 5%;
}

.inline-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

#bottom-right-text {
    flex: 1;
}

.hidden {
    display: none;
}

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* Slideshow */
#slideshow {
    width: 50%;
    border-radius: 8%;
    border-color: rgba(60, 118, 181, 50);
    border-width: 5px;
    background-color: rgba(60, 100, 150, 50);
    margin-bottom: 20px;
}

/* Footer styles */
footer {
    padding-top: 5%;
    background: white;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

.footer-links a {
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 10px;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    #left-panel, #right-panel {
        width: 100%;
        text-align: center;
    }
    
    #biketrails-image img{
        width: 80%;
        /*! height:80%; */
        padding: 5%;
    }
    
    header .logo img {
         max-width: 500px;
    }
    
    
}

@media (max-width: 1000px) {
    #biketrails-name {
        font-size: 60px;
    }

    footer {
        font-size: 18px;
    }

    

}

/* Adjust for screens below 900px */
@media (max-width: 900px) {
    .item-row {
        width: 80%;
        padding: 2%;
        display: flex;
        flex-direction: column;
        align-items: center;
        background:rgba(255,255,255,0.8);
        border-radius: 10%;
        margin: 10%;
    }

    .item-row div {
        width: 100%;
        text-align: center;
        margin-bottom: 20%;
    }

    #biketrails-image {
        padding: 0;
        max-width: 70%;
    }

    #slideshow {
        width: 80%;
    }
}

@media (max-width: 768px) {
     header .logo img{
         max-width: 100% !important;
         width:40%;
    }
     .logo{
         text-align: center;
    }
    #biketrails-name {
        font-size: 40px;
    }
    
    .item-row img{
        width:60%;
        height:100%;
    }

    footer {
        font-size: 14px;
        padding: 0;
    }

    .footer-links {
        padding-top: 5%;
    }
}

 @media (max-width: 576px) {
    header {
        padding: 10px;
    }
    
     .item-row{
         font-size: 2vh;
     }
    #main-text, #bottom-right-text {
        font-size: 2vh;
        line-height: 2;
    }

    .inline-image {
        flex-direction: column;
        align-items: center;
       
    }

}
