* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@font-face {
    font-family: notoSans;
    src: url(./assets/fonts/NotoSans.ttf);
}

html {
    height: 100vh;
    width: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    background: #111111;
    font-family: notoSans;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border: 5px solid #111111;
}

.topnav {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    background: #111111;
    overflow: hidden;
    border-bottom: 1px solid #cccccc4f;
    z-index: 2;
    color: #fff;
    user-select: none;
}

.topnav .content {
    display: flex;
    align-items: center;
    height: 100%;
    width: 69%;
    margin: auto;
}

.topnav .content a:nth-child(1) {
    color: #fff;
    text-decoration: none;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.topnav .content a:nth-child(1) img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 25%;
}

.topnav .content a:nth-child(1) h1 {
    font-size: 23px;
    transition: all .3s;
}

.topnav .content a:nth-child(2) {
    display: block;
    margin: 0 0 0 auto;
    font-size: 21px;
    color: #fff;
    text-decoration: none;
    transition: all .3s;
}

.topnav .content a:hover, .topnav .content h1:hover {
    opacity: 0.7;
    cursor: pointer;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #111111;
    border-top: 1px solid #cccccc4f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    user-select: none;
}

.about-btn {
    display: block;
    position: fixed;
    padding: 5px 25px;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 20px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    border: 2px solid #ccc;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s;
}

.about-btn:hover {
    color: #111111;
    background: #ccc;
}

.main-section, .about-section, .prizes-section, .projects-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
}

.about-section, .prizes-section, .projects-section {
    width: 70%;
    margin: auto;
}

.page-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 20px;
}

.page-content .element {
    display: block;
    padding: 0 20px;
}

.page-content .element pre {
    width: 300px;
    text-align: left;
    font-size: 20px;
}

.page-content .element pre .hljs {
    overflow: hidden;
    border-radius: 10px;
}

.page-content .element h1 {
    text-align: left;
    font-size: 80px;
    color: #fff;
    margin-bottom: 10px;
}

.page-content .element h1 span {
    color: rgb(19, 46, 201);
}

.page-content .element .docs {
    display: block;
    width: 290px;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 25px;
    text-decoration: none;
    transition: all .3s;
    font-weight: 500;
    border: 2px solid #ccc;
    background: transparent;
    margin-bottom: 20px;
}

.page-content .element .docs:hover {
    color: #111111;
    background: #ccc;
}

nav {
    position: sticky;
    margin: 0 auto;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(8px);
    user-select: none;
}

nav:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 1px;
    width: 500px;
    border-bottom: 2px solid #ccc;
  }

nav a {
    display: block;
    padding: 5px 15px;
    text-decoration: none;
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    transition: all .3s;
}

nav a:hover i {
    opacity: 0.7;
}

nav a i {
    font-size: 40px;
    opacity: 0.2;
    margin-right: -15px;
    transition: all .3s;
}

.about-section h2, .prizes-section h2, .projects-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-section h3 {
    font-size: 24px;
    width: 100%;
    text-align: left;
    margin-top: 10px;
}

.about-section h3 i {
    margin-left: 8px;
    font-size: 26px;
}

.about-section h3 i.fa-html5 {
    color: #e44d26;
}

.about-section h3 i.fa-css3-alt {
    color: #379bd6;
}

.about-section h3 i.fa-js {
    color: #f7e018;
}

.about-section h3 i.fa-php {
    color: #787cb4;
}

.about-section h3 i.fa-database {
    color: #db7533;
}

.about-section .jobs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
}

.about-section .jobs .job {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all .3s;
    border: 1px solid #ccc;
}

.about-section .jobs .job img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    transition: all .3s;
}

.about-section .jobs .job .details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    backdrop-filter: blur(7px);
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 1) 100%);
    padding: 6px;
    transition: all .3s;
    opacity: 0;
}

.about-section .jobs .job:hover .details {
    opacity: 1;
}

.about-section .jobs .job:hover img {
    transform: scale(1.1);
}

.about-section .jobs .job .details h4 {
    font-size: 14px;
    font-size: 600;
}

.about-section .jobs .job .details h4 a {
    text-decoration: none;
    color: #fff;
    font-size: 10px;
    margin-left: 3px;
}

.about-section .jobs .job .details p {
    font-size: 12px;
    font-weight: 300;
}

.about-section .jobs .job .details p.date {
    font-style: italic;
}

.prizes-section ul {
    list-style: none;
    font-size: 20px;
}

.prizes-section ul li {
    margin-bottom: 15px;
    text-align: center;
}

.prizes-section ul li i {
    margin-left: 5px;
}

.prizes-section ul li i.first-place {
    color: #ffd700;
}

.prizes-section ul li i.second-place {
    color: #d9d9d8;
}

.prizes-section ul li i.third-place {
    color: #b97a44;
}

.projects-section .project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.projects-section .project {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all .3s;
    border: 1px solid #ccc;
}

.projects-section .project:hover .text {
    opacity: 1;
}

.projects-section .project:hover img {
    transform: scale(1.2);
}

.projects-section .project img {
    display: block;
    width: 300px;
    height: 300px;
    object-fit: cover;
    transition: all .3s;
}

.projects-section .project .text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(8px);
    background: rgba(17, 17, 17, 0.6);
    padding: 15px;
    transition: all .3s;
    opacity: 0;
}

.projects-section .project h3 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 5px;
}

.projects-section .project p {
    font-size: 13px;
    text-align: justify;
}

.lang_selector {
    position: fixed;
    left: -62px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    z-index: 9999;
    user-select: none;
    transition: left .3s;
}

.lang_selector.active {
    left: 0;
}

.lang_selector .lang_button {
    display: flex;
    align-items: center;
    background: #ccc;
    padding: 10px 5px;
    border-radius: 0 10px 10px 0;
    margin-left: -2px;
    z-index: 5;
    cursor: pointer;
}

.lang_selector .lang_button span {
    writing-mode: vertical-rl;
    font-size: 12px;
    font-weight: 800;
}

.lang_selector .langs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #ccc;
    padding: 6px;
    border-radius: 0 5px 5px 0;
    z-index: 6;
}

.lang_selector .langs a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: all .3s;
    cursor: pointer;
}

.lang_selector .langs a:hover {
    background: #aaa;
}

.lang_selector .langs a:hover img {
    transform: scale(0.95);
}

.lang_selector .langs a img {
    width: 40px;
    height: 25px;
    object-fit: fill;
    transition: all .3s;
}

@media screen and (max-width: 900px) {
    .about-btn {
        display: none;
    }
    .page-content {
        flex-direction: column;
        bottom: 0;
    }
    .page-content .element h1 {
        font-size: 40px;
        text-align: center;
    }
    .topnav .content {
        width: 100%;
        padding: 0 5px;
    }
    .page-content .element {
        padding: 0;
    }
}