@charset "UTF-8";
/* CSS Document */

@font-face {
    font-family: 'CormorantSC-Light';
    src: url('../fonts/CormorantSC-Light.woff2') format('woff2');
}
body {
    font: 400 20px/1.8 Lato, sans-serif;
    color: #FDE2FF;
    background-color: #000000;
    height: auto;
    min-height: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.underlay {
    position: fixed; /* Use 'fixed' to ensure it covers the full viewport and doesn't scroll with the content */
    top: 0;
    left: 0;
    width: 100vw; /* Cover the full viewport width */
    height: 100vh; /* Full viewport height, adjust as needed */
    background-image: url('../images/E-flatMajorTrebleClef-transp.png?v=2');
    background-size: 100% auto; /* Scale width to 100%, adjust height automatically */
    background-position: top center; /* Align the top of the image with the top of the viewport */
    background-repeat: no-repeat;
    z-index: -1; /* Ensure it's beneath all other content */
}
#content {
    position: relative;
    z-index: 1;
}
h3, h4 {
    margin: 10px 0 30px 0;
    letter-spacing: 0px;
    font-size: 24px;
    color: #FDE2FF; 
}
p {
    font-size: 24px;
    color: #B9B9B8; 
}
/* Adjustments for the navbar to make logo overhang and set background color */
.navbar {
    font-family: Montserrat, sans-serif;
    background-color: rgba(61, 12, 80, 0.7); /* Updated to correct purple color */
    font-size: 18px !important;
    letter-spacing: 3px;
    padding-top: 20px; /* Reduced padding to decrease navbar height */
    padding-bottom: 20px; /* Make room for logo overhang */
}
/* Ensure the navbar is initially visible */
.navbar {
  transition: transform 0.3s ease;
}
/* This class will be toggled to hide/show the navbar */
.navbar-hidden {
  transform: translateY(-95%); /* Leave 5% of the navbar visible as a handle */
}
/* Style for the visible handle when navbar is hidden */
.navbar-hidden::after {
  content: '';
  position: absolute;
  top: 100%; /* Position it just below the visible handle */
  left: 0;
  width: 100%;
  height: 20px; /* Height of the clickable area */
  background-color: rgba(61, 12, 80, 0.7); /* Adjust background color as needed */
  cursor: pointer;
}
.navbar-brand {
    display: flex;
    align-items: center; /* Align items vertically */
    position: relative;
    padding-top: 0; /* Remove padding to allow logo to extend above */
    padding-bottom: 0; /* Remove padding to allow logo to extend below */
}
.navbar-brand .logo {
    width: 100px;
    position: absolute; /* Use relative to allow top adjustment */
    bottom: -20px;
    left; 50%;
    transform:translate(-5px, -10px);
    top: 0px; /* Adjust this value to control the overhang */
}
.navbar-brand .navbar-calschool {
    display: inline-block; /* Make sure it is visible */
    font-size: 29px; /* Size it according to your design */
    font-family: 'CormorantSC-Light', serif; /* Specify the font-family */
    color: orange; /* Or any color you want */
    margin-left: 105px; /* Spacing after the logo */
    text-shadow: 3px 3px 3px #000000;
    z-index: 100;
}
.navbar-nav, .nav-item, .nav-link {
  /*display: flex;
  align-items: center; /* Centers nav items vertically */
}
.navbar-dark .navbar-brand, .navbar-dark .navbar-nav .nav-link {
    color: #FDE2FF;
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active {
    color: #FDE2FF;
}

/* Adjust the padding and font size of nav-link for smaller navbar height */
.navbar-dark .navbar-nav .nav-link {
   padding-top: 0px !important; /* Minimize top padding */
   padding-bottom: 0px !important; /* Minimize bottom padding */
   /*font-size: 1rem; /* Optional: Adjust font size for better fit */
}

/* Adjust navbar-toggler for alignment with reduced navbar height */
.navbar-toggler {
    padding-top: 0px; /*: .25rem .75rem; /* Adjust the padding to reduce size */
    margin-top: 0px;
    font-size: .875rem; /* Optional: Adjust font size for icon */
}
/* Adjust the text properties in the navbar-toggler menu */
.navbar-dark .navbar-toggler + .collapse .nav-link {
    color: #FDE2FF; /* Set the text color */
    margin-top: 20px;
    /*margin-left: 200px;*/
/*    font-size: 1rem; /* Set the font size */
    font-size: 1.3rem;
/*    padding: 0.5rem 1rem; /* Set the padding for each link */
    /* Other text properties */
}
/* Adjust navbar links within the toggler for a hover effect */
.navbar-dark .navbar-collapse .nav-link:hover {
    font-weight: bold;
    transition: font-size 0.3s ease; /* Smooth transition for font-size change */
}

.dropdown-menu { 
    background-color: #300258;
	color: #FDE2FF;
}
.dropdown-item {
    color: #FDE2FF;
}
.dropdown-item:hover, .dropdown-item:focus {
    color: #FDE2FF;
    background-color: darkorchid; /* From old dropdown hover style */
}
/* Button styles */
.btn {
    padding: 10px 20px;
    background-color: rgba(21,0,27,1.00); /*purple; /* Unchanged */
    color: #FDE2FF; /* Unchanged */
    border: 1px solid #262701; /* From old button hover border */
    transition: .2s; /* Unchanged */
}
.btn:hover, .btn:focus {
    background-color: rgba(99,3,125,1.00);/*darkorchid; /* Unchanged */
    color: antiquewhite; /* Unchanged */
}
.transp-bg {
    padding: 0px;
    background-color: rgba(0,0,0,.7);
}
/* Modal styles */
.modal-content {
    background-color: #17002B;
    color: #FDE2FF;
}
.modal-header, .modal-body, .modal-footer {
    border-color: #250151; /* From old modal internal borders */
}
/* Carousel container maintaining aspect ratio */
.carousel-item {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
}

/* Images fit within the .carousel-item */
.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, might crop */
}
/* Adjust .carousel-inner to not specify a fixed height */
.carousel-inner {
    position: relative; /* Allows absolute positioning within */
}
/* Keep your existing styles for .carousel-caption */
.carousel-caption {
	color: yellow;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    /* Ensure text is readable against potentially varied image backgrounds */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, .9);
}
.full-height-section {
    min-height: 100vh; /* Minimum height of 100% of the viewport height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Aligns content and ensures padding at the bottom if content is shorter */
}
.section-padding {
    padding-bottom: 50px; /* Additional padding at the bottom of each section */
}
/* Footer styles */
footer {
    background-color: rgb(61,12,80); /* Unchanged */
    color: #FDE2FF; /* Unchanged */
    padding: 10px; /* Unchanged */
    z-index: 5;
}

/* Form styles */
.form-control {
    background-color: rgba(27,4,36,1.00);
    border-color: transparent;
	color: #FDE2FF;
}

textarea {
    resize: none; /* Unchanged */
}

.mybg-dark {
    background-color: rgba(8,0,16,1.00);
}
.mybg-darkgray {
    background-color: rgba(19,0,34,1.00);
}
.mybg-purple {
    background-color: rgba(26,0,36,1.00);
    padding: 3px 0; /* Adjust the vertical padding to change the thickness of the line */
    /* margin-top: 80px; /* Space above the line */
    margin-bottom: 80px; /* Space below the line */
}
.nextsection {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    justify-content: center; /* Center children vertically */
    padding: 20px 0;
}
.card {
	border-color: #250151;
}


@media (max-width: 1150px) {
    .navbar {
        padding-top: 6px; /* Reduced padding to decrease navbar height */
        padding-bottom: 6px; /* Make room for logo overhang */
    }
    .navbar-brand .logo {
        width: 60px;
        bottom: -10px;
        left; 10%;
        transform:translate(-10px,-2px);
        top: 0px; /* Adjust this value to control the overhang */
    }
    .navbar-brand .navbar-calschool {
    display: inline-block; /* Make sure it is visible */
    font-size: 22px; /* Size it according to your design */
    font-family: 'CormorantSC-Light', serif; /* Specify the font-family */
    color: orange; /* Or any color you want */
    margin-left: 55px; /* Spacing after the logo */
    text-shadow: 3px 3px 3px #000000;
}

    .navbar-collapse {
        margin-top: 0px; /* From old to clear space below logo */
    }

    .navbar-toggler {
        top: 0; /* Reset top position for mobile from old navbar-toggle */
    }

    .carousel-inner {
        padding-top: 0px; /* From old to push carousel below navbar */
    }
}
/* Ensure that the hover effect and bold font weight are applied only to nav links within the collapsed navbar menu */
@media (max-width: 992px) { /* Adjust this breakpoint as needed */
  .navbar-collapse .nav-link:hover {
    color: yellow !important; /* Ensure the hover color is yellow */
    font-weight: bold !important; /* Ensure the font weight is bold */
    font-size: 1.3rem !important; /* Increase font size on hover */
  }

  .navbar-collapse .nav-link {
    text-align: right !important; /* Right-align nav links in the collapsed menu */
    font-weight: normal !important; /* Normal font weight for nav links */
    color: #fff !important; /* Default color for nav links */
  }

  .navbar-collapse .nav-item:first-child .nav-link {
    margin-top: 20px !important; /* Add top margin to the first nav link */
  }
}


/* Update navbar toggler position */
.navbar-toggler {
    z-index: 1031; /* Above the navbar */
}

