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

/* Apply styles to navbar */
.navbar {
  background: #333;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0; /* Stick the navbar to the top of the viewport */
  z-index: 1000; /* Ensure it stays above other content */
}

/* Center the ul horizontally */
.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%
}

/* Apply styles to each list item */
.navbar ul li {
  display: inline-block;
  margin: 0 20px; /* Adjust spacing between items */
}

/* Apply styles to anchor links */
.navbar ul li a {
  text-decoration: none;
  color: white;
  font-size: 32px; /* Adjust font size */
  font-family: "DM Sans", sans-serif; /* Apply font family */
  font-weight: 600;
  transition: font-size 0.3s; /* Add transition for smooth font size change */
}

.navbar ul li a:hover {
  color: #FF5733; /* Change color to desired color on hover */
  border-bottom: 2px solid white;
}

.hero {
  background-color: #2c6692; /* Grey background color */
  padding: 20px 0px; /* Adjust padding as needed */
  text-align: center;
}

.hero-content {
  position: relative;
}

.hero-content p {
  font-size: 25px; /* Adjust font size as needed */
  color: #ffffff; /* Text color */
  margin-top: 15px; /* Adjust margin top as needed */
  font-family: "DM Sans", sans-serif;
}

.hero-content h1 {
  font-size: 80px; /* Adjust font size as needed */
  color: #ffffff; /* Text color */
  margin-top: -20px;
  margin-bottom: 10px; /*Adjust space between "dive into practice" and the text "ap exam..."*/
  font-family: "DM Sans", sans-serif;
  font-weight: 950;
  line-height: 0.85; /* Adjust space between "ap exam practice at <br> your finger tips" */
}

.hero-content img {
  
  margin-left: -10px;
  margin-right: -10px;
}



.courses {
  background-color: #ffffff; /* Background color for the courses section */
  padding: 40px 0; /* Adjust padding as needed */
  text-align: center; /* Center-align content */
}

.container {
  max-width: 960px;
  margin: 0 auto; /* Center the container */
  padding: 0 20px; /* Add padding to keep content away from edges */
}

.courses h2 {
  font-size: 65px; /* Adjust font size as needed */
  margin-bottom: 10px; /* Add margin at the bottom */
  margin-top: -30px;
  font-family: Lalezar; /* Choose font family */
}

.courses p {
  font-size: 32px; /* Adjust font size as needed */
  font-family: Lalezar; /* Choose font family */
  color: #666; /* Text color */
  margin-top: -35px;
  margin-bottom: 15px;
}

.subjects {
  background-color: #ffffff; /* Background color for the subjects section */
  padding: 40px 0; /* Adjust padding as needed */
  margin-top:-100px;
}

.container1 {
  max-width: 960px;
  margin: 0 auto; /* Center the container */
  padding: 0 20px; /* Add padding to keep content away from edges */
  display: flex;
  flex-wrap: wrap; /* Allow columns to wrap */
}

.column {
  width: calc(50% - 20px); /* Set initial width for each column */
  margin: 10px; /* Adjust margin between columns */
  background-color: #ffffff; /* Default background color */
  padding: 20px;
  box-sizing: border-box; /* Include padding in the width */
}

.text {
  font-family: Lalezar;
  font-size: 36px;
  margin-top: -10px;
  margin-bottom: -20px;
}

.column.math { background-color: #42e0f2; } /* Customize background color for math column */
.column.science { background-color: #ef7cc1; } /* Customize background color for reading column */
.column.history { background-color: #43d265; } /* Customize background color for english column */
.column.english { background-color: #e9e960; } /* Customize background color for history column */

.subject-name {
  text-align: center; /* Center-align the text */
  margin-top: -20px;
  margin-bottom: -60px;
  
}


.sort-by {
  text-align: center; /* Adjust as needed */
}


.sort-by p {
  font-size: 25px; /* Adjust font size as needed */
  display: inline-block; /* Ensures that the text and select are on the same line */
  margin-right: 10px; /* Adjust margin as needed */

}

.test{
  display: inline;
  border: 2px solid black;
  padding: 0px 20px 0px 10px;
  border-radius: 5px;
}

#year-select {
  max-width: 20%;
  font-size: 16px; /* Adjust font size as needed */
  padding: 5px 10px; /* Adjust padding as needed */
  border-radius: 10px;
  /*can add a background color here*/
}

#question-select {
  max-width: 20%;
  font-size: 16px; /* Adjust font size as needed */
  padding: 5px 10px; /* Adjust padding as needed */
  border-radius: 10px;
  /*can add a background color here*/
}


.buttons {
  margin-top: -5px;
  margin-bottom:12px;
  text-align: center;
  display: none;
}

.buttons button {
  padding: 10px 20px;
  margin: 10px 5px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.buttons1 {
  margin-top: -5px;
  margin-bottom:12px;
  text-align: center;
  display: none;
}

.buttons1 button {
  padding: 10px 20px;
  margin: 10px 5px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.buttons2 {
  margin-top: -5px;
  margin-bottom:12px;
  text-align: center;
  display: none;
}

.buttons2 button {
  padding: 10px 20px;
  margin: 10px 5px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}


#question-select2 {
  max-width: 20%;
  font-size: 16px; /* Adjust font size as needed */
  padding: 5px 10px; /* Adjust padding as needed */
  border-radius: 10px;
  /*can add a background color here*/
}


.buttons3 {
  margin-top: -5px;
  margin-bottom:12px;
  text-align: center;
  display: none;
}

.buttons3 button {
  padding: 10px 20px;
  margin: 10px 5px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}


#question-select3 {
  max-width: 20%;
  font-size: 16px; /* Adjust font size as needed */
  padding: 5px 10px; /* Adjust padding as needed */
  border-radius: 10px;
  /*can add a background color here*/
}


.buttons4 {
  margin-top: -5px;
  margin-bottom:12px;
  text-align: center;
  display: none;
}

.buttons4 button {
  padding: 10px 20px;
  margin: 10px 5px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}


#question-select4 {
  max-width: 20%;
  font-size: 16px; /* Adjust font size as needed */
  padding: 5px 10px; /* Adjust padding as needed */
  border-radius: 10px;
  /*can add a background color here*/
}

.contain{
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  
}

.wrap{
  display: none;
}

.wrap1{
  display: none;
}

.wrap2{
  display: none;
}

.wrap3{
  display: none;
}

.wrap4{
  display: none;
}

.buttons button:hover {
  background-color: #0056b3;
}

.subjectlink {
  color: black;
  font-size: 20px;
}

.subjectlink:hover {
  font-size: 24px; 
  transition-duration: 0.5s;
}

.answerkey {
  width:75%;
}

.newsletter {
  background-color: #2c6692; /* Grey background color */
  padding: 20px 0px; /* Adjust padding as needed */
  text-align: center;
}


@import url("https://fonts.googleapis.com/css2?family=Sora:wght@100;200;300;400;500;600;700&display=swap");
body {
    background: #fafafa;
}
.accordion {
    display: flex;
    flex-direction: column;
    font-family: "Sora", sans-serif;
    max-width: 991px;
    min-width: 320px;
    margin: 50px auto;
    padding: 0 50px;
}



    .accordion {
      padding: 0 16px;
  }

.accordion-item {
    margin-top: 16px;
    margin-bottom:-10px;
    border: 1px solid #fcfcfc;
    border-radius: 6px;
    background: rgb(253, 253, 253);
    box-shadow: rgba(0, 0, 0, 0.05) 2px 3px 3px 2px;
}
.accordion-item .accordion-item-title {
    position: relative;
    margin: 0;
    display: flex;
    width: 100%;
    font-size: 15px;
    cursor: pointer;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 14px 20px;
    box-sizing: border-box;
    align-items: center;
}

.accordion-item .accordion-item-title1 {
  position: relative;
  margin: 0;
  display: flex;
  width: 100%;
  font-size: 28px;
  cursor: pointer;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 14px 20px;
  box-sizing: border-box;
  align-items: center;
}

.accordion-item .accordion-item-desc {
    display: none;
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
    color: #444;
    border-top: 1px dashed #ddd;
    padding: 10px 20px 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.accordion-item .accordion-item-desc iframe {

  margin: 5px;
}

.accordion-item input[type="checkbox"] {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
}
.accordion-item input[type="checkbox"]:checked ~ .accordion-item-desc {
    display: block;
}
.accordion-item
    input[type="checkbox"]:checked
    ~ .accordion-item-title
    .icon:after {
    content: "-";
    font-size: 20px;
    
}
.accordion-item
    input[type="checkbox"]:checked
    ~ .accordion-item-title1
    .icon:after {
    content: "-";
    font-size: 20px;
    
}

.accordion-item input[type="checkbox"] ~ .accordion-item-title .icon:after {
    content: "+";
    font-size: 20px;
}
.accordion-item input[type="checkbox"] ~ .accordion-item-title1 .icon:after {
  content: "+";
  font-size: 20px;
}
.accordion-item:first-child {
    margin-top: 0;
}
.accordion-item .icon {
    margin-left: 14px;
}

.subject-title {
  font-size: 50px;
  font-family: Lalezar;
  text-align: center;
  margin-top: 15px;
  margin-bottom:-25px;
}

.exam-date {
  font-size: 18px;
   text-align: center;
   display: inline;
}

.date-timer{
  text-align: center;
  display: block;
  margin-top: 10px;
  margin-bottom: -30px;
}

.countdown {
  font-size: 18px;
   text-align: center;
   color: red;
   display: inline;

}


.main {
  padding: 20px;
}

.donate-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh; /* Adjust the height as needed */
}

.donate-box {
  background-color: #c2f1d1;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Add a shadow effect */
}

.donate-box h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.donate-box p {
  font-size: 14px;
  margin-bottom: 20px;
}

.dropdown {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.dropdown-input {
  padding: 8px;
  width: 200px;
  border: 1px solid #ccc;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1;
  width: 100%;
}

.dropdown-content a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #333;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}

/* Adjust the padding and border for each table cell */
#collegeInfoTable td {
  padding: 10px;
  border: 1px solid black;
}


/* Apply a black border around the table headers */
#collegeInfoTable th {
  border: 1px solid black;
  padding: 10px;
}

.site-footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: -10px;
}

.footer-left, .footer-right {
  width: 45%;
}

.footer-left h3, .footer-right h3 {
  margin-bottom: 20px;
}

.footer-left p {
  color: #ccc;
  margin-bottom: 20px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-right ul li {
  margin-bottom: 10px;
}

.footer-right ul li a {
  color: #ccc;
  text-decoration: none;
}

.subscribe-form h3 {
  margin-bottom: 10px;
  color: #fff;
}

.subscribe-form form {
  display: flex;
  align-items: center;
}

.subscribe-form input[type="email"] {
  width: 250px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
}

.subscribe-form button {
  padding: 10px 20px;
  border: none;
  background-color: #ff6f61;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.subscribe-form button:hover {
  background-color: #e55f52;
}

.copyright {
  text-align: center;
  padding: 0px;
  margin-top: 10px;
  background-color: #333;
  color: #fff;
}

#videoFrame{
  width:70%;
  height: 400px;
}

#helpfulvid{
  width:560px;
  height:315px;
}

.responsetextarea{
  width:97%;
  margin-top: 20px;
  max-width: 97%;
  border-radius: 10px;
  padding: 10px;

}

.promo{
  text-align: center;
  margin-bottom: 30px;
  margin-top: -10px;
}

.pdf123{
  width: 98%; 
  height: 500px;
}






/* Responsive font size adjustment */
@media screen and (max-width: 768px) {

  .navbar ul li {
    display: inline-block;
    margin: 0 10px; /* Adjust spacing between items */
  }

  .navbar ul li a {
      font-size: 24px; /* Adjust font size for smaller screens */
  }

  .navbar {
    background-color: #333;
    width: 100%;
    height: 80px;
    transition: height 0.3s;
    display: flex;
    align-items: center;
    position: sticky;
    top:0;
    z-index: 1000;
  }

  .hero-content h1 {
    font-size: 60px; /* Adjust font size as needed */
    color: #ffffff; /* Text color */
    margin-top: -20px;
    margin-bottom: 20px; /*Adjust space between image icons and the text "ap exam..."*/
    font-family: Lalezar;
    line-height: 0.85; /* Adjust space between "ap exam practice at <br> your finger tips" */
  }

  .hero-content img {
    width: 40.5%;
    height: 40.5%;
    }

    .accordion {
      padding: 0 16px;
  }
  .accordion h1 {
      font-size: 22px;
  }
  .subject-name h1{
    font-size: 22px; /* Adjust font size as needed */
    font-family: Lalezar;
    color: #333; /* Text color */
    margin-bottom: 40px;
    margin-top: 40px;
  }

  #videoFrame {
    width: 100%;
    height: auto;
}

#helpfulvid{
  width:90%;
  height:auto;
}

.hero-content h1 {

  font-weight: 200;
  font-style: none;
  
}



    
}




