* {
    box-sizing: border-box;
}


html,body {
    padding: 0px;
    margin: 0px;
    background: rgb(240, 234, 243);
    font-family: 'Lora', serif;
    height: 100%;

}

h1, h2, h3, h4, h5, h6 {
    font-family:'Candal',serif;
    color:rgb(20, 3, 33);
    margin: 5px;
}

a{
    text-decoration: none;
    color: inherit;
}

.clearfix::after {
    content: '';
    display: block;
    clear: both;
}

.btn{
    padding: .5rem 1rem;
    background:rgb(135, 105, 157);
    color: white;
    border: 1px solid transparant;
    border-radius: .25rem;
}

.btn-big{
    padding: .7rem 1.3rem;
    line-height: 1.3rem;

}

.text-input {
    padding: .7rem 1rem;
    display: block;
    width: 100%;
    border-radius: 5px;
    border: 1px solid gray;
    outline: none;
    color: grey;
    line-height: 1.5rem;
    font-size: 1.2em;
    font-family: 'Lora', serif;
}

.btn:hover{
    color:white !important;
    background:rgb(71, 55, 82);
}


header {
    background-color: rgb(232, 177, 83);
    height: 66px;
}

header * {
    color:white;


}

header .logo{
    float: left;
    height: inherit;
    margin-left: 2em;

    
}

header .logo-text{
    margin: 9px;
    color:rgb(242, 221, 250);
    font-family: 'Candal', serif;
}

header .logo-text span {
    color:rgb(135, 105, 157);
}

header ul {
    float: right;
    margin: 0px;
    padding: 0px;
    list-style:none;
    
}

header ul li a{
    display: block;
    padding: 21px;
    font-size: 1.1em;
    text-decoration:none;
}

header ul li a:hover{
    background:rgb(135, 105, 157);
    transition: .5s;
}

header ul li {
    float:left;
    position: relative;
}

header ul li:hover ul{
    display:block;
}

header ul li ul{
    position: absolute;
    top: 66px;
    right: 0px;
    width: 180px;
    display:none;
    z-index:88888;
}

header ul li ul li{
    width: 100%;
}

header ul li ul li a{
    padding: 10px;
    background: white;
    color:black;
}

header ul li ul li a.logout{
    color: red;
}

header ul li ul li a:hover{
    background:rgb(71, 55, 82)
}

header .menu-toggle{
    display:none;
}

.page-wrapper{
    min-height: 100%;
}
.page-wrapper a:hover{
color:bisque;
}

.block {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block .content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* Space between title and button */
    z-index: 1;
    padding: 20px; /* Optional padding for spacing */
}

.block .title-title {
    font-size: 2em; /* Responsive font size */
    color: white;
    font-family: lora;
    margin: 0;
}

.block .btnabout {
    padding: 10px 20px;
    background: white;
    border: 2px solid white;
    border-radius: 5px;
    color: rgb(20, 3, 33);
    font-size: 1em;
    cursor: pointer;
    transition: 0.25s, color 0.25s;
}

.block .btnabout:hover {
    background: purple;
    color: white;
    border: 2px solid purple;
}

.block .block-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    z-index: 0;
}


/*post slider*/

#upcomingEvents, #pastEvents {
    margin-top: 20px;
}

.event {
    background-color: #f4f4f4;
    border-left: 5px solid #904caf;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.frontimg {
    position:relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    z-index: 0;
}

.pastEvents {
    font-family: 'lora';

}

.post-slider {
    
    position: relative;
    
}

.post-slider .slider-title{
    text-align:center;
    margin: 30px auto;
}

.post-slider .next{
    position: absolute;
    top: 50%;
    right: 30px;
    font-size: 2em;
    color:black;
    cursor: pointer;
    z-index: 88888;
}

.post-slider .prev{
    position: absolute;
    top: 50%;
    left: 30px;
    font-size: 2em;
    color:black;
    cursor: pointer;
    z-index:88888
}

.post-slider .post-wrapper {
    overflow:hidden;
    
    width: 84%;
    height: 350px;
    margin: 0px auto;
    padding: 10px 0px 10px 0px;
}

.post-slider .post-wrapper .post {
    
    margin:0px 10px;
    height: 330px;
    width: 300px;
    display: inline-block;
    background:white;
    border-radius: 5px;
    box-shadow: 1rem 1rem 1rem -1rem #a0a0a033;
}

.post-slider .post-wrapper .post .slider-image {
    width:100% ;
    height: 200px ;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    object-fit: cover; /* Ensures the image does not stretch */
}

.post-slider .post-wrapper .post .post-info {
    height:130px;
    padding: 0px 10px 5px;
    
}

.content {
    width: 90%;
    margin: 30px auto 30px;
    
    
    
}
.content .main-content {
    width: 70%;
    float: left;
    

}

.content .main-content.single{
    background: white;
    padding: 20px 50px;
    font-size: 1.1em;
    border-radius:5px;
}

.content .main-content.single .post-title{
    text-align: center;
    margin-bottom: 40px;

}

.content .main-content .recent-post-title{
    margin: 20px;
}

.content .main-content .post{
    width: 95%;
    height: 270px;
    margin: 20px auto;
    border-radius: 5px;
    background: white;
    position: relative;

}

.content .popular .post {
    border-top: 1px solid gray;
    margin-top: 10px;
    padding-top: 10px;
}

.content .popular .post img{
    height: 60px;
    width: 75px;
    float: left;
    margin-right: 10px;
}

.content .main-content .post .read-more{
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: 1px solid #3a101033;
    background: transparent;
    border-radius:0px;
    color:rgb(20, 3, 33) !important;
}

.content .main-content .post .read-more:hover{
    background: purple;
    color: white !important;
    transition: .25s;
}

.content .main-content .post .post-image{
    width: 40%;
    height: 100%;
    float: left;
    object-fit: cover;
}

.content .main-content .post .post-preview{
    padding: 10px;
    width: 60%;
    float: right;

}





.content .sidebar {
    width: 30%;
    float: left;
    
    
}

.content .sidebar.single{
    padding: 0px 10px;

}

.content .sidebar .section {
    background: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.content .sidebar .section .section-title{
    margin: 10px 0px 10px 0px;
}

.content .sidebar .section.search {
    margin-top: 80px;

}

.content .sidebar .section.topics ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
    border-top: 1px solid grey;

}

.content .sidebar .section.topics ul li a{
    border-bottom: 1px solid grey;
    display: block;
    padding: 15px 0px 15px 0px;
    transition: all 0.3s;

}

.content .sidebar .section.topics ul li a:hover{
    padding-left: 10px;
    transition: all 0.3s;
}






.footer {
    background: rgb(66, 62, 62);
    color:antiquewhite;
    height: 400px;
    position: relative;
}

.footer .footer-content .contact-form .contact-input{
    background:rgb(44, 40, 40);
    margin-bottom: 10px;
    color:aliceblue;
    line-height: 1.5rem;
    padding: .7rem 1.2rem;
    border: none;
}

.footer .footer-content .contact-form .contact-input:focus {
    background:rgb(50, 47, 47);
}

.footer .footer-content .contact-form .contact-btn{
    float: right;
    font-size: 1.1em;
    font-family: 'Lora';
}

.footer .footer-bottom{
    background:rgb(93, 87, 87);
    color: grey;
    height: 50px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding-top: 20px;
    width: 100%;
}

.footer .footer-content{
    
    height: 350px;
    display: flex;


}

.footer .footer-content .footer-section{
    flex: 1;
    
    padding: 25px;
}

.footer .footer-content  h1, 
.footer .footer-content h2 {
    color: white;

}


.footer .footer-content .about h1 span{
    color: green;
}

.footer .footer-content  .about .contact span {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.footer .footer-content .about .socials a{
    border: 1px solid grey;
    width: 45px;
    height: 41px;
    padding-top: 5px;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    font-size: 1.3em;
    border-radius: 5px;
    transition: all .3s;

}

.footer .footer-content .about .socials a:hover{
    border: 1px solid white;
    color: white;
    transition: all .3s;
}

.footer .footer-content .links ul a{
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
    transition: all .3s;

}

.footer .footer-content .links ul a:hover{
    color: white;
    margin-left: 15px;
    transition: all .3s;
}

.auth-content {
    width: 30%;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
}



.auth-content .form-title{
    text-align: center;
}

.auth-content form div {
    margin-bottom: 10px;

}

.auth-content  p {
    text-align: center;
}
.auth-content  p a {
    text-decoration: underline  !important;
}



.msg {
    width: 100%;
    margin: 5px auto;
    padding: 8px;
    border-radius:5px;
    list-style: none;
}

.success {
    color: green;
    border: 1px solid green;
    background: lightgreen;

}

.error {
    color: red;
    border: 1px solid red;
    background: lightpink;
    list-style: none;
    
}

.responsive-img {
    max-width: 100%; /* Ensures the image fits within its container */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes extra spaces around the image */
    margin: 0 auto; /* Centers the image */
}

.responsive-vid {
    max-height: 100%;
    max-width: 100%; /* Ensures the image fits within its container */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes extra spaces around the image */
    margin: 0 auto; /* Centers the image */
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.project-list .hidden {
    display: none;
}



.toggle-btn {
    margin-top: 10px;
    padding: 10px;
    background-color: #904caf;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.toggle-btn:hover {
    background-color: #702c9a;
}

hr.solid {
    border-top: 3px solid #702c9a;
  }

/* Media queries */


@media only screen and (max-width: 770px){
    .content{
        width:100%;
    }

    .content .main-content .post {
        width: 100%
        
    }

    .content .main-content {
        width:100%;
        padding: 10px;
    }

    
    .content .sidebar{
        width: 100%;
        padding: 10px;
    }

    .content .sidebar .section.search{
        margin-top:30px;

    }

    .content .main-content .post {
        width: 100%
        
    }

    .footer {
        height: auto;
    }

    .footer .footer-content{
        height: auto;
        flex-direction: column;
    }

    .footer .footer-content .contact-form{
        padding-bottom:90px;
    }

    .footer .footer-content .contact-form .contact-btn{
        width: 100%;
    }

    



}



@media only screen and (max-width: 770px){
    header {
        position: relative;
    }
    
    header ul {
        width:100%;
        background:rgb(175, 132, 206);
        max-height: 0px;
        overflow: hidden;
    }

    .showing {
        max-height: 100em;
    }

    header ul li {
    width: 100%
    }
    header ul li ul{
        position: static;
        display:block;
        width: 100%;
        background: inherit;
    }
    header ul li ul li a{
        padding: 10px;
        background: rgb(175, 132, 206);
        color:white;
        padding-left: 50px;
    }
    
    header ul li ul li a.logout{
        color: rgb(111, 0, 0);
    }
    header .menu-toggle{
        display:block;
        right: 20px;
        top: 20px;
        font-size: 1.9em;
        position: absolute;
    }
    header .logo{
        
        margin-left: .5em;
    
        
    }
    

    

}

@media only screen and (max-width: 600px){
    .content .main-content .post {
        height: auto;
        
    }

    .content .main-content .post .post-image{
        width: 100%;
        
    }

    .content .main-content .post .post-preview{
        width: 100%;
    }

    .content .main-content .post .read-more{
        position: static;
        width: 100%;
        display: block;
        text-align: center;
    }
}