@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap");
:root {
  --color-white-100: hsl(206, 5%, 98%);
  --color-white-200: hsl(206, 5%, 90%);
  --color-white-300: hsl(206, 5%, 80%);
  --color-white-400: hsl(206, 5%, 65%);
  --color-white-500: hsl(206, 5%, 50%);
  --color-white-600: hsl(206, 5%, 35%);
  --color-black-100: hsl(213, 20%, 9%);
  --color-black-200: hsl(213, 23%, 8%);
  --color-black-300: hsl(214, 21%, 6%);
  --color-black-400: hsl(210, 21%, 6%);
  --color-black-500: hsl(216, 22%, 4%);
  --color-black-600: hsl(220, 18%, 3%);
  --color-black-700: hsl(220, 27%, 2%);
  --color-black-800: hsl(180, 20%, 1%);
  --color-blue-100: hsl(214, 95%, 93%);
  --color-blue-200: hsl(213, 97%, 87%);
  --color-blue-300: hsl(212, 96%, 78%);
  --color-blue-400: hsl(213, 94%, 68%);
  --color-blue-500: hsl(217, 91%, 60%);
  --color-blue-600: hsl(221, 83%, 53%);
  --color-blue-700: hsl(224, 76%, 48%);
  --color-blue-800: hsl(226, 71%, 40%);
  --color-blue-900: hsl(224, 64%, 33%);
  --color-orange: hsl(23, 95%, 52%);
  --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
     0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
     0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
     0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  font-size: 100%;
  box-sizing: inherit;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  font-family: "Rubik", sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  height: -webkit-fill-available;
  color: var(--color-black-100);
  background-color: var(--color-white-100);
}

main {
  overflow: hidden;
}



img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.section {
  margin: 0 auto;
  padding: 6rem 0 1rem;
}

.container {
  max-width: 75rem;
  height: auto;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.centered {
  text-align: center;
  vertical-align: middle;
  margin-bottom: 1rem;
}

.heading-xl {
  font-family: inherit;
  font-size: clamp(2.648rem, 6vw, 4.241rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--color-black-500)
}

.heading-lg {
  font-family: inherit;
  font-size: clamp(2.179rem, 5vw, 3.176rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
}

.heading-md {
  font-family: inherit;
  font-size: clamp(1.794rem, 4vw, 2.379rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -1px;
}

.heading-sm {
  font-family: inherit;
  font-size: clamp(1.476rem, 3vw, 1.782rem);
  font-weight: 600;
  line-height: 1.5;
}

.heading-xs {
  font-family: inherit;
  font-size: clamp(1.215rem, 2vw, 1.335rem);
  font-weight: 500;
  line-height: 1.5;
}

.paragraph {
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: inherit;
  max-width: 95%;
  height: auto;
  text-transform: unset;
  color: var(--color-black-500);
}

/* Buttons */

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  user-select: none;
  outline: none;
  border: none;
  border-radius: 0.25rem;
  text-transform: unset;
  transition: all 0.3s ease-in-out;
  margin-top: 10px;
  margin-bottom: 10px;
}

.btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}

.btn-darken {
  padding: 0.75rem 2rem;
  color: var(--color-white-100);
  background-color: var(--color-black-200);
  box-shadow: var(--shadow-medium);
}

.btn-neutral {
  padding: 0.75rem 2rem;
  color: var(--color-black-500);
  background-color: var(--color-white-100);
  box-shadow: var(--shadow-medium);
}

/* Navbar */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transition: all 0.35s ease;
}

.header.on-scroll {
  background: #36013f;
  box-shadow: var(--shadow-medium);
}

.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  column-gap: 1.25rem;
  width: 100%;
  height: 4.25rem;
  margin: 0 auto;
}

.brand {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #fff
}

.menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  padding: 4rem 0 3rem;
  overflow: hidden;
  background-color: #36013f;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s ease-in-out;
}

.menu.is-active {
  top: 0;
  width: 100%;
  height: auto;
}

.menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 1.25rem;
}

.menu-link {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.menu-block {
  display: inline-block;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  user-select: none;
  white-space: nowrap;
  text-align: center;
  margin-left: auto;
  padding: 0.65rem 1.5rem;
  border-radius: 3rem;
  text-transform: capitalize;
  color: #333;
  background-color: #800080;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease-in-out;
}

@media only screen and (min-width: 48rem) {
  .menu {
    position: relative;
    top: 0;
    width: auto;
    height: auto;
    padding: 0rem;
    margin-left: auto;
    background: none;
    box-shadow: none;
  }

  .menu-inner {
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
    margin: 0 auto;
  }

  .menu-link {
    text-transform: capitalize;
  }

  .menu-block {
    margin-left: 2rem;
  }
}

.burger {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
  order: -1;
  z-index: 10;
  width: 1.65rem;
  height: 1.15rem;
  border: none;
  outline: none;
  background: none;
  visibility: visible;
  transform: rotate(0deg);
  transition: 0.35s ease;
}

@media only screen and (min-width: 48rem) {
  .burger {
    display: none;
    visibility: hidden;
  }
}

.burger-line {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 1.75px;
  border: none;
  outline: none;
  opacity: 1;
  transform: rotate(0deg);
  background-color: #fff;
  transition: 0.25s ease-in-out;
}

.burger-line:nth-child(1) {
  top: 0px;
}

.burger-line:nth-child(2) {
  top: 0.5rem;
  width: 70%;
}

.burger-line:nth-child(3) {
  top: 1rem;
}

.burger.is-active .burger-line:nth-child(1) {
  top: 0.5rem;
  transform: rotate(135deg);
}

.burger.is-active .burger-line:nth-child(2) {
  opacity: 0;
  visibility: hidden;
}

.burger.is-active .burger-line:nth-child(3) {
  top: 0.5rem;
  transform: rotate(-135deg);
}

.banner-section{
  background-size: cover;
  background-position: center;
}

/* Top banner */

.banner-column {
  position: relative;
  display: grid;
  align-items: center;
  row-gap: 3rem;
}

@media only screen and (min-width: 48rem) {
  .banner-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
  }
}

@media only screen and (min-width: 64rem) {
  .banner-column {
    grid-template-columns: 1fr max-content;
    column-gap: 4rem;
    margin-top: 3rem;
  }
}

.banner-image {
  display: flex;
  object-fit: cover;
  justify-self: center;
}

@media only screen and (min-width: 48rem) {
  .banner-image {
    order: 1;
    width: 25rem;
    height: 10rem;
  }
}

@media only screen and (min-width: 64rem) {
  .banner-image {
    width: 30rem;
    height: 20rem;
    margin-right: 5rem;
  }
}

.banner-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 1.75rem;
}

.admin-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 1.75rem;
}

.banner-inner h1{
  color: #fff;
}

.banner-inner p{
  color: #fff;
}

.banner-links {
  position: absolute;
  top: 30%;
  right: 1.5rem;
  display: grid;
  justify-items: center;
  row-gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
}

@media only screen and (min-width: 64rem) {
  .banner-links {
    opacity: 1;
    visibility: visible;
  }
}

.banner-links > * {
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--color-white-100);
}

.banner-links::before {
  position: absolute;
  content: "";
  top: -3rem;
  width: 4rem;
  height: 1.5px;
  transform: rotate(90deg);
  background: var(--color-white-100);
}

.banner-links::after {
  position: absolute;
  content: "";
  bottom: -3rem;
  width: 4rem;
  height: 2px;
  transform: rotate(90deg);
  background: var(--color-white-100);
}

/* Hero section */

.hero {
  background-size: cover;
  background-position: center;
  height: calc(100vh / 2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}
  
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

button {
  background-color: #fff;
  color: #000;
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

button:hover {
  background-color: #800080;
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .hero {
    height: auto;
    padding: 2rem 0;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    color: #fff;
  }
  
  .hero-content p {
    font-size: 1rem;
    color: #fff;
  }
  
  button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

.hero-text {
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: inherit;
  max-width: 95%;
  height: auto;
  text-transform: unset;
  color: var(--color-white-100);
}

/* Footer */

.footer {
  background-color: #36013f;
  color: #fff;
  padding: 60px 0;
}

.footer__heading {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
}

.footer__text {
  color: #fff;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__link {
  color: #fff;
  text-decoration: none;
}
  
@media (max-width: 767px) {
  .footer {
    text-align: center;
  }

  .footer__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
  }

  .footer__column {
    flex: 1 1 100%;
    margin: 0 15px 30px;
  }
}

  .footer-container{
	max-width: 1170px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
li{
	text-align: justify;
}
.footer{
	background-color: #36013f;
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
} 
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
  }
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
  }
}
@media (min-width: 768px) {
  .container-sbs {
    max-width: 960px;
    margin-right: 20px;
  }
}

.container-sbs {
  max-width: 960px;
  margin: 0 auto;
}

/* Txt img side by side */

.sbs {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .sbs {
    flex-direction: row;
    align-items: center;
    padding: 40px;
  }
  .sbs .content {
    max-width: 60%
  };
}

.section1 .image {
  display: flex;
  margin-right: 40px;
  width: 500px;
  background-size: cover;
}

.section2 .image {
  margin-left: 40px;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* General Form */

.function-form {
  width: 100%;
  padding: 20px;
  border-radius: 8px;
}
  
.label-1 {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
}

.function-form input,
.function-form select,
.function-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

.input {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}


.function-form textarea {
  resize: vertical;
}

/* Account functions */

@media only screen and (min-width: 64rem) {
  .functions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 20px;
  }
}

/* Account layout */

.column-account {
  height: 500px;
  min-width: 21.3rem;
  max-width: 33.3%;
  margin: 20px;
  margin-right: -1px;
  padding: 20px;
  color: var(--color-white-100);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  background-size: cover;
  background-position: center;
}

.column-account-special {
  justify-content: center;
  align-items: center;
  height: 500px;
  width: 90%;
  margin: 20px;
  padding: 20px;
  color: var(--color-white-100);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  background-size: cover;
  background-position: center;
}
  
@media only screen and (min-width: 64rem) {
  .column-account-special {
    width: 97.5%;
  }
}

.column-account-inner {
  margin-top: 250px;
}

.column {
  margin: 20px;
  padding: 20px;
  color: var(--color-white-100);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.column-2 {
  margin: 20px;
  padding: 20px;
  color: var(--color-black-100);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

/* Textbox */

.textbox {
  background-color: #36013f;
}

.textbox-success {
  background-color: #198754;
}

.textbox-notice {
  background-color: #6f42c1;
}

.textbox-textarea {
  padding: 20px;
  margin-bottom: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.textbox h3 {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.textbox p {
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.textbox a {
  color: #0066cc;
  font-size: 16px;
  text-decoration: none;
}

.textbox a:hover {
  text-decoration: underline;
}

@media only screen and (min-width: 768px) {
  .textbox {
    padding: 15px;
  }
  
  .textbox h3 {
    font-size: 20px;
  }
  
  .textbox p {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
}

/* Account layout 2 */

.accounts {
  display: flex;
  flex-wrap: wrap;
}
  
.sidebar {
  background-color: #800080;
  color: #fff;
  width: 250px;
  padding: 20px;
  box-sizing: border-box;
}

@media only screen and (min-width: 64rem) { 
  .sidebar {
    min-height: 100vh;
  }
}

.sidebar a{
  color: #fff;
}

.accounts-inner {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .accounts {
      flex-direction: column;
  }

  .sidebar {
      width: 100%;
      height: auto;
      margin-bottom: 20px;
  }
}

/* Account table */

table {
  border-collapse: collapse;
  background-color: #fff;
  height: 100%;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #333;
  color: #fff;
}

tr:hover {
  background-color: #f5f5f5;
}

.table-btn {
  padding: 5px 10px;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

.table-btn:hover {
  background-color: #555;
}

.editor-section {
  margin: 20px;
  border-collapse: collapse;
  background-color: #fff;
  height: auto;
}

/* User form */

.signin {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.glass-box {
  margin-left: 20px;
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  width: 350px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .signin {
    flex-direction: column;
  }

  .glass-box {
    margin-top: 20px;
    width: 300px;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

.glass-box h2 {
  color: #333;
}

.sign-form {
  margin-bottom: 20px;
}

.sign-form label {
  display: block;
  margin-bottom: 5px;
  color: #555;
}

.sign-form input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.sign-form button {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  background-color: #800080;
  color: white;
  cursor: pointer;
}

/* EOT */

.session {
  background-color: #ffffff;
  color: #333;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 20px 20px;
}

@media (min-width: 768px) {
  .session {
    width: 400px;
  }
}

@media (min-width: 868px) {
  .session {
    width: 500px;
  }
}

@media (min-width: 968px) {
  .session {
    width: 600px;
  }
}

@media (min-width: 1068px) {
  .session {
    width: 700px;
  }
}

@media (min-width: 1168px) {
  .session {
    width: 800px;
  }
}

@media (min-width: 1268px) {
  .session {
    width: 900px;
  }
}

@media (min-width: 1368px) {
  .session {
    width: 1000px;
  }
}

@media (min-width: 1468px) {
  .session {
    width: 1100px;
  }
}

@media (min-width: 1568px) {
  .session {
    width: 1200px;
  }
}

.session-inner {
  overflow: hidden;
}

.session-title {
  font-size: 2em;
  margin-bottom: 10px;
  color: #333;
}

.session-details {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #666;
}

.session-chech:hover {
  background-color: #2980b9;
}

/* About */

.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

@media only screen and (min-width: 64rem) {
  .members {
    text-align: center;
    margin: 20px;
    width: 30%; 
  }  
}

.profile-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-img img {
  border-radius: 50%;
  object-fit: cover;
  width: 250px;
  height: 250px;
}

.welcome-section {
  text-align: center;
  padding: 40px;
}

.president-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-image: url('../img/kittyxu.jpg');
  background-size: cover;
  background-position: center;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.quotation-marks {
  font-size: 40px;
  color: #666; 
}

.message-content {
  font-size: 18px;
  line-height: 1.5;
  margin: 20px 0;
}

/* Department */

.dept-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
}

.dept-section-title{
  margin-top: 200px;
  color: var(--color-white-100);
}  

.dept-section-text{
  margin-bottom: 100px;
  color: var(--color-white-100);
}  

.dept-section-btn{
  margin-bottom: 50px;
  color: var(--color-white-100);
}  

.dept {
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.dept-2 {
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  text-align: center;
}

@media only screen and (min-width: 64rem) {
  .dept {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    width: 33.33%;
  }
  .dept-2 {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    width: 50%;
  }
}

/* News */
  
  .news {
    max-width: 90%; /* Adjusted width */
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* To evenly distribute articles */
  }
  
  .article {
    width: calc(30% - 20px); /* Adjusted width */
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    box-sizing: border-box; /* Include padding and border in the element's total width */
  }
  
  /* Responsive styles */
  @media only screen and (max-width: 768px) {
    .news {
      max-width: 100%; /* Full width on smaller screens */
    }
    
    .article {
      width: calc(50% - 20px); /* Two articles per row on smaller screens */
    }

    /* Adjust articles to one per row on smaller screens */
    @media only screen and (max-width: 480px) {
      .article {
        width: 100%;
      }
    }
  }
  
  /* Image styles */
  .cover-image {
    width: 800px;
    height: 400px;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  
  /* Read more link */
  .read-more {
    color: #800080;
    text-decoration: none;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }


/* Photo gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  max-width: 1000px;
  width: 100%;
  margin-bottom: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  max-width: 100%;
  display: block;
  transition: transform 0.2s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .gallery {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* slideshow */

#slider{
  width:100%;
  height:500px;
  position:relative;
  overflow:hidden;
}
@keyframes load{
  from{left:-100%;}
  to{left:0;}
}
.slides{
  width:400%;
  height:100%;
  position:relative;
  -webkit-animation:slide 30s infinite;
  -moz-animation:slide 30s infinite;
  animation:slide 30s infinite;
}
.slider{
  width:25%;
  height:100%;
  float:left;
  position:relative;
  z-index:1;
  overflow:hidden;
}
.slide img{
  width:100%;
  height:100%;
}
.slide img{
  width:100%;
  height:100%;
}
.image{
  width:100%;
  height:100%;
}
@media (max-width: 768px) {
  .image img{
    width:100%;
    height:auto;
  }
}

.image img{
  width:100%;
  height:200%;
}


/* Contents */
.slider-content{
  background-color: #000;
  background: rgba(0, 0, 0, 0.5);
  width:100%;
  height:100%;
  position:absolute;
  overflow:hidden;
}

.content-txt{
  width:300px;
  height:350px;
  float: left;
  position:relative;
  top:150px;
  -webkit-animation:content-s 7.5s infinite;
  -moz-animation:content-s 7.5s infinite;
  animation:content-s 7.5s infinite;
}

@media only screen and (min-width: 64rem) {
  .content-txt{
    width:400px;
    height:350px;
    float: left;
    position:relative;
    top:150px;
    -webkit-animation:content-s 7.5s infinite;
    -moz-animation:content-s 7.5s infinite;
    animation:content-s 7.5s infinite;
  }
}
.content-txt h1{
  text-transform:uppercase;
  color:#fff;
  text-align:left;
  margin-left:30px;
  padding-bottom:10px;
}
.content-txt p{
  color:#fff;
  text-align:left;
  margin-left:30px;
}
.content-txt button{
  margin-left:30px;
}

/* Animation */
@-webkit-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@-moz-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}

@-webkit-keyframes content-s{
  0%{left:-420px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@-moz-keyframes content-s{
  0%{left:-420px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@keyframes content-s{
  0%{left:-420px;}
  10%{left:20px;}
  15%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@keyframes content-s{
  0%{left:-420px;}
  10%{left:20px;}
  15%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}

@-webkit-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

@-moz-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

@keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}
@keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}

/* temporary style, to be automated */

.hero-home {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/party.jpg');
  background-size: cover;
  background-position: center;
  height: calc(100vh / 2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-social {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/social.jpg');
  background-size: cover;
  background-position: center;
  height: calc(100vh / 2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-join {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/joinus.jpg');
  background-size: cover;
  background-position: center;
  height: calc(100vh / 2);
  display: flex;
  justify-content: center;
  align-items: center;
}