:root{
    --gray: #aaaaaa;
    --primary-blue: #6097E8;
    --primary-green: #85CE6E;
    --primary-yellow: #EAE35E;
    --primary-red: #ED5D5D;
    --cloud-blue: #a4c6dd;
}
#news{
    margin-top: 17%;
}
/*FONTS*/
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Regular.ttf');
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Light.ttf');
}
@font-face {
    font-family: 'Rubik-Bold';
    src: url('../fonts/Rubik-Regular.ttf');
    font-weight: bold;
}

body {
    padding-top: 70px;
    font-family: "Rubik", sans-serif;
    min-height:100%;
    overflow-x: hidden;
}
footer {
    background-image: url("../images/footer.svg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    background-position: center;
background-size: cover;
}
.page-footer{
    padding-top: 15%;
    background-color: white;
    padding-bottom: 3.5%;
}
.center-divs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.new{
    border-radius: 5px;
    box-shadow: 5px 7px 13px #888888;
    max-width: 450px;
    margin: 0 25px 20px 25px;
    animation: box-shadow-out .5s;
    animation-fill-mode: forwards;
    padding-bottom: 20px;
}
.new:hover{
    animation: box-shadow-in .5s;
    animation-fill-mode: forwards;
}
.card{
    border-radius: 5px;
    box-shadow: 5px 7px 13px;
    animation: box-shadow-out .5s;
    animation-fill-mode: forwards;
}
.card:hover{
    animation: box-shadow-in .5s;
    animation-fill-mode: forwards;
}
.new-content{
    padding: 10px;
    min-height: 250px;
    max-height: 250px;
}
h2{
    margin-bottom: 5px;
}
hr{
    margin: 2px;
}
.new-text{
    margin-bottom: 10px;
}
.new-image{
    width: 450px;
    height: 400px;
    overflow: hidden;
    object-fit: cover;
}
html {
    scroll-behavior: smooth;
}
.centered{
    text-align: center;
}

h2{
    font-weight: bold;
    font-size: 35px;
}
#header-slideshow img{
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    overflow: hidden;
    position: center;
}
#header-slideshow{
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index:1;
    margin-top: -25px;
}
h1{
    margin: 25px 0 25px 0;
    font-weight: bold;
    font-size: 45px;
    text-align: center;
}
h1:after {
    content:' ';
    position: absolute;
    display:block;
    width: 100px;
    border: 2px solid var(--primary-red);
    border-radius:4px;
    margin: 0 0 0 0;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    left: 50%;
    transform: translateX(-50%);
}
.blue-line:after {
    border: 2px solid var(--primary-blue);
}
@keyframes box-shadow-in {
    from {box-shadow: 5px 7px 13px rgba(105, 105, 105, 0.75);}
    to {box-shadow: 9px 15px 13px rgba(105, 105, 105, 0.75);}
}

@keyframes box-shadow-out {
    from {box-shadow: 9px 15px 13px rgba(105, 105, 105, 0.75);}
    to {box-shadow: 5px 7px 13px rgba(105, 105, 105, 0.75);}
}
@keyframes img-zoom-in {
    from {transform: scale(1);}
    to {transform: scale(1.5);}
}

#cloud {
    position: absolute;
    z-index: 2;
    border-radius: 5px;
    left: 50%;
    top: 410px;
    transform: translate(-10vw, -5vw);
    background-image: url("../images/cloud2.svg");
    background-repeat: no-repeat;
    background-size: 82%;
    color: black;
    min-width: 25%;
    min-height: 35%;
    flex-direction: column;
    display: flex;
    align-items: center;
    padding-top: 3.4%;
}
#cloud h2, #cloud p{
    padding-right: 21%;
}
.primary-gray-color{
    color: var(--gray);
}
#cloud h2{
    font-size: 225%;
}
@media screen and (device-aspect-ratio: 4/3) {
    #cloud{
        width: 42%;
        height: 45%;
        background-size: 62%;
    }
    #cloud h2, #cloud p{
        padding-right: 42%;
    }
}
@media screen and (device-aspect-ratio: 16/10) {
    #cloud{
        width: 40%;
        height: 30%;
        background-size: 53%;
        background-position: -5px;
    }
    #cloud h2, #cloud p{
        padding-right: 50%;
    }
    #cloud h2{
        font-size: 25px;
    }
    #main-article{
        margin-top: 12%;
    }
}

#main-article{
    margin-top: 10%;
}
#cloud h2{
    background: -webkit-linear-gradient(#6097E8, #85CE6E, #EAE35E, var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cycle-slideshow {
    position: relative;
    z-index:1;
}
.new-add-info{
    position: absolute;
    width: 450px;
    height: 100px;
    background: rgba(61,61,61,0.68);
    border-bottom: var(--primary-red) 2px solid;
    padding: 10px;
    color: white;
    font-weight: 800;
}
.border-bottom-red{
    border-bottom: var(--primary-red) solid 1px;
}
.navbar .navbar-nav .nav-link:hover {
    color: gray;
}
@media only screen and (min-width: 960px) {
    .navbar .navbar-nav .nav-link {
        padding: 1em 0.7em;
    }
    .navbar {
        padding: 0;
    }
    .navbar .navbar-brand {
        padding: 0 0.7em;
    }

}
@media only screen and (max-width: 960px) {
    #cloud{
        width: 50%;

    }
}
.navbar .navbar-nav .nav-link {
    position: relative;
    color: gray;
    padding: 0 10px 0 10px;
}
.navbar .navbar-nav .nav-link::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: var(--primary-red);
    color: transparent;
    width: 0;
    content: '';
    height: 3px;
    transition: all 0.5s;
}
.navbar .navbar-nav .nav-link:hover::after {
    width: 100%;
}
.navbar-big{
    font-size: 18px;
    transition: all ease 0.4s;
    padding: 0 10px 200px 10px;
}
.navbar-brand{
    font-size: 18px;
    transition: all ease 0.4s;
}
.navbar-brand-big{
    font-size: 18px;
    transition: all ease 0.4s;
}
nav ul a{
    transition: all ease 0.4s;
}
.slideshow{
    border-bottom: #a4c6dd 10px solid;
    margin-bottom: 10px;
}
.separator {
    display: flex;
    align-items: center;
    text-align: center;
}
.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #000;
}
.separator::before {
    margin-right: .25em;
}
.separator::after {
    margin-left: .25em;
}
.bold{
    font-weight: bold;
}

.primary-blue-bg{
    background-color: var(--primary-blue);
}
.primary-red-bg{
    background-color: var(--primary-red);
}
.primary-green-bg{
    background-color: var(--primary-green);
}
.primary-yellow-bg{
    background-color: var(--primary-yellow);
}
.card {
    margin: 0 5px 5px 10px;
}
.card.small{
    width: 250px;
}
.class-icon{
    width: 26px;
    height: 26px;
    transform: translateY(-4px);
}
.card{
    background: white;
}
.card-reveal p {
    font-size: 15px;
}
#login-form{
    margin-top: 25px;
}
.toast{
    font-size: 16px;
    font-weight: bold;
}
a:hover{
    text-decoration: none;
    color: white;
}

@media (min-width: 992px) {
    .animate {
        animation-duration: 0.3s;
        -webkit-animation-duration: 0.3s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
    100% {
        transform:translateY(0rem);
        opacity: 1;
    }
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: transform;
        -webkit-opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        -webkit-opacity: 1;
    }
    0% {
        -webkit-transform: translateY(1rem);
        -webkit-opacity: 0;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;

}
.dropdown:hover>.dropdown-menu {
    display: block;
}
.modal-content{
    border: none;
}
.modal.modal-fixed-footer{
    width: 33.33%;
    height: 25%;
    max-height: fit-content;
    border-radius: 0;
}
.modal.modal-fixed-footer .modal-footer{
    background: white;
}
user-action{
    display: none;
}
#user-info{
    left: 80vw;
    position: fixed;
    z-index: 2;
    background: white;
    border-radius: 2px;
    padding: 4px 6px;
    font-weight: bold;
}
.dropdown-menu a{
    line-height: 30px;
    padding-left: 7px;
}
.btn-large{
    font-size: 18px;
}
.btn-large i{
    font-size: 18px;
}
.admin-button:first-child{
    margin-left: 0;
}
.admin-button{
    margin-left: 15px;
    max-width: 275px;
    width: 275px;
}
.admin-section{
    display: flex;
    justify-content: center;
}
#content{
    min-height: calc(34.6vh);
}
.icon-button{
    background: transparent;
    border: none;
}
.icon-button:hover{
    background: transparent;
}
.icon-button:focus{
    background: transparent;
}
.link{
    text-decoration: none;
    line-height: 1;

    position: relative;
    z-index: 0;
    display: inline-block;
    padding: 5px 2px 5px 2px;
    overflow: hidden;
    color: #333;
    vertical-align: bottom;
    transition: color .3s ease-out;
}

.link::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    transform: translateY(calc(100% - 2px));
    width: 100%;
    height: 100%;
    background: var(--primary-green);
    transition: transform .25s ease-out;
}
.link-red::before {
    background: var(--primary-red);
}

.link-yellow::before {
    background: var(--primary-yellow);
}

.link-blue::before {
    background: var(--primary-blue);
}

.link-gradient::before {
    background: -webkit-linear-gradient(0.5turn, #6097E8, #85CE6E, #EAE35E, var(--primary-red));
}

.link:hover {
    color: #fff;
}
.link:hover::before {
    transform: translateY(0);
    transition: transform .25s ease-out;
}
.dropdown-item:active{
    background-color: white;
}
.dropdown-menu{
    margin-top: -1px;
    border-radius: 2px;
    border-bottom: var(--primary-red) 3px solid;
    padding: .5rem 0 0 0;
}
#footer-links a{
    margin-bottom: 3px;
}
#remove-mode-notification{
    margin-top: 20px;
    margin-bottom: 20px;
    color: #ff0000;
    background-color: rgba(222, 38, 38, .2);
    border: #ff0000 solid 2px;
    border-radius: 2px;
    padding: 7px
}
.disabled-card{
    background: #bdbdbd;
    border: dashed #959595 2px;
}
.gray-line:after {
    border: solid #959595 2px;
}