@import url(header.css);
@import url(footer.css);
@import url(scrollBar.css);
@import url(hallActivitiesStyle.css);

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
}

h1{
    margin: 0;
}

/* ##################################### HALL-MOTO-AND-ABOUT-US-STYLE ################################## */
.container1{
    margin-block-end: 0.75em;
}
.shade{
    aspect-ratio: 1/1.05;
    background-image: linear-gradient(56.47deg, rgba(151, 225, 249, 0.22) 13.72%, #F5F5F5 99.24%), url(/assets/hall_top_view.jpg);
    background-size: cover;
    background-position: right;
    padding-block-start: 10vw;
}
.shade h2{
    font-weight: 600;
    font-size: clamp(1.2em, 5vw, 2em);
    line-height: 1.5em;
    letter-spacing: 0.24em;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    max-width: min(50%, 25ch);
    margin-inline-start: auto;
    margin-inline-end: 2vw;
}

.moto p{
    margin-block-start: 0.75em;
    padding-inline: 2em;
    font-weight: 300;
    font-size: 0.75em;
    line-height: 18px;
    text-align: justify;
    letter-spacing: 0.2em;
    text-align-last: center;
}
.container2 h2{
    margin-block-start: 30px;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.24em;
}

/* Magazine link */
.button{
    display: block;
    margin-block-start: 0.75em;
    margin-inline: auto;
    width: max-content;
    text-decoration: none;
    color: black;
    border: 1px solid currentColor;
    padding: 0.8em 2.4em;
    box-shadow: 2px 2px 7px rgba(255, 0, 0, 0.7);
    font-weight: 500;
    font-size: 11px;
    line-height: 15px;
    letter-spacing: 0.1em;
}

@media (min-width:51em){
    .container1{
        display: flex;
        flex-direction: column;
        height: calc(100vh - 71px);
        /* 71px = height of header. */
        justify-content: center;
        gap: 1em;
        background-image: linear-gradient(65deg, white 30%, transparent),
                          url(/assets/hall_top_view.jpg);
        background-size: 750px 100vh;
        background-repeat: no-repeat;
        background-position: right top;
        /* background-size: 110% 100%, cover; */
        padding-inline-start: 5vw;
        margin-block-end: 0;
    }
    .shade{
        background: none;
        padding-block-start: 0;
        aspect-ratio: auto;
    }
    .shade h2{
        font-weight: 500;
        font-size: 5em;
        margin-inline-end: auto;
        margin-inline-start: 0;
        max-width: 80%;
        line-height: 1em;
    }
    #hall-description{
        font-weight: 700;
        font-size: 1em;
        line-height: 2em;
        letter-spacing: 0.150em;
        width: 45em;
        padding-inline: 0;
        margin-block-start: 0;
    }
    .button{
        font-size: 16px;
        margin-block-start: 0;
        margin-inline: 0;
    }
    .container2{
        max-height: 100vh;
        border-block: 1px solid black;
        padding-block: 1.5em;
    }
    .container2 p{
        margin-block-start: 3vw;
        margin-inline: auto;
        max-width: 85%;
        font-weight: 400;
        font-size: 1.3vw;
        line-height: 2.6vw;
    }
    .container2 h2{
        margin-block-start: 1.5vw;
        font-size: 2.6vw;
    }
}

/* ##################################### Warden Section ################################## */
.warden-message{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-block: 1em;
    padding-inline: 1em;
    justify-content: space-around;
}

.warden-message h1{
    margin-block-start: 30px;
    font-size: 22px;
    line-height: 24px;
    letter-spacing: 0.24em;
    flex-basis: 100%;
    text-align: center;
    text-transform: uppercase;
}

.each-warden{
    text-align: center;
    box-shadow: 0px 4px 4px rgba(243, 243, 243, 0.573);
    max-width: 300px;
    /* max-width is same as that of the warden's image */
}

.each-warden .image{
    position: relative;
    max-height: 325px;
    /* max-height is same as that of the warden's image */
}

.each-warden .image img{
    object-fit: cover;
    object-position: bottom;
    border: 1px solid black;
    border-block-end: none;
    max-height: 100%;
}

.each-warden .image .icons{
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(167,207,223,0) 60%,rgba(0, 0, 0, 1) );
}

.each-warden .image .icons ul{
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    height: 100%;
    padding-block-end: 1em;
}

.each-warden .image ul li a{
    color: white;
    text-shadow: 1px 2px 0px rgba(255, 255, 255, 0.5);
    font-size: 2em;
}

.each-warden .warden-info {
    padding-inline: 1em;
    border: 1px solid black;
    border-block-start: none;
    
}
.each-warden .warden-info h2{ 
    text-decoration: underline; 
    font-size: 1.3rem;
    font-weight: 500;
}
.each-warden .warden-info h3{   
    font-size: 1.4rem;
    font-weight:  400;
}
.each-warden .warden-info h4{   
    font-size: .9rem;
    font-weight:400;
}

.each-warden .warden-info p{
    margin-block: 0.5em;
    font-weight: 300;
    font-size: 0.75em;
    line-height: 18px;
    text-align: justify;
    letter-spacing: 0.2em;
    text-align-last: center;
}

@media only screen and (min-width: 53em) {
    .warden-message{
        flex-direction: column;
        
    }
    .warden-message h1{
        margin-block-start: 1.5vw;
        margin-block-end: 2.5vw;
        font-size: 2.6vw;
        letter-spacing: 0.24em;
    }
    .each-warden{
        display: flex;
        max-width: max-content;
        column-gap: 2vw;
        padding-inline: 0.5em;
        margin-inline: auto;
    }

    .each-warden#second{
        flex-direction: row-reverse;
        margin-block: 1.5em;
    }

    .each-warden .image img{
        border-block-end: 1px solid black;
    }

    .each-warden .warden-info {
        border-block-start: 1px solid black;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 45em;
        padding-block: 0.35em;
    }

    .each-warden .warden-info h2{
        font-size: 1.5rem;
    }
    
    .each-warden .warden-info h3{
        font-size: 1.6rem;
    }
    
    .each-warden .warden-info h4{
        font-size: 1.1rem;
    }
    
    .each-warden .warden-info p{
        font-size: 0.85rem;
    }
}
@media(hover){
    .each-warden .image .icons{
        opacity: 0;
    }
    .each-warden:hover .image .icons{
        opacity: 1;
    }
}
/* #################################################################################################### */
