/*
 * Theme Name: PTAA Theme
 * Description: PTAA Theme used with Timber
 * Author: Israel Alvarado
*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");
* {
    box-sizing: border-box;
}

/* Reset default margin and padding */
html, body {
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}


.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #416ca3; /* Background color */
    padding: 10px 20px;
    color: white;
    width: 100%;
}

.connect-with-us {
    display: flex;
    align-items: center;
}

.connect-label {
    font-size: 16px;
    font-family: 'Montserrat';
    margin-right: 20px;
    color: white;
}

.connect-with-us .social-link {
    margin-right: 20px;
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.navigation-links {
    display: flex;
    align-items: center;
}

.navigation-links .nav-button {
    margin-left: 20px;
    color: white;
    text-decoration: none;
    font-family: 'monserrat';
}


.navigation-links .nav-button i {
    margin-right: 7px; /* Adjust the right margin of the icon */
}

.navigation-links .nav-button:not(:last-child) {
    border-right: 1px solid white; /* Adds a right border to each link except the last one */
    padding-right: 10px; /* Adds padding to space out the text from the border */
    margin-right: 5px; /* Additional margin to space out the links */
}

.connect-with-us .social-link:hover, .navigation-links .nav-button:hover {
    color: #FFD700; /* Gold color on hover for visibility */
    transition: color 0.3s;
}

.connect-with-us .social-link i {
    transition: transform 0.3s ease-in-out;
}

.connect-with-us .social-link:hover i {
    transform: translateY(-5px); /* Moves the icon up on hover */
}

.sidebar {
    position: fixed;
    right: -350px; /* Increased width */
    top: 0;
    width: 350px; /* New width */
    height: 100vh; /* Adjust 60px to your header's height */
    background-color: #416ca3; /* New background color */
    transition: right 0.3s;
    padding: 20px; /* Added padding */
    box-sizing: border-box; /* To maintain width including padding */
    z-index: 2000; /* Make sure it's above the overlay (adjust as needed) */
    overflow: auto;
}

.sidebar.open {
    right: 0;
}

.close-sidebar {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: color 0.8s, transform 0.8s; /* Added transform transition */
}

.close-sidebar:hover {
    color: #FFD700; /* Gold color on hover for visibility */
    transform: rotate(360deg); /* 360-degree rotation */
}


.campus-links {
    list-style: none;
    padding: 0;
    margin-top: 50px; /* Added margin */
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
}
.campus-links li {
    border-bottom: 1px solid white; /* Dividing lines */
    margin-bottom: 10px;
}
.campus-links a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

.campus-links a:hover {
    color: #FFD700; /* This is the gold color you want on hover */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5; /* Make sure it's below the sidebar (adjust as needed) */
}

@media (max-width: 600px) {
    .top-header {
        flex-direction: column;
        text-align: center;
    }
    .connect-with-us, .navigation-links {
        margin-bottom: 10px;
    }
    .connect-with-us .social-link, .navigation-links .nav-button {
        margin: 0 5px;
    }
}

/* GLOBAL FONT FIX - Montserrat for all headings, sidebar, and page titles */
body, h1, h2, h3, h4, h5, h6,
.mx-page-hero__title,
.mx-page-sidebar, .mx-page-sidebar *,
.mx-page-sidebar__title,
.mx-page-sidebar ul li a,
.widget-area, .widget-area *,
.entry-title, .page-title,
.mx-page-content h1, .mx-page-content h2, .mx-page-content h3 {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-style: normal !important;
}
