/* Basic styles for all devices */
* {
    box-sizing: border-box;
}

body, h1 {
    margin: 0;
}

p {
    margin-bottom: 20px;
}

/* Black bar across the top */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;         /* Full width across the screen */
    height: 105px;        /* Same height as the logo */
    background-color: #1E407C; /* Beaver Blue Background color */
    z-index: 900;        /* Stays below the logo, which has a higher z-index */
}

/* Logo styling */
.logo {
    position: fixed; /* Keeps logo fixed while scrolling */
    top: 10px;       /* Sets distance from the top of the page */
    left: 10px;      /* Sets distance from the left of the page */
    width: 331px;    /* Fixed width for the logo */
    height: 85px;    /* Fixed height for the logo */
    z-index: 1000;   /* Ensures it remains on top of other elements */
}

/* General panel styling */
.panel {
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
    color: #fff; /* text color */
}

/* Panel 1 styles */
.panel-1 {
    background-color: #314D64; /* PA Slate*/
    color: #fff; /* text color */
}

.panel-2 {
    background-color: #4A7729; /* Penn's Forest */
    color: #fff; /* text color */
}

.panel-3 {
    background-color: #BC204B; /* Original '87 */
    color: #fff; /* text color */
}

.panel-4 {
    background-color: #6A3028; /* Land-Grant */
    color: #fff; /* text color */
}

.panel-5 {
    background-color: #BF8226; /* Lion's Roar*/
    color: #fff; /* text color */
}

/* Heading styling */
.panel h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Paragraph styling */
.panel p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* table text styling */
.panel table {
	color: white;
}

/* Link styling */
.panel a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

.panel a:hover {
    color: #ddd; /* Lighter color on hover */
}

/* Main content styling */
body {
    font-family: sans-serif;
    padding-top: 10px; /* Adds padding to avoid overlap with the logo */
    margin: 20px;
}

/* Responsive adjustments for smaller screens (phones) */
@media (max-width: 768px) {
    body {
        font-size: 18px;
        padding-top: 60px; /* Adjusts padding on smaller screens */
    }
    .top-bar {
	height: 65px;
    }

    .logo {
        width: 200px; /* Scale down logo size for smaller screens */
        height: auto;  /* Maintains aspect ratio */
    }
}

/* Responsive adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        font-size: 16px;
        padding-top: 80px; /* Ensures enough space for larger logo */
    }

    .top-bar {
	height: 85px;
    }

    .logo {
        width: 250px; /* Adjusts logo size for tablets */
        height: auto;  /* Maintains aspect ratio */
    }
}

/* Styles for larger screens (desktops) */
@media (min-width: 1025px) {
    body {
        font-size: 14px;
        padding-top: 100px; /* Ensures content does not overlap on larger screens */
    }

    .logo {
        width: 331px; /* Full logo size for desktop */
        height: 85px;
    }
	/* Container for the grid layout */
	.panel-container {
	    display: grid;
	    grid-template-columns: repeat(3, 1fr); /* Three panels per row */
    	    gap: 20px; /* Space between panels */
	    padding: 20px;
	    max-width: 1200px; /* Set a max-width for better responsiveness */
	    /* margin: 0 auto; */ /* Center the container */
	    margin: 0; /* Center the container */
	}	

}

