/* global */

p {
    margin-bottom: 1.3rem;
    font-family: nexa_regularregular;
    color: #E8E8E8;
    font-size: 1rem;
}

h2 {
    font-family: 'Exo 2', sans-serif;
    margin: 1.414rem 0 0.5rem 0;
    font-size: 2.369rem;
    color: #E8E8E8;
}


/* navbar */

#navbar {
    background-color: #232323;
    /* justify-content: center; */
}

@media all and (max-width: 992px) {
    /* #navbarToggler {
        position: relative;
        right: 5vw;
        }
        .navbar-brand {
        padding-left: 10vw;
        } */
}

.nav-link:not(:hover) {
    /* color: #d8d8d8 !important; */
}

.nav-link {
    font-family: nexa_xboldregular;
    text-transform: uppercase;
    letter-spacing: 4pt;
    padding-left: 2vw !important;
    padding-right: 2vw !important;
}

.nav-item {
    padding: 0 0%;
}

.navbar-toggler {
    /* float: right; */
}


/* home */

#homeWrapper {
    height: 42vw;
}

#bgvid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-position: center;
    object-fit: cover;
    filter: brightness(75%);
}

#homeContainer {
    height: 100%;
}

.btn {
    font-family: nexa_regularregular;
    font-weight: bold;
}


/* TODO */

@media all and (max-width: 2000px) {
    #homeBlank {
        height: 20%;
    }
}

@media all and (min-width: 2000px) {
    #homeBlank {
        height: 30%;
    }
}


/* about */

#aboutWrapper {
    background-color: #232323;
}

#aboutBlank {
    height: 40%;
}

#aboutWrapper .container {
    margin-top: 6%;
    margin-bottom: 6%;
}


/* resources */

#resourcesWrapper {
    background-image: url("../img/vex-world-bg.jpg");
    background-attachment: fixed;
    background-size: cover;
}

#resourcesWrapper .container {
    margin-top: 6%;
    margin-bottom: 13%;
}

#resourcesWrapper .container div div h2 {
    /* color: #ffd700; */
    text-shadow: 3px 3px 3px #232323;
    /* font-family: 'Courier New', Courier, monospace;
    -webkit-text-stroke: 1px black;
    color: transparent; */
    /* background-color: rgba(35, 35, 35, 0.5); */
    /* border-radius: 15px; */
    /* line-height: 0.5rem; */
}


/* gallery */

#galleryWrapper {
    background-color: #232323;
}

#galleryWrapper .container {
    margin-top: 6%;
    margin-bottom: 10%;
}

.videoWrapper {
    position: relative;
    margin-top: 15%;
    padding-bottom: 42.55319%;
    /* 2.35:1 */
    height: 0;
    overflow: hidden;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* contact */

#contactWrapper {
    background-color: #232323;
}

.footer {
    padding: 2rem 0;
}

.footer .social ul li {
    display: inline-block;
}

.footer .social ul li a {
    display: inline-block;
    padding: 10px;
    font-size: 2rem;
}

.footer .social ul li.youtube a {
    color: #df588a;
}

/* QQ, GitHub, Email icons now use var(--text-color) for black/white display */
/* .footer .social ul li.email a {
    color: #39c6f2;
}

.footer .social ul li.github a {
    color: #3742d0;
}

.footer .social ul li.qq a {
    color: #12b7f5;
} */


/* .b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
} */


/* .navbar-nav {
    float: none;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.navbar-nav>li {
    display: inline-block;
    float: none;
} */

Share html {
    /*    1rem = 16px*/
    font-size: 1rem;
}

body {
    padding-top: 60px;
    background-color: white;
    /*    body font*/
    /* font-family: 'Montserrat', sans-serif; */
    /*    font-weight: 700;*/
    /*    line-height is 150% of the font size*/
    line-height: 1.5;
    color: rgb(0, 0, 0);
}


/*this is a group selection, selecting all the headlines h1-h4*/

h1 {
    /*  top:0 right:0  bottom:0.5rem left:0*/
    margin: 0 0 0.5rem 0;
    font-size: 3.157rem;
}

h3 {
    /*  top:1.414rem right:0  bottom:0.5rem left:0*/
    margin: 1.414em 0 0.5rem 0;
    font-size: 1.777rem;
}

h4 {
    /*  top:1.414rem right:0  bottom:0.5rem left:0*/
    margin: 1.414em 0 0.5rem 0;
    font-size: 1.333rem;
}


/*Interactive elements*/


/* link*/


/*button style*/


/*solid button style*/

.btn-primary {
    font-size: 1rem;
    letter-spacing: .1rem;
    line-height: 2rem;
    border-radius: 3rem;
    /*    top:1 right:2 bottom:1 left:2*/
    /*    the size of button*/
    padding: 1rem 2rem;
    background-color: indigo;
    color: black;
    border: none;
}

.btn-primary:hover {
    color: white;
    background-color: black;
    opacity: 0.8;
}


/*outline button style*/

.btn-outline-primary {
    font-size: 1rem;
    letter-spacing: .1rem;
    line-height: 2rem;
    border-radius: 3rem;
    padding: 1rem 2rem;
    color: indigo;
    background-color: transparent;
    border: 1px indigo solid;
    transition: all 0.5s;
}

.btn-outline-primary:hover {
    color: white;
    background-color: indigo;
    border-color: indigo;
}

/* Activities Section */
#activitiesWrapper {
    background-color: transparent;
    padding: 80px 0;
    position: relative;
    z-index: 5;
    pointer-events: auto;
    transition: background-color 0.5s ease;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-height: 250px;
}

body.day-mode .activity-item {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.day-mode .activity-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.activity-image {
    flex: 0 0 45%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.activity-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-date {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    transition: color 0.5s ease;
}

.activity-content h5 {
    font-family: nexa_xboldregular;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.5s ease;
}

.activity-description {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    transition: color 0.5s ease;
}

.activity-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

body.day-mode .activity-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.activity-image:hover .activity-overlay {
    opacity: 1;
}

.overlay-text {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.activity-image:hover .overlay-text {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .activity-item {
        flex-direction: column;
    }
    
    .activity-image {
        flex: 0 0 auto;
        height: 300px;
    }
    
    .activity-content {
        padding: 1.5rem;
    }
    
    .activity-content h5 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    #activitiesWrapper {
        padding: 60px 0;
    }
    
    .activity-content {
        padding: 1.25rem;
    }
    
    .activity-content h5 {
        font-size: 1.1rem;
    }
    
    .activity-description {
        font-size: 0.9rem;
    }
    
    .overlay-text {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }
}
