/* Main Rules*/

html{
    font-family: "Tektur", sans-serif;
    font-size:16px;
    font-weight: 100;
    background-color: black;
    color: white;
}



.container {
    display: flex;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

body {
    margin:0;
    background-image: url("../Images/ben-j-and-space/hh-collage/hh-collage-bw.png");
    background-color:rgba(148, 202, 252, 0.3);
    background-blend-mode: lighten;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    
}

.main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
}

.socials {
    display: flex;
    flex-direction: column;
}

h1 {
    color: black;
    font-family: "Bytesized", sans-serif;
    font-size: 5rem;
    margin: 0;
    display: flex;
    align-items: center;
}

h2{
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;
    color:white;
    font-size: 3rem;
    margin: 2rem;
}

h3{
    text-decoration: underline;
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
    margin-top: -1.25rem;
}

p {
    font-size: 1rem;
    
}

a:visited {
    color: hsl(261, 100%, 85%)
}

/* Navigation Bar*/
header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
#nav-title {
    display:flex;
    flex-direction: row;
}   

#nav-title-img {
    height: 107px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: rgb(255, 255, 255);
    height: 80px;
    padding: 10px 20px;
}

.navlinks img{
    display: none;
}

.navlinks ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.navlinks ul li {
    margin-left: 20px;
}

.navlinks ul li a {
    font-family: "Tektur", sans-serif;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.3rem;
    padding: 10px 20px;
    background-color: #333333;
    border: 2px solid #333333;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.navlinks ul li a:hover {
    background-color: #555555;
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}

.navlinks ul li a:active{
    transform:scale(0.95);
    animation-duration: 0.2s;
    transition: all 0.3s ease-in-out;
}

    /* Responsive Design for Header/Navigation */
    @media only screen and (max-width: 900px) {
        nav {
            flex-direction: column;
            align-items: center;
            height: auto;
        }

        h1 {
            font-size: 3.5rem;
        }

        #HavenHausLogo {
            height: 80px;
        }


        .navlinks {
            margin-top: 10px;;
        }
    }

    @media only screen and (max-width: 400px) {
    nav {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px;
    }

    h1 {
        font-size: 2.5rem;
    }

    #HavenHausLogo {
        height: 60px;
    }

    .navlinks ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .navlinks ul li a {
        font-size: 0.9rem;
        padding: 8px 12px;
        width: 100%; 
        text-align: center;
    }
}
    

/* main page*/

.shadow-box {
    box-shadow: 10px 5px 5px  rgba(70, 70, 70, 0.7);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    max-width: 60%;
    margin: 2rem auto;
    padding: 1rem;
}

.body {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
}

/*Instagram embed styling*/
.instagram-media {
    background: #FFF;
    border: 0;
    border-radius: 3px;
    box-shadow: 0 0 1px 0 rgba(0,0,0,0.5), 0 1px 10px 0 rgba(0,0,0,0.15);
    margin: auto;
    width: 100%;
    max-width: 500px;;
}

.insta-container {
    padding: 16px;
}

.insta-link {
    background: #FFFFFF;
    text-align: center;
    text-decoration: none;
    width: 100%;
    display: block;
}

.insta-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.insta-avatar {
    background-color: #F4F4F4;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    margin-right: 14px;
}

.insta-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insta-user,
.insta-meta {
    background-color: #F4F4F4;
    border-radius: 4px;
    height: 14px;
}

.insta-user {
    width: 100px;
    margin-bottom: 6px;
}

.insta-meta {
    width: 60px;
}

.insta-image {
    padding: 19% 0;
}

.insta-icon {
    display: block;
    height: 50px;
    margin: 0 auto 12px;
    width: 50px;
}

.insta-caption {
    display: none;
    color: #3897f0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 550;
    line-height: 18px;
    padding-top: 8px;
}

.insta-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 24px;
}

.insta-credit {
    color: #c9c8cd;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 17px;
    margin-top: 8px;
    padding: 8px 0 7px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.insta-credit a {
    color: #c9c8cd;
    text-decoration: none;
}


/*about us*/

#about{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 60%;
    margin: 20px;
}

#about h2, p, img{
    margin: 10px;
}

#about img {
    max-width: 150px;
    border-radius: 50%;
    opacity: 80%;
    transition: all 0.3s ease-in-out;
}

#about img:hover {
    opacity: 90%;
    transform: scale(1.2);
    border-radius: 20%;
    transition: all 0.3s ease-in-out;
}

#about p{
    text-align: justify;
    width: 80%;
}

.about-blurb-short {
    display: none;
}

    /* Responsive Design for About Us Section */

    @media only screen and (max-width: 700px) {
        .about-text {
            width: 90%;
        }
    }

    @media only screen and (max-width: 450px) {
        .about-blurb-short {
            display: flex;
        }

        .about-blurb {
            display: none;
        }

        #about img {
            max-width: 100px;
        }

    }

/*contact*/

#contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
}

#contact-section h2, h3{
    color:white;
}

#contact-section h2{
    margin-bottom: 0px;
    font-size: 2rem;
}

#contact-section a p{
    color: white;
    margin-top: 0.1rem;
}

#contact-section a p:hover{
    color:lightblue;
}

#contact-section img {
    max-width: 60px; 
    width: auto;
    border-radius: 25%;
}


.logo-container{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
    max-width: 150px;
    padding: 10px;
}

.logo-container p {
    margin: 0.25rem 1rem 2rem 1rem;
}

.animation-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.animation-container:hover{
    transform: scale(1.4);
}

/* Responsive Design for Contact Section */
@media only screen and (max-width: 770px) {
    .logo-container h3 {
        display: none;
    }

    .logo-container p {
        display: none;
    }
}

@media only screen and (max-width: 400px) {

    .icon {
        max-height: 40px; 
        width: auto;
        margin: 0;
    }
}

/*Footer*/

footer {
    max-height: 30px;
    padding: 20px;
    text-align: center;
}

footer p {
    padding: 10px auto;
    color: white;
    font-size: 1rem;
}

/*Calendar Page*/
.calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem;
}

.calendar iframe {
    border-radius: 10px;
    border: solid 1px #000000;
    width: 60vw;
    height: 30vw;
    overflow: hidden;
    box-sizing: border-box;
}