:root {
    --main-nav-color: white;
    --main-nav-hover-color: white;
    --main-accent-color: #2888df;
    --main-text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    color: var(--main-text-color);
}

a {
    color: #307ee4;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

.navbar {
    overflow: hidden;
    background-color: var(--main-nav-color);
}

.navbar a {
    float: left;
    font-size: 16px;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: #333;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    display: inline-flex;
}

.dropbtn svg polygon {
    fill: var(--main-text-color);
}

.dropdown:hover .dropbtn svg polygon {
    fill: var(--main-accent-color);
}

.dropdown:hover .dropbtn {
    color: var(--main-accent-color);
}

.navbar a:hover {
    color: var(--main-accent-color);
}

.dropdown:hover .dropbtn {
    fill: var(--main-accent-color);
}


.dropdown:hover .dropbtn span {
    color: var(--main-accent-color);
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--main-nav-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 10px;
}

.dropdown-content a {
    float: none;
    color: var(--main-text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    color: var(--main-accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.page-container {
    width: 80%;
    margin: 180px auto auto;
    border-radius: 10px;
    box-shadow: 0px 8px 30px 8px rgb(0 0 0 / 10%);
    background: white;
}

.page-background video {
    width: 100%;
}

.page-container-content {
    padding: 30px;
}

.richtext-image {
    border-radius: 10px;
}

iframe {
    width: 500px;
    height: 300px;
    border-radius: 10px;
}

.school-logo {
    display: inline-flex;
    align-items: center;
    width: 100%;
    background: linear-gradient(175deg, var(--main-accent-color),#4950ff);
}

.school-logo img {
    width: 70px;
    padding: 10px;
}

.school-logo div {
    font-size: 20px;
    padding-left: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
}

.burger {
    padding: 10px;
    display: none;
}

.burger-btn {
    font-size: 35px;
}

.search-form {
    padding: 7px 16px;
    font-size: 16px;
    width: fit-content;
    margin-left: auto;
}


footer {
    margin-top: 20px;
    background: linear-gradient(175deg, var(--main-accent-color), #4950ff);
    padding: 20px;
    color: white;
}

footer h2 {
    color: white;
    text-transform: uppercase;
}

.footer-info {
    display: flex;
    justify-content: space-around;
}

.social-icon {
    text-decoration: none;
    fill: #0d1c89;
}

.socials {
    margin-top: 20px;
}

.page-background {
    position: relative;
    height: 600px;
    z-index: -1;
    margin-bottom: -400px;
    overflow: hidden;
}

.page-background img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
    position: relative;
}

.search-form input {
    font-size: 16px;
    padding: 8px;
    border-radius: 10px;
    border: none;
    background: #dbdbdb;
    width: 200px;
    transition: 0.2s ease-in-out;
}

.search-form input:focus {
    width: 250px;
    transition: 0.2s ease-in-out;
}

.mySlides {
    display: none;
    width: 100%;
    height: 400px;
}

.mySlides img {
    vertical-align: middle;
    transition: background-color 1s ease;
}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 1s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {opacity: .2}
  to {opacity: 1}
}

.page-container-content p{
    margin-bottom: 8px;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

@media (max-width: 1000px) {
    .navbar {
        display: none;
    }

    .burger {
        padding: 10px;
        display: block;
        padding: 14px 16px;
    }

    .navbar a {
        text-align: left;
    }

    .dropbtn {
        width: 100%;
    }

    .dropbtn svg{
        margin-inline-start: auto;
    }

    .search-form {
        margin-left: unset;
    }

    .page-container {
        width: 95%;
    }

    .school-logo div{
        font-size: 18px;
    }
}
