/* Main stylesheet. Styles base.html (which all others inherit from) and any other sitewide things. */

@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans+Extra+Condensed&display=swap');


/* Begin html tag styling */
body, html {
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Sofia Sans Extra Condensed', sans-serif;
    letter-spacing: 3px;
    background-color: #3c3a35;
    overflow: auto;
    scroll-behavior: smooth;
}


/* Begin ID styling */
#background {
    background-image: url("/static/img/mixing.JPG");
    background-attachment: scroll;
    transition: background-image 0.5s;
    height: 100%;

    /* Center and scale the image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: auto;
}

#background-credits {
    background-image: url("/static/img/concrete.jpg");
}

#shield {
    background-color: rgba(0, 0, 0, 0.6)!important;
    height: 100%;
    overflow: hidden;
}

#title {
    font-size: 16rem;
    color: beige;
    font-weight: bolder;
    line-height: 0.75;
    letter-spacing: normal;
}

#find-out-more {
    line-height: 0.8;
}

#down-arrow {
    font-size: 4rem;
    line-height: 1;
}

#socials {
    color: beige;
    font-size: 2.3rem;
}

.subtext {
    color: beige;
    font-size: 2.5rem;
    letter-spacing: normal;
}

.subtitle {
    font-size: 8rem;
    color: beige;
    font-weight: bold;
}

.services-title {
    font-size: 4rem;
    color: beige;
    font-weight: bold;
}

.services-explain-text {
    color: beige;
    font-size: 1.9rem;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: beige;
    transition: 0.3s ease;
}

a:hover {
    color: rgb(190, 190, 190);
}

.services-subtitle {
    font-size: 2rem;
    color: beige;
    font-weight: bold;
}

.img-thumbnail {
    border: 5px solid beige!important;
    background-color: beige!important;
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: beige;
    letter-spacing: 1px;
    font-size: 1.2rem;
}  

.navbar, .dropdown-item {
    font-size: 2.5rem;
    letter-spacing: 0;
}

.card {
    margin-bottom: 30px;
    background-color: transparent;
    text-align: center;
}

.card-img-top {
    border-radius: 0;
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
}

.overlay span {
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.3em;
    line-height: normal;
}

.card:hover .overlay {
    opacity: 1;
}

/* Mobile-friendly styles -- show these until screen width is greater than 768px (this is "md" in bootstrap) */
@media (max-width: 768px) { 
    #title {
        font-size: 10rem;
    }

    .description {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 6rem;
    }
}
