:root {
    --background-color: rgb(20, 20, 20);
    --text-color: rgb(200,200,200);
    --box-backround-color: rgb(60,60,60);
    --nav-hover-color: rgb(70,70,70);
    --nav-background-color: rgb(80,80,80);
    --link-visited-color: rgb(150,150,150);
    --link-hover-color: rgb(100,100,100);
    --lang-border-color: black;
    --dark-light: clamp(.5rem ,2vw + .3rem, 2rem);
    --normal-text: clamp(1rem, 1vw + .2rem, 1.2rem);
    --lang-text: clamp(1rem, 1vw + .2rem, 1.2rem);
    --title: clamp(4rem, 10vw + 1rem, 5rem);
    --small-title: clamp(2rem, 3vw + 1rem, 3rem);
    --profile-img: clamp(10rem, 17vw + 1rem, 15rem);
    --qr-img: clamp(7rem, 13vw + 1rem, 15rem);
    --social-img: clamp(1rem, 3vw + .5rem, 2rem);
    --text-1: clamp(2rem, 2vw + .2rem, 3rem);
    --text-2: clamp(1rem, 1vw + .5rem, 2rem);
    --text-3: clamp(1rem, .7vw + .2rem, 2rem);

    --footer: clamp(.5rem, .5vw + .5rem, 1rem);
}

.lightMode {
    --background-color: rgb(230, 230, 230);
    --text-color: rgb(50,50,50);
    --box-backround-color: rgb(160,160,160);
    --nav-hover-color: rgb(140,140,140);
    --nav-background-color: rgb(110,110,110);
    --lang-border-color: black;
}

* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    background: var(--background-color);
    color: var(--text-color);
    margin: 0 12vw 0 12vw;
    position: relative;
    transition: background .8s, color .8s;
}

/*----------------------------------CÍM----------------------------------*/
.head {
    position: absolute;
    right: -10%;
    text-align: right;
    margin-top: 20px;
    width: 5%;
}

.lang-menu {
    font-size: var(--lang-text);
    font-weight: bold;
    margin: 1vw;
}


.lang-menu .selected-lang {
    justify-content: space-between;
    line-height: 2;
    cursor: pointer;
}

.lang-menu ul {
    display: none;
    background-color: #fff;
    border: 1px solid #f8f8f8;
    position: absolute;
    top: 50px;
    right: 10px;
    width: 40px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.lang-menu ul li {
    list-style: none;
    text-align: center;
    justify-content: space-between;
}

.lang-menu ul li a {
    font-size: var(--lang-text);
    text-decoration: none;
    color: black;
    width: 40px;
    display: block;
}

.lang-menu ul li a:visited {
    font-size: var(--lang-text);
    text-decoration: none;
    font-weight: lighter;
    color: var(--nav-background-color);
    width: 40px;
    display: block;
}

.lang-menu ul li:hover {
    background-color: #c8c8c8;
}

.lang-menu:hover ul {
    display: block;
    z-index: 1;
}

.light_mode_toggle {
    background-color: transparent;
    border-style: none;
    position: absolute;
    top: 1vw;
    width: var(--dark-light);
    z-index: 1;
}

.light_mode_toggle:hover {
    cursor: pointer;
}

.light_mode_toggle img {
    width: 2vw;
}

#title {
    width: 100%;
    min-height: 100vh;
    position: relative;
    animation: title 5s;
}

.title_shadow {
    text-shadow: 1vw 1vw 1.5vw black;
    transition: text-shadow 1s;
}

#title div{
    width: 100%;
    position: absolute;
    top: 30%;
    bottom: 70%;
    text-align: center;
}

#title h1{
    margin: 2vw 0 1vw 0;
    font-size: var(--title)/*5vw;*/;
}

#title h2 {
    font-size: var(--small-title) /*4.5vw;*/
}

/*--------------------------------OLDAL--------------------------------*/

#content {
    width: 100%;
    display: flex;
}

#contact {
    display: block;
}

.item_1 {
    flex: 30%;
    margin-left: 2vw;
    padding: 4vw 4vw 2vw 4vw;
    background-color: var(--box-backround-color);
    border-radius: .5vw;
}

#profile_picture {
    width: var(--profile-img);
    border-radius: 10%;
}

.item_1 img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.item_1 h3 {
    font-size: var(--text-1)/*2.2vw*/;
    padding-top: 1vw;
    text-align: center;
}

.item_1 div h4 {
    font-size: var(--text-2)/*1.8vw*/;
    padding-top: 0.5vw;
    margin-top: 1vw;
}

.conatct_p {
    font-size: var(--normal-text)/*1.4vw*/;
    padding: .5vw 0 0 1.5vw;
    line-height: 3.7vh;
}

.item_1 ul{
    list-style: circle;
    padding: .5vw 0 0 1.5vw;
    font-size: var(--normal-text)/*1.3vw*/;
    line-height: 3.7vh;
}

.item_1 #dropdown_arrow {
    width: 10%;
    display: none;
}

.cv_download button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    border-radius: .3vw;
    margin: 1vw auto;
    display: block;
    position: center;
    align-items: center;
    text-align: center;
    font-size: var(--text-3);
    padding: .5vw 1vw;
    cursor: pointer;
}

.cv_download form button:hover {
    border-width: 3px;
    font-weight: bold;
}

.contact_qr p {
    margin: .2vw auto 1vw auto;
    text-align: center;
}

.contact_qr img {
    width: var(--qr-img);
    border-radius: 1vw;
}

.social_platform {
    display: flex;
    justify-content: center;
}

.social_platform img {
    width: var(--social-img);
    margin: .5vw;
}

/*-------------------------------TARTALOM-------------------------------*/

.item_2 {
    flex: 70%;
    margin: 0 2vw 0 2vw;
    padding: 0 1vw 0 1vw;
}

.item_2 nav {
    width:100%;
}

.item_2 nav ul {
    list-style: none;
    display: flex;
}

.item_2 nav li{
    background-color: var(--nav-background-color);
    padding: 1vw 1vw 0.5vw 1vw;
    font-size: var(--text-2)/*1.5vw*/;
    border-radius: 60% 60% 0 0;
    cursor: pointer;
}

.item_2 nav li:hover:not(.active){
    background-color: var(--nav-hover-color);
}

.item_2 .active{
    background-color: var(--box-backround-color);
}

.item_2 nav li:first-child {
    margin-right: 1vw;
}

.item_2 nav li:last-child {
    margin-left: 1vw;
}

.content {
    background-color: var(--box-backround-color);
    padding: 2vw;
    text-align: justify;
    line-height: 1.5;
    border-radius: 0 0 0.2vw 0.2vw;
    font-size: var(--normal-text)/*1.2vw*/;
}

.careerplan, .introduction {
    text-indent: clamp(1rem, .5vw + 1rem, 2rem);
}

.projects {
    display: none;
}

.projects .project_content h4 {
    font-size: var(--text-2);
}

.projects .project_content p{
    padding: 0.5vw 0 1vw 2vw;
    font-size: var(--normal-text);
}

.projects .project_content a:link {
    color: var(--text-color);
}
  
.projects .project_content a:visited {
    color: var(--link-visited-color);
}

.projects .project_content a:hover {
    color: var(--link-hover-color);
}

#project_nav ul {
    list-style: none;
    display: flex;
}

#project_nav li{
    background-color: var(--nav-background-color);
    padding: 0.5vw;
    font-size: var(--text-3);
    cursor: pointer;
    border-radius: 5%;
    margin-right: 10px;
}

#project_nav li:hover{
    background-color: var(--nav-hover-color);
}

#project_nav .active{
    background-color: var(--box-backround-color);
}

/*-------------------------------ABOUT ME-------------------------------*/

#experience {
    margin-top: 1vw;
}

#experience ul {
    list-style: none;
}

.content_2 {
    margin-top: 1vw;
}

.content_2 h2 {
    margin-bottom: 0.5vw;
    font-size: var(--text-2);
}

.content h4 {
    font-size: var(--text-3);
}

.content_2 p{
    padding: 0.5vw 0 1vw 2vw;
    font-size: var(--normal-text);
}

#education {
    padding: 2vw 3vw 2vw 3vw;
    border-radius: 0.2vw;
}

#work {
    padding: 2vw 3vw 2vw 3vw;
    border-radius: 0.2vw;
}

#language {
    padding: 1vw 2vw 1vw 3vw;
    border-radius: 0.2vw;
}

#language table {
    padding-left: 1vw;
}

#language th {
    padding: 1vw 2vw 1vw 2vw;
    font-size: var(--normal-text);
}

#language td {
    text-align: center;
    font-size: var(--normal-text);
}

.container_1 {
    width: 10vw;
    height: 1vw;
    background-color: #c8c8c8;
    border: 0.2vw solid var(--lang-border-color);
    border-radius: 1vw;
    box-shadow: 2px 5px 10px #202020;
    overflow: hidden;
}

.skill {
    height: 100%;
    background-color: #303030;
    border-radius: 1vw;
    background-clip: padding-box;
}

.hun {
    width: 10vw;
}

.eng {
    width: 9vw;
}

.ger {
    width: 5.5vw;
}

.jap {
    width: 4.5vw;
}

/*-------------------------------FOOTER-------------------------------*/

footer {
    width: 100%;
    margin: .5vw 0;
    text-align: center;
    font-size: var(--footer)/*1vw*/;
}

/*-------------------------------ANIMATION-------------------------------*/
@keyframes title {
    0% { opacity: 0; }
    100% { opacity: 1; }
}