@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
/*===========[BASE]===========*/
*{
    font-family: 'Poppins', 'sans-serif';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*===========[ALAP KINÉZET]===========*/
:root{
    --body-color: #006c97;
    --sidebar-color: #285565;
    --primary-color: #252525;
    --primary-color-light: #252525;
    --toggle-color: #333333;
    --text-color: #ffffff;
    --keres-color: #252525;

    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.4s ease;
    --tran-05: all 0.5s ease;

    --icon-color: #000000;
    --icon-color-revise: #FFF;
}
/*===========[SÖTÉT KINÉZET]===========*/
body.dark{
    --body-color: #003140;
    --sidebar-color: #000000;
    --primary-color: #ffffff;
    --primary-color-light: #333333;
    --toggle-color: #ffffff;
    --text-color: #ffffff;
    --keres-color: #333333;
    --icon-color: #FFF;
    --icon-color-revise:#000;
}
/*===========[SIDEBAR]===========*/
.sidebar .text{
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--tran-05);
    white-space: nowrap;
    opacity: 1;
    z-index: 10;
}
.sidebar.close .text{
    opacity: 0;
    transition: var(--tran-02);
}
.sidebar .image{
    min-width: 60px;
    display: flex;
    align-items: center;
}
.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    padding: 10px 14px;
    background: var(--sidebar-color);
    transition: var(--tran-05);
    overflow: hidden;
}
.sidebar.close{
    width: 88px;
    overflow: hidden;
}
.sidebar li{
    height: 50px;
    margin-top: 10px;
    list-style: none;
    display: flex;
    align-items: center;
    transition: var(--tran-04);
}
.sidebar li .icon{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    font-size: 20px;
}
.sidebar li .icon,
.sidebar li .text{
    color: var(--text-color);
}
.sidebar header{
    position: relative;
}
.sidebar .image-text img{
    width: 60px;
    border-radius: 6px;
}
.sidebar header .image-text{
    display: flex;
    align-items: center;
}
header .image-text .header-text{
    display: flex;
    flex-direction: column;
}
.header-text .name{
    margin-left: 10px;
    font-size: 27px;
}
.header-text .profession{
    margin-top: -2px;
}
.sidebar header .toggle{
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%) rotate(180deg);
    height: 50px;
    width: 60px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20%;
    color: var(--icon-color-revise);
    font-size: 21px;
    transition: var(--tran-04);
    cursor: pointer;
    z-index: 12;
}
.sidebar.close header .toggle{
    transform: translateY(-50%);
}
.sidebar .search-box{
    background-color: var(--primary-color);
    border-radius: 10px;
}
.sidebar li .iconse{
    color: var(--icon-color-revise);
}
.search-box input{
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    border-radius: 10px;
    background: var(--keres-color);
    color: #FFF;
    background-color: transparent;
}
body.dark .search-box input{
    background: none;
    color: #000;
}
.sidebar li a{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
}
.sidebar li a:hover{
    background: var(--icon-color);
}
body.dark .sidebar .search-box li a:hover{
    background: var(--primary-color);
}
.sidebar li a:hover .icon,
.sidebar li a:hover .text{
    color: var(--icon-color-revise);
}
.sidebar li .iconse{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    font-size: 20px;
}
.sidebar .menu-bar{
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-bar .mode{
    position: relative;
    border-radius: 6px;
    background: var(--primary-color-light);
}
.menu-bar .mode .moon-sun{
    height: 50px;
    width: 60px;
    display: flex;
    align-items: center;
}
.menu-bar .mode i{
    position: absolute;
}
.menu-bar .mode i.sun{
    opacity: 0;
}
body.dark .menu-bar .mode i.sun{
    opacity: 1;
}
body.dark .menu-bar .mode i.moon{
    opacity: 0;
}
.menu-bar .mode .toggle-switch{
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 60px;
    cursor: pointer;
    z-index: 12;
}
.toggle-switch .switch{
    position: relative;
    height: 22px;
    width: 44px;
    border-radius: 25px;
    background: var(--toggle-color);
}
.switch::before{
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background: var(--sidebar-color);
    transition: var(--tran-03);
}
body.dark .switch::before{
    left: 20px;
}
.menu-bar .menu .menu-links .nav-- {
    position: relative;
    height: 5px;
}
.menu-bar .menu .menu-links .nav-- i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 3px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
    margin-left: 10px;
}
.sidebar.close .menu-bar .menu .menu-links .nav-- i {
    width: 40px;
}
.menu-bar .bottom-content .nav-- {
    position: relative;
    height: 5px;
}
.menu-bar .bottom-content .nav-- i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 3px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
    margin-left: 10px;
}
.sidebar.close .menu-bar .bottom-content .nav-- i {
    width: 40px;
}
.sidebar.close ~ .header1 {
    position: fixed;
    display: grid;
    grid-template-columns: 50% 50%;
    top: 30px;
    width: calc(100% - 88px);
    margin-left: 88px;
    z-index: 10;
    transition: 0.5s;
}
.sidebar ~ .header1 {
    width: calc(100% - 250px);
    margin-left: 250px;
    position: fixed;
    display: grid;
    grid-template-columns: 50% 50%;
    top: 30px;
    z-index: 10;
    transition: 0.5s;
}
.header1 .logo-img img{
    position: relative;
    width: 100px;
    border-radius: 5px;
    display: flex;
    margin-left: 10px;
}
.header1 .profile-box{
    position: relative;
}
.header1 .profile {
    position: relative;
    height: 50px;
    min-width: 176px;
    border-radius: 40px;
    background-color: #285565;
    float: right;
    margin-right: 25px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}
body.dark .header1 .profile {
    background-color: #000000;
    transition: 0.5s;
}
.header1 .profile a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.header1 .profile h3 {
    color: #FFF;
    margin-top: 10px;
    margin-left: 23px;
}
.header1 .profile.bb {
    border-radius: 27px;
    height: 215px;
    transition: 0.5s;
}
.header1 .profile .cont{
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    transition: 0.5s;
}
.header1 .profile .cont.gg {
    display: none;
    transition: 0.5s;
}
.header1 .profile .img {
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #FFF;
    margin-left: 6px;
    overflow: hidden;
}
.header1 .profile .img img{
    position: relative;
    height: 40px;
    width: 40px;
}
.header1 .profile .profil-name {
    position: relative;
    color: #FFF;
    display: flex;
    padding-right: 10px;
    padding-left: 10px;
}
.header1 .profile .profil-name .icon {
    margin-top: 2px;
    padding-left: 7px;
    padding-right: 5px;
    font-size: 20px;
    cursor: pointer;
}
.profile-box .profile .menu {
    display: none;
    transition: 0.5s;
}
.profile-box .profile .menu.aa {
    display: flex;
    position: relative;
    padding: 10px;
    color: #FFF;
    transition: 0.5s;
}
.profile-box .profile.bb .menu ul {
    list-style: none;
    height: 0px;
    width: 100%;
    transition: 3s;
}
.profile-box .profile.bb .menu.aa ul {
    height: auto;
    transition: 3s;
}
.profile-box .profile .menu ul li {
    margin-bottom: 5px;
}
.profile-box .profile .menu ul li a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.profile-box .profile.bb .menu.aa ul li a:hover {
    border: 2px solid #FFF;
    border-radius: 10px;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 3px;
    padding-bottom: 3px;
}
.profile-box .profile .menu ul .nav-- {
    position: relative;
    height: 5px;
}
.profile-box .profile .menu ul .nav-- i {
    position: absolute;
    left: 0;
    bottom: 7px;
    width: 156px;
    height: 3px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}
.profile-box .profile .menu .icon {
    font-size: 20px;
    padding-right: 5px;
    margin-top: 3px;
}
.profile-box .profile .menu span {
    position: relative;
    font-size: 17px;
}
.header1 .profile .alert,
.header1 .profile .alert2 {
    display: none;
    transition: 0.5s;
}
.header1 .profile.cc {
    border-radius: 27px;
    border: 2px solid #ffee00;
    width: 280px;
    transition: 0.5s;
    height: 50px;
    overflow: hidden;
}
.header1 .profile .alert.dd,
.header1 .profile .alert2.dd{
    position: relative;
    display: flex;
    height: 50px;
    justify-content: center;
    text-align: center;
    padding: 8px;
    padding-bottom: 10px;
    transition: 0.5s;
    overflow: hidden;
}
.header1 .profile .alert.dd .icon,
.header1 .profile .alert2.dd .icon {
    position: relative;
    font-size: 22px;
    margin-top: 2px;
    margin-right: 3px;
}
.header1 .profile .alert.dd h3,
.header1 .profile .alert2.dd h3 {
    position: relative;
    color: #FFF;
    margin: 3px;
    margin-top: 0;
    margin-left: 0;
    font-size: 20px;
}









/* Login.html */
.loginbox
{
    position: relative;
    width: auto;
    height: 300px;
    background: rgb(255, 255, 255);
    border-radius: 8px;
}
.loginbox form
{
    position: absolute;
    inset: 4px;
    background: #222;
    padding: 5px 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    
}
.loginbox form h2
{
    position: relative;
    color: white;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
}
.loginbox form .logininputBox
{
    position: relative;
    width: 300px;
    margin-top: 35px;
}
.loginbox form .logininputBox input
{
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    outline: none;
    border: none;
    box-shadow: none;
    color: #222;
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    z-index: 10;
}

.loginbox form .logininputBox span
{
    position: absolute;
    left: 0;
    padding: 20px 0px 10px;
    pointer-events: none;
    color: rgb(88, 88, 88);
    font-size: 1em;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
.loginbox form .logininputBox input:valid ~ span,
.loginbox form .logininputBox input:focus ~ span
{
    color: white;
    font-size: 0.75em;
    transform: translateY(-34px);
}
.loginbox form .logininputBox i
{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}
.loginbox form .logininputBox input:valid ~ i,
.loginbox form .logininputBox input:focus ~ i
{
    height: 44px;
}
.loginbox form input[type="submit"]
{
    border: none;
    outline: none;
    padding: 9px 25px;
    background: white;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 4px;
    font-weight: 600;
    width: 100px;
    margin-top: 10px;
}
.loginbox form input[type="submit"]:active
{
    opacity: 0.8;
}
.codebox
{
    position: relative;
    width: auto;
    height: 250px;
    background: rgb(255, 255, 255);
    border-radius: 8px;
}
.codebox form
{
    position: absolute;
    inset: 4px;
    background: #222;
    border-radius: 8px;
    flex-direction: column;
}
.codebox form span
{
    color: #ffffff;
}
.loginbox form textarea 
{
    margin-top: 15px;
    resize: none;
    border-radius: 8px;
    background: #111111;
    color: #fff;
    height: 150px;
}
.indexbox .indexbox-h2-but input[type="submit"] {
    position: absolute;
    border: none;
    outline: none;
    padding: 9px 25px;
    background: white;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 4px;
    font-weight: 600;
    width: 100px;
    margin-top: 10px;
    right: 50px;
    top: 35px;
}



/*===================================================================*/
/*===== Settings =====*/
.home-sett {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 250px;
    width: calc(100% - 250px);
    transition: var(--tran-05);
}
.sidebar.close ~ .home-sett{
    left: 88px;
    width: calc(100% - 88px);
}
.settings {
    position: relative;
    display: block;
    margin-top: 10%;
    width: 1000px;
    height: 600px;
}
.settings h2 {
    position: relative;
    color: #FFF;
    font-size: 32px;
    margin-left: 25px;
    margin-bottom: 10px;
}
.profile-img-sett {
    background: #003444;
    height: 70px;
    width: 1000px;
    border-radius: 30px;
    margin-bottom: 10px;
    transition: 0.3s;
    overflow: hidden;
}
.profile-img-sett.open {
    height: 300px;
    width: 1000px;
    border-radius: 30px;
    transition: 0.3s;
}
.profile-img-sett .header {
    background: #285565;
    border-radius: 30px;
    position: relative;
    display: grid;
    grid-template-columns: 90% 10%;
    height: 70px;
}
.profile-img-sett .header h2 {
    position: relative;
    color: #FFF;
    font-size: 25px;
    margin-top: 15px;
}
.profile-img-sett .header .icon {
    position: relative;
    color: #FFF;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.profile-img-sett .sett {
    display: none;
    position: relative;
    height: 230px;
    width: 100%;
}
.profile-img-sett .sett .help{
    position: relative;
    color: #FFF;
    padding-top: 30px;
    right: 0;
    left: 180px;
    width: 300px;
}
.profile-img-sett .sett .profile-img{
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    height: 150px;
    width: 150px;
    margin-left: 20px;
    margin-top: 30px;
    overflow: hidden;
}
.profile-img-sett .sett .profile-img img {
    height: 150px;
    width: 150px;
}
.profile-img-sett .sett .set-img {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-left: 20px;
    width: 200px;
}
.profile-img-sett .sett .set-img h3 {
    color: #FFF;
    margin-bottom: 30px;
}
.profile-img-sett .sett .set-img .mehanic {
    position: relative;
    height: 44px;
}
.profile-img-sett .sett .set-img .mehanic .fileLabel {
    position: relative;
    margin-left: -280px;
    width: 200px;
    color: rgb(0, 0, 0);
    z-index: 100;
    transition: 0.5s;
}
.profile-img-sett .sett .set-img .mehanic .is
{
    position: absolute;
    left: 0;
    margin-top: 40px;
    bottom: 0;
    width: 200px;
    height: 2px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}
.profile-img-sett .sett .set-img .mehanic .is-active
{
    height: 44px;
}
.profile-img-sett .sett .set-img .mehanic .custom-file-upload {
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
    color: white;
    border: none;
    font-size: 16px;
    width: 300px;
    font-size: 1em;
    margin-left: -13px;
    transition: 0.5s;
}
.profile-img-sett .sett .set-img .mehanic .custom-file-upload-active {
    color: white;
    font-size: 0.75em;
    transform: translateY(-34px);
    margin-top: 3px;
    margin-bottom: 3px;
}
.profile-img-sett .sett .set-img button {
    color: #FFF;
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    position: absolute;
    margin-top: 25px;
}






.profile-name-sett {
    background: #003444;
    height: 70px;
    width: 1000px;
    border-radius: 30px;
    margin-bottom: 10px;
}
.profile-name-sett .header {
    background: #285565;
    border-radius: 30px;
    position: relative;
    display: grid;
    grid-template-columns: 90% 10%;
    height: 70px;
}
.profile-name-sett .header h2 {
    position: relative;
    color: #FFF;
    font-size: 25px;
    margin-top: 15px;
}
.profile-name-sett .header .icon {
    position: relative;
    color: #FFF;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}





.cursus {
    position: relative;
    width: 100%;
    height: 800px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    margin: 50px;
    margin-top: 100px;
    padding: 5px;
    overflow: auto;
}

.learnpage {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    margin: 10px;
    padding: 10px;
}

.learnpage .name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.code {
    margin-bottom: 5px;
}

.learnpage .name button {
    border: none;
    padding: 10px;
    background: #006c97;
    border-radius: 10px;
    cursor: pointer;
    color: white;
}

.red {
    background: rgba(255, 90, 90, 0.7);
}

@media (max-width: 815px){
    .sidebar.close{
        background: transparent;
        width: 0;
        z-index: 10;
    }
    .sidebar {
        z-index: 10;
    }
    .sidebar.close header .toggle {
        display: none;
    }
    .sidebar.close .menu-bar{
        display: none;
    }
    .index-text{
        top: 25%;
        left: 15px;
    }
    .index-text small{
        font-size: 17px;
    }
    .index-text h1{
        font-size: 40px;
        height: 80%;
        width: 100%;
    }
    .active{
        width: 340px;
        height: 500px;
        position: fixed;
    }
    .active .button-swac{
        margin-left: 30%;
    }
    .active .button-swac button{
        margin-top: 10px;
    }
    .logo-img img{
        left: 40px;
        top: 10px;
    }
    .contacts-con .contacts{
        width: calc(250px - 30px);
        height: calc(250px - 30px);
    }
    .contacts-con .contacts .discord button {
        margin-left: 75%;
        margin-top: 120%;
    }
    .contacts-con .contacts .mail .butt {
        margin-left: 6%;
        margin-top: 115%;
    }
    .contacts-con .contacts .mail-active .copyd {
        width: 170px;
        margin-left: -45%;
        margin-top: 78%;
    }
    .porject-keres {
        display: none;
    }
    .all-project-box {
        top: 80px;
    }
    .project-box button {
        top: 73%;
        margin-left: 0;
        align-items: center;
    }
    .loginAbox {
        margin-right: 50px;
    }

    .indexbox {
        width: 370px; 
        padding: 10px;
        left: -30px;
    }
    .loginbox1 form .logininputBox i {
        width: 80%;
    }
    .codebox1 form textarea {
        width: 343px;
    }
    .home-contacts{
        left: 250px;
        width: calc(100% - 0px);
    }
    .loginbox2 {
        width: 250px;
        height: 300px;
    }
    .loginbox2 form {
        padding: 20px 20px;
    }
    .loginbox2 form .logininputBox i {
        width: 65%;
    }
    .indexbox .indexbox-h2-but input[type="submit"] {
        right: 20px;
        top: 10px;
        margin-top: 0px;
    }
    .header1 {
        position: fixed;
    }
    .header1 .profile-box .profile {
        width: 50px;
        min-width: 50px;
    }
    .header1 .profile-box .profile h3 {
        display: none;
    }
    .header1 .profile-box .profile .icon {
        color: #FFF;
        font-size: 30px;
        margin-top: 10px;
        margin-left: 7px;
    }
    .header1 .logo-img {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .header1 .logo-img img {
        height: 50px;
        margin-top: -10px;
        margin-left: 0;
        left: 0;
    }
    .sidebar.close ~ .home-index{
        left: 0px;
        width: 100%;
    }
    .sidebar.close ~ .header1 {
        display: grid;
        grid-template-columns: 33% 33% 33%;
        width: 100%;
        margin-left: 0;
    }
    .header1 .sidebar-butt {
        height: 50px;
        width: 50px;
        border-radius: 50%;
        background: #285565;
        margin-left: 25px;
    }
    .header1 .sidebar-butt .icon {
        color: #FFF;
        font-size: 30px;
        margin-top: 10px;
        margin-left: 12px;
    }
    .sidebar ~ .header1 {
        width: 100%;
        margin-left: 0;
        z-index: 1;
        transition: 0s;
    }
    .sidebar ~ .header1 .sidebar-butt,
    .sidebar ~ .header1 .logo-img img{
        display: none;
    }
    .sidebar.close ~ .header1 .sidebar-butt,
    .sidebar.close ~ .header1 .logo-img img {
        display: flex;
        transition: 0.5s;
    }
}