/* common styles */
* {
  margin: 0;
  padding: 0;
  font-family: "Josefin Sans", sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  background-color: #fbe7e7;
  height: 100%;
}
/* end of common styles */

/* feeds page */
.feeds-page{
  display: grid;
  height: 100vh;
  margin: 0;
  grid-template-columns: 0.5fr 1fr 2fr 1fr;
  grid-template-rows: auto 5fr;
  font-family: 'Josefin Sans', sans-serif;
  align-items: center;
  justify-items: center;
}

.title{
  grid-column: 2/4;
  grid-row: 1/2;
  display: flex;
  align-items: center;
  justify-content: left;
  font-size: 27.5px;
  border-bottom: solid #990000;
  background-color: #fff;
}

.buttons {
  color: white;
  transition: 0.3s;
}

a {
  text-decoration: none;
}

.course-detail{
  color: black;
}

.left {
  /* position: fixed; */
  grid-column: 1 / 2;
  grid-row: 1 / -1;
  display: flex; /* Enable flexbox */
  flex-direction: column; /* Stack items vertically */
  background-color: #990000; /* Maintain the background color */
  color: #fff;
  height: 100%; /* Ensure it fills the height */
}

.left-content {
  display: flex; /* Use flexbox */
  flex-direction: column; /* Stack items vertically */
  flex-grow: 1; /* Allow it to grow to fill available space */
  padding: 20px; /* Optional: Add padding */
}

.left-content-heading {
  text-align: center;
  margin: 0;
  margin-top: 20px; /* Add margin for spacing */
}

/* Ensure buttons are spaced correctly */
.settings-button {
  margin-top: 65vh; /* Push these buttons to the bottom */
}

/* Styles for buttons */
.home-button,
.schedule-button,
.board-button,
.profile-button,
.settings-button,
.logOut-button {
  font-family: "Josefin Sans", sans-serif;
  background-color: #990000;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.buttons:hover,
.home-button:hover,
.schedule-button:hover,
.board-button:hover,
.profile-button:hover,
.settings-button:hover,
.logOut-button:hover{
  color: #f3b8b8; /* Change hover color */
}


/* right */
.right{
  grid-column: 4 / -1;
  grid-row: 1 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #990000;
  border-bottom: solid #990000;
  background-color: #fff;
}

/* .right {
  position: fixed; 
  top: 0; 
  right: 0; 
  height: 100%; 
  display: flex;
  align-items: center;
  justify-content: center;
  color: #990000;
  border-left: solid #990000; 
  background-color: #fff;
  width: 20%; 
  z-index: 10; 
} */

.search-bar {
  display: flex;
  align-items: center;
  position: relative;
}
.search-bar-input {
  width: 10rem;
  height: 3rem;
  border: 0.1rem solid #990000;
  border-radius: 3rem;
  background-color: #FACECE;
  padding-left: 5rem;
  transition: all 0.3s;
}

.search-bar-input:focus {
  background-color: #fff;
  border-color: #ff0000;
  outline: solid #ff0000;
}

.search-button {
  border: none;
  color: #990000;
  font-size: large;
  background-color: #fff;
  padding: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.search-button:hover {
  color: #fff;
  background-color: #ff0000;
}

/* end of right */
.center {
  /*grid-column: 3 / 4; /* This defines the grid area */
  grid-column: 2 / 5;
  grid-row: 1/ -1;
  /* display: block; */
  align-items: center;
  justify-content: center;
  width: 100%; /* Allow full width within its grid area */
}

/* updated */

.left {
  position: fixed;
  top: 0;
  left: 0;
  grid-column: 1 / 2;
  grid-row: 1 / -1;
  display: flex; /* Enable flexbox */
  flex-direction: column; /* Stack items vertically */
  background-color: #990000; /* Maintain the background color */
  color: #fff;
  height: 100%; /* Ensure it fills the height */
  width: 167px;
}

.left-content {
  display: flex; /* Use flexbox */
  flex-direction: column; /* Stack items vertically */
  flex-grow: 1; /* Allow it to grow to fill available space */
  padding: 20px; /* Optional: Add padding */
}

.left-content-heading {
  text-align: center;
  margin: 0;
  margin-top: 20px; /* Add margin for spacing */
}


/* Styles for buttons */
.home-button,
.schedule-button,
.board-button,
.settings-button,
.logOut-button {
  background-color: #990000;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.home-button:hover,
.schedule-button:hover,
.board-button:hover,
.settings-button:hover,
.logOut-button:hover{
  color: #f3b8b8; /* Change hover color */
}

/* Header section */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #990000;
  padding: 3px;
  position: fixed;
  top: 0;
  right: 0;
  left: 167px;
  /* width:90%; */
  z-index: 1000;
}