:root {
    --mywhite: rgb(226, 226, 226);
    /* --myred: #87222a; */
    --myred: hsl(158, 39%, 34%);
    --myred-dark: hsl(158, 39%, 30%);
    --mygray: #808080;
    --slider-count: 5;
    --dashboard-sidebar-width: 200px;
    --dashboard-topbar-height: 65.5px;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Comfortaa;
    color: var(--mywhite);
    /*font-family: 'Poppins', sans-serif;*/
}

*:focus {
    outline: none;
}

html {
    /* scroll-behavior: smooth; */
}


/* modal */

.modal {
    background-color: var(--mywhite);
    position: fixed;
    padding: 40px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: min(80vw, 800px);
    height: min(80vh, 400px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 0 100px 300px #000000aa;
}

.modal * {
    color: #111;
}

.modal form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
    /* justify-content: space-between; */
}

.modal form h1 {
    margin-bottom: 20px;
}

.modal form input,
.modal form textarea {
    font-size: 14px;
    padding: 7px;
    border-radius: 5px;
    border: 1px solid #ccc;
    /* height: 40px; */
    width: 100%;
}

.modal form .buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.modal form .buttons button {
    font-size: 14px;
    padding: 7px;
    background-color: var(--myred);
    border-radius: 5px;
    color: var(--mywhite);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal form .buttons button:last-child {
    background-color: transparent;
    color: var(--myred);
}

.modal form .buttons button:hover {
    background-color: var(--mywhite);
    color: var(--myred);
    border: 2px solid var(--myred);
}


/* popup */

.popup {
    background: var(--myred);
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}


/* header */

.header {
    display: flex;
    align-items: center;
    padding: 20px;
    z-index: 200;
}

.logo {
    height: 50px;
}

.header .title {
    display: none;
}

.header .notitle {
    display: block;
}

.nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.nav-item {
    list-style: none;
}

.nav-item a {
    text-decoration: none;
    color: var(--mygray);
    font-size: 18px;
    font-weight: 400;
    padding: 8px 15px;
}

.nav-item:not(.dropdown) a:hover {
    color: var(--myred);
}

.nav-item a.highlight {
    background-color: var(--myred);
    margin-left: 15px;
    color: white;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: 300ms;
}

.nav-item a.highlight:hover {
    color: var(--myred);
    border: 2px solid var(--myred);
    background-color: #fff;
}

.nav-item a.login-li {
    background-color: var(--myred);
    margin-left: 15px;
    color: var(--mywhite);
    border-radius: 2px;
    border: 2px solid transparent;
}

.nav-item a.login-li:hover {
    color: var(--myred);
    border: 2px solid var(--myred);
    background-color: #fff;
}

.dropdown {
    position: relative;
    display: block;
    padding: 30px;
    cursor: none;
}

.dropdown ul {
    display: none;
    position: absolute;
    justify-content: space-evenly;
    align-items: center;
    z-index: 200;
    left: -150px;
    bottom: -50px;
    padding: 20px;
    background-color: var(--myred);
    border-radius: 5px;
}

.dropdown ul a {
    color: white;
    transition: 300ms;
}

.nav-item.dropdown ul a:hover {
    color: orange;
}

.dropdown:hover ul,
.dropdown.active ul {
    display: flex;
}

/* .dropdown:hover > a {
    text-decoration: underline;
    text-decoration-color: var(--myred);
    text-decoration-thickness: 4px;
} */

.burger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--mygray);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 1100px) {
    .header {
        position: relative;
    }
    html,
    body {
        overflow-x: hidden;
    }
    .header .title {
        display: block;
    }
    .header .notitle {
        display: none;
    }
    .nav {
        position: absolute;
        right: 0;
        top: 0;
        display: block;
        flex-direction: column;
        align-items: center;
        width: 60%;
        height: 100vh;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        background-color: white;
        border-radius: 0 0 0 12px;
        margin-right: 0px;
        padding: 20px;
    }
    .nav li a:hover {
        box-shadow: none;
    }
    .nav li {
        opacity: 0;
        line-height: 50px;
    }

    .nav-item a {
        font-size: 16px;
    }

    .dropdown {
        position: relative;
        display: block;
        padding: 0px;
    }
    
    .dropdown ul {
        display: block;
        position: relative;
        left: 0px;
        padding: 0px;
        padding-left: 20px;
        bottom: 0px;
    }
    
    .dropdown:hover ul {
        display: block;
    }
    
    .dropdown:hover > a {
        text-decoration: none;
    }


    .burger {
        display: block;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* footer */

footer {
    bottom: 0px;
    width: 100%;
    background: #111;
}

.main-content {
    display: flex;
}

.main-content .box {
    flex-basis: 50%;
    padding: 10px 30px;
}

.box h2 {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
}

.box .content {
    margin: 20px 0 0 0;
    position: relative;
}

.box .content:before {
    position: absolute;
    content: '';
    top: -10px;
    height: 2px;
    width: 100%;
    background: #1a1a1a;
}

.box .content:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 15%;
    background: var(--myred);
    top: -10px;
}

.left .content p {
    text-align: justify;
}

.left .content .social {
    margin: 20px 0 0 0;
}

.left .content .social a {
    padding: 0 2px;
}

.left .content .social a span {
    height: 40px;
    width: 40px;
    background: #1a1a1a;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.left .content .social a span:hover {
    background: var(--myred);
}

.center .content .fas {
    font-size: 1.4375rem;
    background: #1a1a1a;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}

.center .content .fas:hover {
    background: var(--myred);
}

.center .content .text {
    font-size: 1.0625rem;
    font-weight: 500;
    padding-left: 10px;
}

.center .content .item {
    margin: 10px 0;
}

.right form .text {
    font-size: 1.0625rem;
    margin-bottom: 2px;
    color: #656565;
}

.right form .msg {
    margin-top: 10px;
}

.right form input,
.right form textarea {
    width: 100%;
    font-size: 1.0625rem;
    background: #151515;
    padding-left: 10px;
    border: 1px solid #222222;
}

.right form input:focus,
.right form textarea:focus {
    outline-color: #3498db;
}

.right form input {
    height: 35px;
}

.right form .btn {
    margin-top: 10px;
}

.right form .btn button {
    height: 40px;
    width: 100%;
    border: none;
    outline: none;
    background: var(--myred);
    font-size: 1.0625rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.right form .btn button:hover {
    background: #000;
}

.right form .btn button:focus {
    border: 2px solid white;
    box-shadow: 0px 0px 0px 1px white;
    animation: anim-submit .3s forwards;
}

@keyframes anim-submit {
    100% {
        box-shadow: 0px 0px 20px 20px rgba(112, 111, 211, 0);
    }
}

.bottom center {
    padding: 5px;
    font-size: 0.9375rem;
    background: #151515;
}

.bottom center span {
    color: #656565;
}

@media screen and (max-width: 900px) {
    footer {
        position: relative;
        bottom: 0px;
    }
    .main-content {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .main-content .box {
        margin: 5px 0;
    }
}


/* scroll top */

.gotop {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 25px;
    right: 25px;
    background: var(--myred);
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    color: var(--mywhite);
    font-size: 22px;
    z-index: 1;
    border-radius: 50%;
    transition: all .3s;
    display: none;
}

.gotop:hover {
    font-size: 32px;
}


/* user dashboard */

.dashboard-burger-container {
    position: fixed;
    background-color: var(--mygray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 10;
    height: var(--topbar-height);
}

.dashboard-burger-container .dashboard-burger {
    padding: 20px;
    cursor: pointer;
}

.dashboard-burger-container .dashboard-burger span {
    color: white;
    font-size: 25px;
}

.dashboard-burger-container .logo {
    margin-right: 20px;
}

.dashboard-burger-container .logo img {
    width: 80px;
}

.dashboard-sidebar {
    background-color: var(--mygray);
    height: 100%;
    position: fixed;
    width: var(--sidebar-width);
    z-index: 20;
}

.dashboard-sidebar.open {
    display: flex;
    flex-direction: column;
}

.dashboard-sidebar.open::after {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    width: 0.5px;
    height: 100%;
    right: 0;
    top: 0;
}

.dashboard-sidebar.closed {
    display: none;
}

.dashboard-sidebar .dashboard-burger span {
    color: white;
    font-size: 25px;
    cursor: pointer;
    margin: 20px;
}

#user {
    display: inline;
    color: var(--main);
    font-size: 22px;
}

.dashboard-sidebar .first {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.dashboard-sidebar .second {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.dashboard-sidebar .second::before {
    content: "";
    height: 0.5px;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 0;
    left: 10%;
}

.dashboard-sidebar a {
    color: white;
    text-decoration: none;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: left;
    gap: 20px;
    padding: 20px;
    align-items: center;
}

.dashboard-sidebar a span {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dashboard-sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dashboard-content {
    width: calc(100%-(var(--sidebar-width)));
    padding: 40px;
    margin-left: var(--sidebar-width);
    transform: translateY(var(--topbar-height));
    display: flex;
    flex-direction: column;
    gap: 40px;
}


/* page title */

.page-title {
    background: #101010;
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 20;
}

.page-title iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    object-fit: cover;
}

.page-title svg {
    position: absolute;
    width: 100%;
    padding: 10%;
    stroke-dasharray: 800px;
    stroke-dashoffset: 800px;
    z-index: 15;
    background-color: rgba(0,0,0,0.5);
    height: 100%;
}

.page-title.threesec svg {
    animation: page-title-stroke-anim 3s ease forwards, page-title-fill-anim 1s ease forwards 3s;
}

.page-title.twosec svg {
    animation: page-title-stroke-anim 3s ease forwards, page-title-fill-anim 1s ease forwards 2s;
}

.page-title.onesec svg {
    animation: page-title-stroke-anim 3s ease forwards, page-title-fill-anim 1s ease forwards 1s;
}

@keyframes page-title-stroke-anim {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes page-title-fill-anim {
    from {
        fill: transparent;
    }
    to {
        fill: white;
    }
}


/* index */

.index-container {
    width: 100%;
    height: calc(100vh - 121px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.7), rgba(0,0,0,0));
    background-image: url("../img/patrick_new.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; */
    position: relative;
}

@media screen and (max-width: 1100px) {
    .index-container {
        height: calc(100vh - 93px);
    }
}

.index-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("../img/patrick_new.jpg") center/cover no-repeat;
}

.index-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.7), rgba(0,0,0,0));
  }

.socials-vert {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 50%;
    margin: 20px;
    align-self: start;
    z-index: 3;
}

.socials-vert a {
    margin: 10px;
    animation: rotate-clockwise 4s infinite;
}

.socials-vert a:nth-child(1) {
    animation-delay: 0.5s;
}

.socials-vert a:nth-child(2) {
    animation-delay: 1.5s;
}

.socials-vert a:nth-child(3) {
    animation-delay: 2.5s;
}

.socials-vert a:nth-child(4) {
    animation-delay: 3.5s;
}

.socials-vert span {
    font-size: 1.4375rem;
    /* background: #1a1a1a; */
    background: var(--mywhite);
    color: var(--myred);
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}

.socials-vert span:hover {
    background: var(--myred);
    color: var(--mywhite);
}

@keyframes rotate-clockwise {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(360deg);
    }
    50% {
        transform: rotate(360deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.legalstuff {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px;
}

.legalstuff a {
    text-decoration: none;
    color: rgb(200, 200, 200);
}

/* image slider */

#slider {
    overflow: hidden;
    box-shadow: 0 0 10px var(--mygray);
}

#slider figure {
    position: relative;
    z-index: -1;
    width: calc(100% * var(--slider-count));
    animation: calc(4s * var(--slider-count)) slider infinite;
}

#slider figure img {
    width: calc(100% / var(--slider-count));
    float: left;
}


/* 	großes intervall: anzeigen; kleines intervall: sliden;
	100% durch n teilen gibt schrittweise untere grenze, 5% vor nächster grenze gibt schrittweise obere grenze 

	0*100/(n-1)% und 1*100/(n-1)-5%{
		left: -100*0%;
	}
	1*100/(n-1)% und 2*100/(n-1)-5%{
		left: -100*1%;
	}
	2*100/(n-1)% und 3*100/(n-1)-5%{
		left: -100*2%;
	}
	...
	(n-1)*100/(n-1)%{
		left: -100*(n-1)%;
	}
*/

@keyframes slider {
    0% {
        left: 0;
    }
    20% {
        left: 0;
    }
    25% {
        left: -100%;
    }
    45% {
        left: -100%;
    }
    50% {
        left: -200%;
    }
    70% {
        left: -200%;
    }
    75% {
        left: -300%;
    }
    95% {
        left: -300%;
    }
    100% {
        left: -400%;
    }
}


/* about */

.review {
    background: rgb(226, 226, 226);
    padding: 40px 20px 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 80px;
}

.review * {
    color: black;
}

.review .stats {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.review .stats .average {
    font-weight: bold;
    font-size: 25px;
}

.review .stats .stars span {
    font-size: 25px;
}

.review .stats .stars span.on {
    color: rgb(255, 193, 49);
}

.review .stats .stars span.half {
    background: -moz-linear-gradient(90deg, rgb(255, 193, 49) 50%, #b7b7b797 50%);
    background: -webkit-linear-gradient(90deg, rgb(255, 193, 49) 50%, #b7b7b797 50%);
    background: linear-gradient(90deg, rgb(255, 193, 49) 50%, #b7b7b797 50%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.review .stats .stars span.off {
    color: #b7b7b797;
}


/* .review .slider {
    width: 100%;
    overflow: hidden;
}

.review .slider .comments {
    display: flex;
    margin: 40px 40px 0 40px;
    gap: 40px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

.review .slider .comments .item {
    width: 300px;
    height: 300px;
    border-radius: 12px;
    background-color: olive;
    flex-shrink: 0;
    scroll-snap-align: start;
} */

.review .new {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
}

.review .new::before {
    content: '';
    width: 80vw;
    height: 1px;
    background: gray;
    position: absolute;
    top: -35px;
}

.review .new .stars button {
    background: none;
    border: none;
}

.review .new .stars span {
    color: #b7b7b797;
    font-size: 45px;
    transition: 300ms;
}

.review .new .stars span.hovered {
    cursor: pointer;
    transform: scale(1.1);
    color: rgb(255, 193, 49);
}

.timeline-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #101010;
    padding: 100px 0;
    /* box-shadow: 0 0 10px var(--mygray); */
}

.timeline {
    width: 80%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline ul {
    list-style: none;
}

.timeline ul li {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.timeline ul .education {
    background-color: #1e1f22;
}

.timeline ul .work {
    background-color: #657895;
}

.timeline ul .private {
    background-color: rgba(255, 175, 122, 0.6);
}

.timeline ul li:last-child {
    margin-bottom: 0;
}

.timeline a {
    text-decoration: none;
}

.timeline-content h1 {
    font-size: 25px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 300;
}

.timeline-content .timeline-date {
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

@media only screen and (min-width: 768px) {
    .timeline:before {
        content: '';
        position: absolute;
        height: 100%;
        width: 2px;
        background-color: gray;
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline ul li {
        width: 50%;
        margin-bottom: 50px;
        position: relative;
    }
    .timeline ul li:nth-child(odd) {
        float: left;
        clear: right;
        transform: translateX(-30px);
        border-radius: 20px 0px 20px 20px;
    }
    .timeline ul li:nth-child(even) {
        float: right;
        clear: left;
        transform: translateX(30px);
        border-radius: 0px 20px 20px 20px;
    }
    .timeline ul li:after {
        content: '';
        position: absolute;
        height: 20px;
        width: 20px;
        background-color: gray;
        border-radius: 50%;
        top: 0;
    }
    .timeline ul li:nth-child(odd):after {
        right: -30px;
        transform: translate(50%, -50%);
    }
    .timeline ul li:nth-child(even):after {
        left: -30px;
        transform: translate(-50%, -50%);
    }
    .timeline ul li:hover:after {
        background-color: white;
    }
    .timeline-content .timeline-date {
        position: absolute;
        top: -30px;
    }
}

@include keyframes( orbit) {
    0% {
        @include transform( rotateY(90deg) rotate(0deg));
    }
    60% {
        @include transform( rotateY(90deg) rotate( -180deg));
    }
    100% {
        @include transform( rotateY(90deg) rotate( -360deg));
    }
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-container {
    text-align: center;
    margin: 20px 40px;
    border: 2px solid var(--mygray);
    border-radius: 5px;
    /* padding: 10px 50px 10px 50px; */
    padding: 10px;
    max-width: 300px;
    min-width: 150px;
    transition: all .3s;
}

.download-container a {
    color: var(--mygray);
    text-decoration: none;
    /* padding: 10px 50px 10px 50px; */
    font-size: 20px;
    /* border: 2px solid var(--mygray);
    border-radius: 5px; */
}

.download-container:hover {
    color: var(--mywhite);
    background: var(--myred);
    cursor: pointer;
}

.download-container:hover a {
    color: var(--mywhite);
}


/* sections */

.darksection {
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
}

.darksection .container {
    width: 40%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    text-align: justify;
    margin-right: 5%;
}

.darksection .container .info h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: right;
}

.darksection .container .info h1 .semester {
    position: relative;
    z-index: 11;
}

.darksection .container .info h1 .semester::before {
    position: absolute;
    content: "";
    width: calc(100% + 20px);
    height: 50%;
    left: -10px;
    bottom: -2px;
    background: var(--myred);
    z-index: -1;
    transform: rotate(10deg);
}

.darksection .container .info p {
    font-size: 0.9rem;
}

.darksection .container .info .diary-container {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 20px;
}

.darksection .container .info .diary {
    background-color: rgba(255, 255, 255, 0.628);
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: left;
    transition: all .3s;
    padding: 5px 20px 5px 5px;
    border-radius: 8px;
    box-shadow: 0 0 10px 1px #aaa;
}

.darksection .container .info .diary:hover {
    background-color: white;
    cursor: pointer;
}

.darksection .container .info .diary img {
    height: 40px;
}

.darksection .container .info .diary a {
    color: black;
    text-decoration: none;
}

.darksection .container .info .btn {
    text-decoration: none;
    display: inline-block;
    background-color: var(--myred);
    border-radius: 2px;
    font-size: 1.3rem;
    padding: 0.5em 1em;
    margin-top: 1rem;
    color: var(--mywhite);
    transition: all 0.3s ease;
    float: right;
}

.darksection .container .info .btn:hover {
    background-color: var(--mywhite);
    color: var(--myred);
}

.accordion-section {
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-section .container {
    width: 100%;
    max-width: 80em;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.accordion-section .container .title {
    padding: 1rem;
    color: var(--myred);
    font-size: 1.2rem;
    margin-top: 1.6rem;
    text-align: right;
    position: relative;
}

.accordion-section .container .title::after {
    position: absolute;
    content: "";
    background-color: var(--myred);
    width: 50%;
    height: 1px;
    bottom: 0;
    right: 0;
}

.accordion-section .container .item:not(.title) {
    background-color: #f5f5f5;
    border-radius: .4rem;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: .5rem 2px .5rem rgba(0, 0, 0, .1);
    scroll-margin-top: 1rem;
}


.accordion-section .container .item .question {
    font-size: 1.6rem;
    color: rgba(0, 0, 0, .8);
    text-decoration: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.accordion-section .container .item .question span {
    position: absolute;
    color: #999999;
    font-size: 12px;
    bottom: 5px;
}

.accordion-section .container .item .question i {
    color: rgba(0, 0, 0, .8);
    padding: .5rem;
}

.accordion-section .container .item .question .ion-md-remove {
    display: none;
}

.accordion-section .container .item .answer {
    max-height: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 650ms;
}

.accordion-section .container .item .answer:before {
    content: "";
    position: absolute;
    width: .3rem;
    height: calc(100% - 40px);
    background-color: var(--myred);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.accordion-section .container .item .answer p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, .6);
    padding: 2rem;
    line-height: 22px;
}

.accordion-section .container .item .answer p a i {
    color: white;
    border-radius: 3px;
    padding: 1px 5px 0px 7px;
    background-color: red;
    margin-right: 5px;
}

.accordion-section .container .item:target .answer {
    max-height: fit-content;
}

.accordion-section .container .item:target .question .ion-md-add {
    display: none;
}

.accordion-section .container .item:target .question .ion-md-remove {
    display: block;
}

@media only screen and (max-width: 768px) {
    .darksection .container {
        width: 70%;
    }
}


/* contact */

.contact-darksection {
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
}

.contact-darksection .container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: block;
    margin-left: 5%;
}

.contact-darksection .container h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-darksection .container .item {
    margin: 5px 0;
}

.contact-darksection .container .item .fas {
    font-size: 1.4375rem;
    background: #1a1a1a;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}

.contact-darksection .container .item .fas:hover {
    background: var(--myred);
}

.contact-darksection .container .item .text {
    font-size: 1.0625rem;
    font-weight: 500;
    padding-left: 10px;
}

.contact-section {
    display: grid;
    align-items: center;
    padding: 2rem;
}

.contact-section .contact-in {
    width: 100%;
    height: auto;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px #666;
}

.contact-section .contact-map {
    width: 100%;
    height: auto;
    flex: 50%;
}

.contact-section .contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact-section .contact-form {
    width: 100%;
    height: auto;
    flex: 50%;
    padding: 30px;
    text-align: center;
}

.contact-section .contact-form h1 {
    margin-bottom: 10px;
    color: #000;
}

.contact-section .contact-form label {
    color: #000;
    display: block;
    text-align: left;
    margin: 0.2em;
}

.contact-section .contact-form label a {
    color: var(--myred);
    text-decoration: none;
}

.contact-section .contact-form input[type=checkbox]+label {
    display: block;
    font-size: 12px;
    text-align: left;
    margin: 0.2em;
    margin-left: 2rem;
    cursor: pointer;
    padding: 0.2em;
}

.contact-section .contact-form input[type=checkbox] {
    display: none;
}

.contact-section .contact-form input[type=checkbox]+label:before {
    content: "\2714";
    border: 0.1em solid #000;
    border-radius: 0.2em;
    display: inline-block;
    width: 1em;
    height: 1em;
    padding-left: 0.2em;
    padding-bottom: 0.3em;
    margin-right: 0.2em;
    vertical-align: bottom;
    color: transparent;
    transition: 0.3s;
}

.contact-section .contact-form input[type=checkbox]+label:active:before {
    transform: scale(0);
}

.contact-section .contact-form input[type=checkbox]+label:before {
    border-color: #bcbcbc;
}

.contact-section .contact-form input[type=checkbox]:checked+label:before {
    background-color: MediumSeaGreen;
    border-color: MediumSeaGreen;
    color: #fff;
}

.contact-section .contact-form #c-anliegen-sonstiges+label {
    margin-bottom: 1rem;
}

.contact-section .contact-form #c-anliegen-sonstiges:checked~.contact-form-textarea {
    display: block;
}

.contact-section .contact-form .contact-form-txt {
    width: 100%;
    height: 40px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 50px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
}

.contact-section .contact-form .contact-form-textarea {
    display: none;
    width: 100%;
    height: 130px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 10px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
}

.contact-section .contact-form .contact-form-btn {
    width: 100%;
    border: none;
    outline: none;
    background: var(--myred);
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 100vmax;
    transition: 0.3s;
}

.contact-section .contact-form .contact-form-btn:hover {
    background: #000;
}

#impressum {
    margin: 20px 0;
    padding: 40px;
    background-color: #111;
}

#impressum h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

#impressum h3 {
    margin: 40px 0 10px 20px;
    font-family: Arial, Helvetica, sans-serif;
}

#impressum p {
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 20px;
    margin: 14px 0;
}

#security {
    margin: 20px 0;
    padding: 40px;
}

#security h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

#security h3 {
    color: #000;
    margin: 40px 0 10px 40px;
    font-family: Arial, Helvetica, sans-serif;
}

#security h5 {
    color: #000;
    margin: 30px 0 10px 20px;
    font-family: Arial, Helvetica, sans-serif;
}

#security h6 {
    color: #000;
    margin: 20px 0 10px 0;
    font-family: Arial, Helvetica, sans-serif;
}

#security p {
    color: #000;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 20px;
    margin: 14px 0;
}

#security a {
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

.underline {
    color: var(--myred);
    text-decoration: none;
    position: relative;
}

.underline:after {
    content: '';
    height: 2px;
    width: 100%;
    background-color: var(--myred);
    left: 0;
    bottom: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease-in;
}

.underline:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}


/* informatik */

.voting {
    background: #eee;
    padding: 40px;
}

.voting .scale {
    display: flex;
    margin-bottom: 30px;
    width: 90%;
    margin-left: 10%;
}

.voting .scale p {
    color: #000;
    flex: 100%;
    font-size: 12px;
    text-align: center;
}

.voting .scale p:first-child {
    text-align: left;
}

.voting .scale p:last-child {
    text-align: right;
}

.voting form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.voting label {
    color: #000;
    width: 100%;
}

.voting input[type=range] {
    width: 90%;
    margin-bottom: 10px;
    margin-left: 10%;
}

.voting input[type=submit] {
    width: 120px;
    background-color: var(--myred);
    padding: 10px 30px;
    border-radius: 8px;
    outline: none;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.voting input[type=submit]:hover {
    transform: scale(1.1);
}

.projects-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.projects-gallery a {
    position: relative;
    background-color: #ccc;
    width: 300px;
    height: 300px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.2);
}

.projects-gallery a:hover {
    cursor: pointer;
    transform: scale(1.05);
    transition: ease-in-out 0.3s;
}

.projects-gallery a img {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translate(0, -50%);
}

.projects-gallery a .title {
    position: absolute;
    top: 0;
    background-color: #ccc;
    width: 100%;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.projects-gallery a .author {
    position: absolute;
    bottom: 0;
    background-color: #ccc;
    width: 100%;
    text-align: center;
    border-radius: 0 0 12px 12px;
}


/* material */

.directory-list {
    margin: 0 30px;
    line-height: 40px;
}

.directory-list ul {
    margin-left: 10px;
    padding-left: 20px;
    border-left: 1px dashed #ddd;
}

.directory-list li {
    list-style: none;
    color: #888;
    font-size: 17px;
    font-style: italic;
    font-weight: normal;
}

.directory-list a {
    border-bottom: 1px solid transparent;
    color: #888;
    text-decoration: none;
    transition: all 0.2s ease;
}

.directory-list a:hover {
    border-color: #eee;
    color: var(--myred);
}

.directory-list .folder,
.directory-list .folder>a {
    color: #777;
    font-weight: bold;
}

.directory-list li:before {
    margin-right: 10px;
    content: "";
    height: 20px;
    vertical-align: middle;
    width: 20px;
    background-repeat: no-repeat;
    display: inline-block;
    /* file icon by default */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='lightgrey' d='M85.714,42.857V87.5c0,1.487-0.521,2.752-1.562,3.794c-1.042,1.041-2.308,1.562-3.795,1.562H19.643 c-1.488,0-2.753-0.521-3.794-1.562c-1.042-1.042-1.562-2.307-1.562-3.794v-75c0-1.487,0.521-2.752,1.562-3.794 c1.041-1.041,2.306-1.562,3.794-1.562H50V37.5c0,1.488,0.521,2.753,1.562,3.795s2.307,1.562,3.795,1.562H85.714z M85.546,35.714 H57.143V7.311c3.05,0.558,5.505,1.767,7.366,3.627l17.41,17.411C83.78,30.209,84.989,32.665,85.546,35.714z' /></svg>");
    background-position: center 2px;
    background-size: 60% auto;
}

.directory-list li.folder:before {
    /* folder icon if folder class is specified */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='lightblue' d='M96.429,37.5v39.286c0,3.423-1.228,6.361-3.684,8.817c-2.455,2.455-5.395,3.683-8.816,3.683H16.071 c-3.423,0-6.362-1.228-8.817-3.683c-2.456-2.456-3.683-5.395-3.683-8.817V23.214c0-3.422,1.228-6.362,3.683-8.817 c2.455-2.456,5.394-3.683,8.817-3.683h17.857c3.422,0,6.362,1.228,8.817,3.683c2.455,2.455,3.683,5.395,3.683,8.817V25h37.5 c3.422,0,6.361,1.228,8.816,3.683C95.201,31.138,96.429,34.078,96.429,37.5z' /></svg>");
    background-position: center top;
    background-size: 75% auto;
}


/* visitors */

.visitors {
    display: none;
}


/* exams */

#exams-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #eee;
}

#exams-container .searchbar-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    background-color: rgba(238, 238, 238, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
}

#exams-container #exams-searchbar {
    width: 60%;
    max-width: 400px;
    float: center;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #ccc;
    color: #111;
    margin: 20px 0;
}

.exams-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin: 40px 0;
}

.exams-gallery .exams-item {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.2);
    /* overflow: hidden; */
    display: block;
    transform: scale(1);
    transition: ease-in-out 0.3s;
    text-decoration: none;
}

.exams-gallery .exams-item::after {
    position: absolute;
    content: "";
    background-image: linear-gradient(to top, #000000cc, transparent);
    height: 100%;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 5;
    transition: 300ms;
    border-radius: 12px;
}

.exams-gallery .exams-item img {
    position: absolute;
    width: 100%;
    height: 100%;
}

.exams-gallery .exams-item .title {
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 10;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 300ms;
}

.exams-gallery .exams-item .title .topic {
    color: white;
    font-size: 22px;
}

.exams-gallery .exams-item .title .subject {
    color: white;
    font-size: 13px;
}

.exams-gallery .exams-item .time {
    position: absolute;
    bottom: -10px;
    right: 20px;
    color: white;
    background-color: var(--myred);
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
}

.exams-gallery .exams-item:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.exams-gallery .exams-item:hover .title {
    transform: translateY(-200px);
}

.exams-gallery .exams-item:hover::after {
    background-image: linear-gradient(to bottom, #000000cc, transparent);
}


/* exam */

.exam-container {
    background-color: #eee;
}

.exam-container .exam-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--myred);
    padding: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.exam-container .exam-title img {
    width: 80px;
}

.exam-container .timer {
    --width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50px;
    width: var(--width);
    background: lime;
    z-index: 10;
}

.exam-container .timer p {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50px;
    width: 100%;
    letter-spacing: 5px;
    font-weight: bold;
    font-size: 20px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 255, 0, 0.4);
}

.exam-container .exam {
    width: 90%;
    max-width: 800px;
    background-color: white;
    border: 1px solid #bbb;
    margin: 10px auto;
    border-radius: 12px;
    padding: 40px 20px;
}

.exam-container .exam form {
    display: flex;
}

.exam-container .exam form * {
    color: #111;
}

.exam-container .exam form input[type=submit] {
    font-size: 1.3rem;
    padding: 0.5em 1em;
    max-width: 200px;
    margin-top: 40px;
    background-color: var(--myred);
    border-radius: 2px;
    color: var(--mywhite);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.exam-container .exam form input[type=submit]:hover {
    background-color: var(--mywhite);
    color: var(--myred);
    border: 2px solid var(--myred);
}

.exam-container .exam form input[type=text] {
    padding: 7px;
    border-radius: 5px;
    border: 1px solid #ccc;
    height: 40px;
}

.exam-container .exam .login {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.exam-container .exam .test {
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.exam-container .exam .test .test_ex {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    /* border: 1px solid red; */
}

.exam-container .exam .test .test_ex::after {
    content: '';
    width: 80%;
    height: 1px;
    background-color: #ccc;
    position: absolute;
    bottom: -20px;
    left: 10%;
}

.exam-container .exam .test .test_ex .test_q .id {
    font-size: 24px;
    margin: 10px;
    background: #ccc;
    padding: 5px 8px 2px 8px;
    border-radius: 50%;
}

.exam-container .exam .test .test_ex .test_a {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 5px 50px 5px 50px;
    gap: 10px;
    /* justify-content: space-evenly; */
    /* flex-wrap: wrap; */
    /* gap: 10px; */
    /* background: green; */
}

.exam-container .exam .test .test_ex .test_a .test_a_option {
    display: flex;
    gap: 10px;
    /* background-color: #ccc; */
    /* border: 2px solid blue; */
}

.exam-container .exam .test .test_ex code {
    background: #ccc;
    display: block;
    margin: 5px 80px 5px 80px;
    padding: 10px;
    border-radius: 10px;
    font-family: monospace;
}

.exam-container .exam .result {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    background-image: url("../img/results-bg.jpg");
    background-size: cover;
    border-radius: 12px;
    margin: -40px -20px -40px -20px;
}

.exam-container .exam .result button {
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.exam-container .exam .result button:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.exam-container .exam .result button:active {
    color: #000
}

.exam-container .exam .result button:active:after {
    background: transparent;
}

.exam-container .exam .result button:hover:before {
    opacity: 1;
}

.exam-container .exam .result button:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}


/* admin */

.admin-container {
    background-color: #eee;
}

.admin-container .admin-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--myred);
    padding: 40px;
}

.admin-container .admin-page {
    width: 90%;
    max-width: 800px;
    background-color: white;
    border: 1px solid #bbb;
    margin: 10px auto;
    border-radius: 12px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-container .admin-page .login {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.admin-container .admin-page form * {
    color: #111;
}

.admin-container .admin-page .login input[type=submit] {
    font-size: 1.3rem;
    padding: 0.5em 1em;
    max-width: 200px;
    margin-top: 40px;
    background-color: var(--myred);
    border-radius: 2px;
    color: var(--mywhite);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.admin-container .admin-page .login input[type=submit]:hover {
    background-color: var(--mywhite);
    color: var(--myred);
    border: 2px solid var(--myred);
}

.admin-container .admin-page .login input[type=text],
.admin-container .admin-page .login input[type=password] {
    padding: 7px;
    border-radius: 5px;
    border: 1px solid #ccc;
    height: 40px;
}

.admin-container .admin-page .actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.admin-container .admin-page .actions a {
    text-decoration: none;
}

.admin-container .admin-page .actions a span {
    font-size: 1.4375rem;
    background: #1a1a1a;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}

.admin-container .admin-page .actions a span:hover {
    background: var(--myred);
}

.admin-container .admin-page .actions form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-direction: column;
    background-color: #eee;
    border-radius: 5px;
    padding: 20px;
    display: none;
}

.admin-container .admin-page .actions form.open {
    display: flex;
}

.admin-container .admin-page .actions form *:not(p,
input[type=submit]) {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #ccc;
    color: #111;
}

.admin-container .admin-page .actions form *:nth-child(2n+1) {
    margin-top: 10px;
}

.admin-container .admin-page .actions form input[type=submit] {
    font-size: 1.3rem;
    padding: 0.5em 1em;
    margin-top: 20px;
    background-color: var(--myred);
    border-radius: 2px;
    color: var(--mywhite);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.admin-container .admin-page .actions form input[type=submit]:hover {
    background-color: var(--mywhite);
    color: var(--myred);
    border: 2px solid var(--myred);
}

.admin-container .admin-page .dashboard,
.admin-container .admin-page .dashboard * {
    color: #111;
}

.admin-container .admin-page .dashboard .searchbar-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-container .admin-page .dashboard .searchbar-container .searchbar {
    width: 150px;
    float: center;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #ccc;
    color: #111;
}

.admin-container .admin-page .dashboard .table-exams {
    background: #eee;
    width: 100%;
}

.admin-container .admin-page .dashboard .table-exams tr:nth-child(odd) {
    background: #ddd;
}

.admin-container .admin-page .dashboard .table-exams tr:first-child {
    background: #666;
}

.admin-container .admin-page .dashboard .table-exams tr:not(:first-child):hover {
    background: #ccc;
}

.admin-container .admin-page .dashboard .table-exams tr:first-child td {
    color: #eee;
}

.admin-container .admin-page .dashboard .table-exams td {
    padding: 2px;
    font-size: 10px;
}

.admin-container .admin-page .dashboard .table-exams td a {
    text-decoration: none;
}

.admin-container .admin-page .dashboard .table-exams td a span {
    width: 100%;
    height: 100%;
    text-align: center;
}

.admin-container .admin-page .dashboard .table-exams td a span.fa-arrow-down {
    color: green;
}

.admin-container .admin-page .dashboard .table-exams td a span.fa-ban {
    color: red;
}


/* files: notion, pdf, powerpoint, markdown, java, html, css */

.file-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 40px;
    color: black;
    align-items: center;
}

.file-container a {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    padding: 5px;
    border-radius: 8px;
    /* box-shadow: 0 0 10px 1px #aaa; */
}

.file-container a:hover {
    box-shadow: 0 0 10px 1px var(--myred);
    background-color: var(--myred);
    cursor: pointer;
}

.file-container img {
    height: 30px;
}

.file-container::before {
    position: absolute;
    content: "";
    width: 8px;
    aspect-ratio: 1;
    background: var(--myred);
    left: -30px;
    top: 15px;
    border-radius: 50%;
}

.file {
    background-color: white;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: left;
    transition: all .3s;
    padding: 5px 20px 5px 5px;
    border-radius: 8px;
    box-shadow: 0 0 10px 1px #aaa;
}

.file:hover {
    box-shadow: 0 0 10px 1px var(--myred);
    background-color: var(--myred);
    cursor: pointer;
}

.file img {
    height: 40px;
}

.file a {
    color: black;
    text-decoration: none;
}

.file:hover a {
    color: #fff;
} 

.notion-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 40px;
}

.notion {
    background-color: white;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: left;
    transition: all .3s;
    padding: 5px 20px 5px 5px;
    border-radius: 8px;
    box-shadow: 0 0 10px 1px #aaa;
}

.notion:hover {
    box-shadow: 0 0 10px 1px var(--myred);
    cursor: pointer;
}

.notion img {
    width: 40px;
}

.notion a {
    color: black;
    text-decoration: none;
}

/* services */

.services {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.card {
    width: min(100%, 300px);
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 5px 5px 20px 1px #ccc;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card * {
    color: #aaa;
}

.card h1 {
    color: #000;
}

.card p,
.card .checklist {
    font-size: small;
}

.card .price {
    color: #000;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.card .price span {
    font-size: small;
    font-weight: normal;
    color: var(--mygray);
    margin-left: 20px;
}

.card a {
    color: white;
    background-color: var(--myred);
    border-radius: 100vmax;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}

.card a:hover {
    background-color: var(--myred-dark);
}

.card .checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card .checklist .checklist-item {
    position: relative;
    margin-left: 20px;
}

.card .checklist .checklist-item::before {
    position: absolute;
    content: "\2713";
    color: var(--myred);
    width: 10px;
    height: 10px;
    left: -20px;
    top: -3px;
}

.references {
    background-color: #d7d7d7;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.references h1 {
    color: #fff;
}

.references h1 span {
    color: var(--myred);
}

.references-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 80px;
}

.reference {
    display: flex;
    flex-direction: column;
    width: min(100%, 800px);
    gap: 20px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.reference::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 3px;
    background-color: var(--myred);
    top: 25px;
    left: 35%;
}

.reference img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 5px 5px 20px 1px #ccc;
    transition: 300ms;
}

.reference img:hover {
    scale: 1.02;
    box-shadow: 5px 5px 10px 10px #ccc;
}

/* banners */

.banners {
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
    flex-wrap: wrap;
}

.banners-1 .banner:nth-child(n) {
    display: block;
}

.banners-2 .banner:nth-child(n),
.banners-3 .banner:nth-child(n),
.banners-4 .banner:nth-child(n) {
    display: none;
}

@media screen and (max-width: 1265px) {
    .banners-1 .banner:nth-child(4) {
        display: none;
    }

    .banners-2 .banner:nth-child(4) {
        display: block;
    }
}

@media screen and (max-width: 945px) {
    .banners-1 .banner:nth-child(3),
    .banners-1 .banner:nth-child(4) {
        display: none;
    }

    .banners-2 .banner:nth-child(3),
    .banners-2 .banner:nth-child(4) {
        display: block;
    }
}

@media screen and (max-width: 625px) {
    .banners-1 .banner:nth-child(2),
    .banners-1 .banner:nth-child(3),
    .banners-1 .banner:nth-child(4) {
        display: none;
    }

    .banners-2 .banner:nth-child(3),
    .banners-2 .banner:nth-child(4) {
        display: none;
    }

    .banners-2 .banner:nth-child(2) {
        display: block;
    }

    .banners-3 .banner:nth-child(3) {
        display: block;
    }

    .banners-4 .banner:nth-child(4) {
        display: block;
    }
}