/*Variables*/
.dark-theme {
    --font-family: Inter;
    --nav-font-secondary: Source Sans Pro, sans-serif;
    --font-weight-normal: 400;
    --font-weight-semibold: 500;
    --font-weight-bold: 600;
    --font-weight-extra-bold: 700;

    --font-size-1: 24px; 
    --font-size-p: 16px;
    --font-size-hero-big: 68px;
    --font-size-hero-medium: 42px;
    --font-size-hero-small: 30px;
    --font-size-section-title: 38px;
    --font-size-section-sub-title: 32px;
    --font-size-footer: 28px;
    --font-size-nav-main-title: 32px;
    --font-size-nav-secondary: 26px;
    --font-size-port-title: 26px;
    --font-size-port-description: 18px;
    --font-size-port-date: 20px;
    --font-size-port-selected-bottom: 18px;
    --font-size-contact-form: 20px;
    --font-size-contact-label: 11px;
    --font-size-button-base: 16px;
    --font-size-resume-lang: 20px;

    --background-color: #1E1E28;
    --text-color: #FFFFFF;
    --text-color-opposite: #000000;
    --lighter-text-color: #aaacb9;
    --icon-color: #DEDEDE;
    --page-component-color: #24242f;
    --social-media-color: #333244;
    --border-color: var(--icon-color);

    --scrollbar-color: rgb(54, 54, 70);
    --scrollbar-hover-color: rgb(60, 60, 74);
    --scrollbar-track-color: none;

    --paging-btn-color: #D63240;
    --paging-btn-hover-color: #e73745;
    --paging-btn-text-color: #f4f5f9;

    --button-red-text-color: #FF384A;
    --button-red-gradient: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(to bottom, #FF6565, #D63240);
    --button-red-hover-text-color: #FF6565;
    --button-red-hover-border-color: #FF7979;

    --shadow-color1: var(--background-color);
    --shadow-color2: rgba(157, 96, 212, 0.5);
    --shadow-color3: rgba(255, 73, 73, 0.2);
    --shadow-color4: #ccc;

    --hero-text-color: #D06565;

    --navigation-color: #252531;
    --nav-gradient: linear-gradient(to right bottom, #313140, #1a1a22);
    --nav-sec-gradient: linear-gradient(to bottom, #313140, #21212b);
    --nav-border: 1px solid var(--Container-border, #1a1a2280);
    --nav-box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.3);
    --nav-sec-box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.15);
    --nav-backdrop-filter: none;
    --secondary-bar-background: #2d2d3a;

    --section-gradient: linear-gradient(to right bottom, #2b2b38, #1d1d26);
    --section-full: #2b2b38;
    --section-border: none;
    --section-box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.35);
    --section-backdrop-filter: none;

    --hobbies-icon-border-color-1: #A94444;
    --hobbies-icon-border-color-2: #5559A9;
    --hobbies-icon-border-color-3: #5B9D5A;
    --hobbies-icon-border-color-4: #489292;

    --form-background-color: #22222b;
    --contact-form-label-color: transparent;
    --form-gradient: linear-gradient(to right, #24242E, #1D1D26);
    --form-icon-color: #DEDEDE;

    --color-theme-bacground-color: #67677228;
    --color-theme-active-color: #424150;
    --color-theme-icon-active-color: #999999;
    --color-theme-icon-inactive-color: #000000;

    --coding-icon-color: #834646;
    --networking-icon-color: #406295;

    --portfolio-element-selected-images-size: 11vw;
}

.light-theme {
    --font-family: Inter;
    --nav-font-secondary: Source Sans Pro, sans-serif;
    --font-weight-normal: 400;
    --font-weight-semibold: 500;
    --font-weight-bold: 600;
    --font-weight-extra-bold: 700;

    --font-size-1: 24px; 
    --font-size-hero-big: 68px;
    --font-size-hero-medium: 42px;
    --font-size-hero-small: 30px;
    --font-size-section-title: 38px;
    --font-size-section-sub-title: 32px;
    --font-size-footer: 28px;
    --font-size-nav-main-title: 32px;
    --font-size-nav-secondary: 26px;
    --font-size-port-title: 26px;
    --font-size-port-description: 18px;
    --font-size-port-date: 20px;
    --font-size-port-selected-bottom: 18px;
    --font-size-contact-form: 20px;
    --font-size-contact-label: 11px;
    --font-size-button-base: 16px;
    --font-size-resume-lang: 20px;
    
    --Container-background: #FFFFFF99;
    --Container-border: #FFFFFF80;

    /* #b6c1d4; */
    --background-color:  rgb(219, 219, 226);
    /* --background-color: #e6e8ec; */
    --text-color: #525458;
    --text-color-opposite: #FFFFFF;
    --lighter-text-color: #8a8a8a;
    --icon-color: #525458;
    --page-component-color: #E0E0E0;
    --social-media-color: #CCCCCC;
    --border-color: var(--icon-color);

    --scrollbar-color: rgb(145, 145, 155);
    --scrollbar-hover-color: rgb(164, 164, 172);
    --scrollbar-track-color: none;

    --paging-btn-color: #D63240;
    --paging-btn-hover-color: #e73745;
    --paging-btn-text-color: #f4f5f9;

    --button-red-text-color: #FF384A;
    --button-red-gradient: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(to bottom, #FFA07A, #FF6347);
    --button-red-hover-text-color: #FF6565;
    --button-red-hover-border-color: #FF7979;

    --shadow-color1: var(--background-color);
    --shadow-color2: rgba(157, 96, 212, 0.5);
    --shadow-color3: rgba(255, 73, 73, 0.2);
    --shadow-color4: #fc7c7c;

    --hero-text-color: #d14229;

    --navigation-color: #fcfcfc;
    --nav-gradient: linear-gradient(to right bottom, #FFFFFF99, rgba(224, 225, 230, 0.6));
    --nav-sec-gradient: linear-gradient(to bottom, #FFFFFF99, rgba(224, 225, 230, 0.6));
    --nav-border: 1px solid var(--Container-border, rgba(255, 255, 255, 0.50));
    --nav-box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.10), 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
    --nav-sec-box-shadow:  0px 10px 10px 0px rgba(0, 0, 0, 0.10), 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
    --nav-backdrop-filter: blur(10px);
    --secondary-bar-background: #f7f7f799;

    --section-gradient: linear-gradient(to right bottom, #FFFFFF99, #e0e1e699);
    --section-full: #fbfbfd;
    --section-border: 1px solid var(--Container-border, rgba(255, 255, 255, 0.50));
    --section-box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.10), 0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
    --section-backdrop-filter: blur(10px);

    --hobbies-icon-border-color-1: #FF6347;
    --hobbies-icon-border-color-2: #1E90FF;
    --hobbies-icon-border-color-3: #3CB371;
    --hobbies-icon-border-color-4: #20B2AA;

    --form-background-color: #E0E0E0;
    --contact-form-label-color: transparent;
    --form-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0.068) 7.08%, rgba(255, 255, 255, 0.068) 106.41%);
    --form-icon-color: #414141;

    --color-theme-bacground-color: #67677228;
    --color-theme-active-color: #666670;
    --color-theme-icon-active-color: #d1d1d1;
    --color-theme-icon-inactive-color: #19191d;

    --coding-icon-color: #a14a4a;
    --networking-icon-color: #5c73a8;

    --portfolio-element-selected-images-size: 11vw;
}
/*-------------*/

/*flask related*/
.flask-alert {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    font-weight: var(--font-weight-bold);
}
.flask-alert-success {
    color: #3ca12a;
}

.flask-alert-danger {
    color: #d41e1e;
}


.form-valid {
    border: 1px solid #3ca12a !important; 
}

.form-invalid {
    border: 1px solid #d41e1e !important;
}

.alert {
    color: #3ca12a;
    border-color: #3ca12a;
    border-radius: 20px;
    background: none;
}

.alert-success {
    color: #3ca12a;
    border-color: #3ca12a;
    border-radius: 20px;
}

.alert-danger {
    color: #d41e1e;
    border-color: #d41e1e;
    border-radius: 20px;
}

.alert-info {
    color: #1e90ff;
    border-color: #1e90ff;
    border-radius: 20px;
}


.portfolio-element-selected-tags
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.tag-big svg {
    fill: var(--icon-color);
    width: 60px;
    height: 60px;
    border: 3px solid var(--icon-color);
    margin: 8px;
    margin-left: 0;
    margin-right: 16px;


    border-radius: 50%;
}

.tag-big-Python svg {
    border: 3px solid #a14a4a;
}
.tag-big-Networking svg {
    border: 3px solid #446CA9;
}
.tag-big-Flask svg {
    border: 3px solid #5EA944;
}
.tag-big-Java svg {
    border: 3px solid #cf7b15;
}
.tag-big-C svg {
    border: 3px solid #0c5fad;
}
.tag-big-SQL svg {
    border: 3px solid #00a0cc;
}
.tag-big-Linux svg {
    border: 3px solid #000000;
}

.eye-shown, .eye-hidden {
    width: 50px; 
    margin-top: 10px;
    opacity: 0.85;
}
.eye-hidden {
    opacity: 0.50;
}

.eye-shown:hover {
    opacity: 1;
}
.eye-hidden:hover {
    opacity: 0.65;
}


/*-------------*/

/*Timeline*/
.timeline-cover {
    position: relative;
    font-size: 0; 
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    padding: 5px; 
    padding-top: 80px; 
    padding-bottom: 80px
}
.timeline-cover::-webkit-scrollbar { /* For Chrome, Safari and Opera */
    display: none;
}

.timeline-spacer {
    display: inline; 
    position: relative; 
    width: 75px; 
    height: 5px;
}
.timeline-spacer svg {
    z-index: 0; 
    fill:transparent; 
    height:14px; 
    width: 70px; 
    vertical-align: middle;
}

.timeline-arrow-left, .timeline-arrow-right {
    position:absolute;
    top: -45px;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}
/*
.timeline-arrow-left svg, .timeline-arrow-right svg {
 
}
*/
.timeline-arrow-left {
    left: 0;
}
.timeline-arrow-right {
    right: 0;
}

.timeline-month-base {
    z-index: 0; 
    fill:#3d3e47; 
    height:14px; 
    width: 16px; 
    vertical-align: middle;
}

.timeline-month {
    cursor: pointer;
} 

.timeline-years {
    position: relative;
    top: 0px;
    font-size: 20px; 
    display: inline; 
    vertical-align: middle;
    margin-left: 12px; 
    margin-right: 12px;
}
.timeline-years:hover {

    top: -5px;
    font-size: 30px; 
}

.timeline-month-education-start {
    fill:#e94700; 
    position: absolute; 
    left: -3px; 
    top: -18px; 
    z-index: 2; 
    height:16px; 
    width: 27px;
}

.timeline-month-work-start {
    fill:#0087e9; 
    position: absolute; 
    left: -3px; 
    top: 2px; 
    z-index: 2; 
    height:16px; 
    width: 27px;
}

.timeline-month-education-end {
    fill:#e94700; 
    position: absolute; 
    left: -3px; 
    top: -18px;  
    z-index: 2; 
    height:16px; 
    width: 28px;
}

.timeline-month-work-end {
    fill:#0087e9; 
    position: absolute; 
    left: -3px; 
    top: 2px; 
    z-index: 2; 
    height:16px; 
    width: 28px;
}

.timeline-month-education-inprogress {
    fill:#e94700; 
    position: absolute; 
    left: -3px; 
    z-index: 2; 
    height:10px; 
    width: 29px;
}
.timeline-month:hover {
    fill:#fa5812
}

.timeline-month-work-inprogress {
    fill:#0087e9; 
    position: absolute; 
    left: -3px; 
    top: 5px; 
    z-index: 2; 
    height:10px; 
    width: 29px;
}

.timeline-month-event-pointer {
    fill:#b9b6bb; 
    position: absolute; 
    top: -29px;
    left: 4px; 
    z-index: 2; 
    height: 43px; 
    width: 12px;
}

.timeline-month-education-name {
    position: absolute; 
    transform: translateX(-50%); 
    z-index: 1; 
    top: -60px; /*-95*/
    left:5px; 
    font-size: 20px; 
    vertical-align: middle;
}
.timeline-month:hover .timeline-month-education-name {
    top: -95px; /*-95*/
}

.timeline-month-education-day {
    opacity: 0.0;
    position: absolute; 
    transform: translateX(-50%); 
    color: #aaacb9; 
    z-index: 1; 
    top: -40px; 
    left:5px; 
    font-size: 20px; 
    font-weight: 350; 
    vertical-align: middle;


}
.timeline-month:hover .timeline-month-education-day {
    opacity: 1;
    top: -70px; 
}

.timeline-month-education-month {
    opacity: 0.0;
    position: absolute; 
    transform: translateX(-50%); 
    color: #aaacb9; 
    z-index: 1; 
    top: -23px; 
    left:5px; 
    font-size: 22px; 
    font-weight: 500; 
    vertical-align: middle;

}
.timeline-month:hover .timeline-month-education-month {
    opacity: 1;
    top: -53px;
}

.timeline-month-work-name {
    position: absolute; 
    transform: translateX(-50%); 
    z-index: 1; 
    top: 28px; 
    left:5px; 
    font-size: 20px; 
    vertical-align: middle;
}
.timeline-month:hover .timeline-month-work-name {
    top: 62px; 
}

.timeline-month-work-day {
    opacity: 0.0;
    position: absolute; 
    transform: translateX(-50%); 
    color: #aaacb9; 
    z-index: 1; 
    top: -10px; 
    left:5px; 
    font-size: 20px; 
    font-weight: 350; 
    vertical-align: middle;
}
.timeline-month:hover .timeline-month-work-day {
    opacity: 1;
    top: 20px;
}

.timeline-month-work-month {
    opacity: 0.0;
    position: absolute; 
    transform: translateX(-50%); 
    color: #aaacb9; 
    z-index: 1; 
    top: 7px; 
    left:5px; 
    font-size: 22px; 
    font-weight: 500; 
    vertical-align: middle;
}
.timeline-month:hover .timeline-month-work-month {
    opacity: 1;
    top: 37px;
}

.timeline-month-event-name {
    position: absolute; 
    transform: translateX(-50%);
    z-index: 1; 
    top: -60px;  
    left:10px; 
    font-size: 20px; 
    vertical-align: middle;
}
.timeline-month:hover .timeline-month-event-name {
    top: -99px; 
}

.timeline-month-event-day {
    opacity: 0.0;
    position: absolute; 
    transform: translateX(-50%); 
    color: #aaacb9; 
    z-index: 1; 
    top: -47px; 
    left:10px; 
    font-size: 20px; 
    font-weight: 350; 
    vertical-align: middle;
}
.timeline-month:hover .timeline-month-event-day {
    opacity: 1;
    top: -77px;
}

.timeline-month-event-month {
    opacity: 0.0;
    position: absolute; 
    transform: translateX(-50%); 
    color: #aaacb9; 
    z-index: 1; 
    top: -28px; 
    left:10px; 
    font-size: 22px; 
    font-weight: 500; 
    vertical-align: middle;
}
.timeline-month:hover .timeline-month-event-month {
    opacity: 1;
    top: -58px;
}


.timespan-path {
    font-size: 0px; 
    align-self: flex-start; 
    margin-bottom: 0; 
    color: var(--lighter-text-color);
}
.timespan-path-element {
    font-size: 20px;
    color: var(--lighter-text-color);
}
.timespan-path-element:hover {
    color: var(--text-color);
}

/*-------------*/

/*javascript related*/

/*-------------*/

/* scrollbar */

::-webkit-scrollbar {
  width: 10px;
  
}
::-webkit-scrollbar-track {
    background: var(--scrollbar-track-color); /* color of the tracking area */
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-color); /* color of the scroll thumb */
    border-radius: 50px;
    
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-hover-color); /* color of the scroll thumb on hover */
}

/*-------------*/

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-weight: var(--font-weight-normal);
    border-color: var(--border-color);
}

.container {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 2rem;

    padding-left: 0;
    padding-right: 0;
    
}

.nav-pos-holder {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100vh;
    width: 19rem;
    max-width: 19rem;
}

.sec-nav-pos-holder {
    display: none;
    width: 100%;
    min-height: 70px;
    margin-bottom: 3.5rem;
}

.content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 30px;
    min-width: 1020px;
    max-width: 65%;
    min-height: 100vh;
    padding: 4rem;
    padding-bottom: 1rem;
    margin: auto;
}

body {
    background-color: var(--background-color);
    font-family: var(--font-family);
}

.error_page {
    align-items: center;
    text-align: center;
}
.error_page h1 {
    font-size: calc(65px + 2vw); 
    font-weight: 700; 
    line-height: 0.75;
}
.error_page h2 {
    font-weight: 700; 
    font-size: calc(22px + 1vw); 
    color: #d14229; 
    margin-bottom: 0;
}
.error_page p {
    margin-bottom: calc(20px + 1vw);
    font-size: calc(12px + 0.4vw)
}

.button-red-outline {
    /*text*/
    color: var(--button-red-text-color);
    text-align: center;
    font-family: var(--nav-font-secondary);
    font-size: var(--font-size-1); /*TODO*/
    font-style: normal;
    font-weight: var(--font-weight-normal);
    line-height: normal;

    max-width: 310px;
    height:45px;
    padding: 4px;
    padding-left: 60px;
    padding-right: 60px;
    cursor: pointer;
    border-radius: 25px;
    border: solid 3px transparent;
    background-image: var(--button-red-gradient);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 2px 1000px 1px var(--shadow-color1) inset, 0 0 6px 0 rgba(157, 96, 212, 0.5);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

button.button-red-outline {
    padding: 0;
}

.button-red-outline:hover {
    background-image: var(--button-red-gradient);
    border-color: var(--button-red-hover-border-color);
    color: var(--button-red-hover-text-color);
    box-shadow: 2px 1000px 1px var(--shadow-color1) inset, 0 0 6px 0 var(--shadow-color2), 0 0 15px 10px var(--shadow-color3);
}

.button-red-outline.chosen {
    background-image: var(--button-red-gradient);
    background-clip: border-box;
    box-shadow: none;
    color: var(--background-color);
    font-weight: var(--font-weight-bold);
}
.button-red-outline.chosen:hover {
    box-shadow: 0 0 6px 0 var(--shadow-color2), 0 0 15px 10px var(--shadow-color3);
}

.submit-frame .button-red-outline {
    box-shadow: 2px 1000px 1px var(--section-full) inset, 0 0 6px 0 rgba(157, 96, 212, 0.5);
}

.submit-frame .button-red-outline:hover {
    background-image: var(--button-red-gradient);
    border-color: var(--button-red-hover-border-color);
    color: var(--button-red-hover-text-color);
    box-shadow: 2px 1000px 1px var(--section-full) inset, 0 0 6px 0 var(--shadow-color2), 0 0 15px 10px var(--shadow-color3);
}




a.button-red-outline {
    line-height: 38px;
}

.hero-text {
    color: var(--text-color);
    font-family: var(--nav-font-secondary);
    font-size: var(--font-size-hero-small);
    font-style: normal;
    font-weight: var(--font-weight-normal);
    line-height: normal;
    margin: 0;
}

h1.hero-text {
    font-size: var(--font-size-hero-big);
    font-weight: var(--font-weight-extra-bold);
    margin-bottom: 5px;
}
h2.hero-text {
    font-size: var(--font-size-hero-medium);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
}
h2.hero-text span {
    color: var(--hero-text-color);
    
}

.section {
    max-width: 100%;
    min-height: 40px;
    background-color: var(--page-component-color);
    border: var(--section-border);
    border-radius: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 30px;

    background: var(--section-gradient);
    box-shadow: var(--section-box-shadow);
    backdrop-filter: var(--section-backdrop-filter);
}

.section-no-outline {
    max-width: 100%;
    min-height: 40px;
    border-radius: 20px;
    margin-top: 50px;
    margin-bottom: 50px;

}

.section-title {
    display:flex;
    flex: 1 0 100%;
    justify-content: center;
    margin: 0px 0 5px 0;
    font-size: var(--font-size-section-title);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
}

.section-sub-title {
    font-size: var(--font-size-section-sub-title);
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 20px;

    max-width: 100%;
    min-height: 40px;
    background-color: var(--page-component-color);
    border-radius: 20px;

    background: var(--section-gradient);
    box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.35);
}

footer p {
    color: var(--text-color);
    font-size: var(--font-size-footer);
    font-style: normal;
    font-weight: var(--font-weight-semibold);
    margin: 10px 25px 10px 25px;


}

.hobbies-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 30px;
}

.hobbies-element {
    display: flex;
    flex: 1 0 50%;
    flex-direction: row;
    margin: 20px 0px 20px 0;
    justify-content: center;
    padding-bottom: 20px;
}

.hobbies-element h3 {
    font-weight: var(--font-weight-bold);
}



.hobbies-element h3, .hobbies-element p {
    color:var(--text-color);
    flex: 1 0 50%;

    min-width: 250px;
    margin-right: 30px;
}

.hobbies-icon-border-1 {
    border: 5px solid var(--hobbies-icon-border-color-1);
    border-radius: 50%;
    width: 110px;
    height: 110px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 30px;
    margin-right: 30px;
    padding: 10px

}
.hobbies-icon-border-2 {
    border: 5px solid var(--hobbies-icon-border-color-2);
    border-radius: 50%;
    width: 110px;
    height: 110px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 30px;
    margin-right: 30px;
    padding: 10px
}
.hobbies-icon-border-3 {
    border: 5px solid var(--hobbies-icon-border-color-3);
    border-radius: 50%;
    width: 110px;
    height: 110px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 30px;
    margin-right: 30px;
    padding: 10px
}
.hobbies-icon-border-4 {
    border: 5px solid var(--hobbies-icon-border-color-4);
    border-radius: 50%;
    width: 110px;
    height: 110px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 30px;
    margin-right: 30px;
    padding: 10px
}

.nav-box-effect {
    background: var(--nav-gradient);
    border: var(--nav-border);
    box-shadow: var(--nav-box-shadow);
    backdrop-filter: var(--nav-backdrop-filter);
    /*border-radius: 1rem;*/
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex: 1;
    z-index: 10;
    flex-direction: column;
    font-family: var(--nav-font-secondary);

    height: 100vh;
    /*background-color: var(--navigation-color); */
    width: 320px;

}


.nav-top, .nav-menu, .nav-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navigation .nav-top {
    margin-top: 2.5rem;
    align-items: center;
    color: var(--icon-color);
    width: 220px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.navigation .nav-top a {
    text-align: center;
    color: var(--icon-color);
}

.navigation .nav-top a img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    margin: 0 3rem 2rem 3rem;
    
}

.navigation .nav-top a h2 {
    font-size: var(--font-size-nav-main-title);
    font-weight: var(--font-weight-extra-bold);
}

.navigation .nav-menu {
    flex: 1;
    width: 100%;
    padding-left: 0;
    align-items: center;
    --top: 500px;
    --height: 0;
}

.navigation .nav-menu::before {
    content: '';
    position: absolute;
    right: 0;
    top: var(--top, 0);
    width: 2px;
    height: var(--height, 0);
    background-color: currentColor;
    transition: top 0.3s ease-in-out, height 0.3s ease-in-out;
}

.navigation .nav-menu::before {
    top: var(--top, 0);
    height: var(--height, 0);
  }

.navigation .nav-menu a {
    position: relative;
    display: inline-flex;
    height:100%;
    width: 100%;
    padding: 18px 0;
    padding-left: 60px;
    color: var(--icon-color);
    transition: 0.1s ease-in-out;
}

.navigation .nav-menu a:hover {
    color: var(--text-color);
    text-shadow: 0px 0px 2px var(--shadow-color4);
    transition: 0.1s ease-in-out;
}
.nav-list-item {

    width: 100%;
}


.nav-menu-login-register {
    display: flex;

    justify-content: center;

}




.nav-menu-login, .nav-menu-register, .nav-menu-login-register-spacer {
    height: auto !important;
    width: auto !important;
    padding: 15px 5px !important;
    font-size: var(--font-size-nav-secondary);
    color: var(--icon-color);
    transition: 0.1s ease-in-out;
}
/*
.nav-menu-item-login-register {
    margin-top: auto;
}
*/

/*
.nav-list-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: currentColor;
    transform: scaleY(0);
    transition: transform 0.3s ease-in-out;
}


.nav-list-item:hover::before {
    transform: scaleY(1);
}
*/

.navigation .nav-menu a h3 {
    margin-left: 1.4rem;
    margin-bottom: 0;
    height: 2.2rem;
    line-height: 2.2rem;
    flex-shrink: 0;
    font-size: var(--font-size-nav-secondary);
}

.navigation .nav-bottom {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    align-items: center;
}

.nav-bottom {
    width: 88%;
    max-width: 90%;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
    
}

.nav-bottom svg {
    width: 40px;
    height: 40px;
    margin: 5.5px;
    fill: var(--social-media-color);

}

.secondary-bar {
    display: none;

    justify-content: flex-end;
    z-index: 4;
    width: 100%;
    min-height: 70px;
    background: var(--secondary-bar-background);
    padding: 0 30px;
    padding-left: 320px;
}


.logged-in {
    display: flex;
}

.logged-in-pos-holder {
    display: flex;
    margin-bottom: 0;
}

.logged-in-content {
    padding-top: 3.5rem !important;
}

.logged-in-nav {
    display: flex;
    position: fixed;
}

.secondary-bar-items {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.secondary-bar-items li {
    padding: 0 12px;
}

.secondary-bar-items li a:hover {
    color: var(--text-color);
    text-shadow: 0px 0px 3px var(--shadow-color4);
    transition: 0.1s ease-in-out;
}

.username a:hover {
    /*no shadow*/
    text-shadow: none !important;
}


.nav-sec-box-effect {
    background: var(--nav-sec-gradient);
    border: var(--nav-border);
    box-shadow: var(--nav-sec-box-shadow);
    backdrop-filter: var(--nav-backdrop-filter);
}

.form-control-file {
    border: none !important;
    background: none !important;
    display: none;
}

.form-control-file-label {
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    
    background-color: var(--form-background-color) !important;
    background: var(--form-gradient) !important;
    border-radius: 20px !important;
    color: #dadada !important;
    padding: 0px !important;
    font-size: var(--font-size-contact-form) !important;
    font-weight: var(--font-weight-semibold) !important;
    min-height: 50px !important;
    border: 1px solid rgba(0, 0, 0, 0.31) !important;
    background-blend-mode: overlay !important;
    cursor: pointer !important;
}

.account-informations {
    display: flex;
    flex-direction: row;
}

.account-informations-body {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.account-informations-email {
    color: var(--lighter-text-color);
}
/*----------------------------- burger button -----------------------------*/

.menu-bar-btn {
    display: none;
    position: fixed;
    top: -20px;
    right: 15px;
    z-index: 20;
    margin-top: -10px;
    width: 27px;
    height: 21.6px;
    padding: 54px;
    cursor: pointer;
}

.menu-bar-btn-pos-holder {
    width: 60px;
    height: 60px;
}

.menu-bar-btn span, .menu-bar-btn span:after, .menu-bar-btn span:before {
    content: "";
    display: block;
    width: 27px;
    height: 5.4px;
    border-radius: 1px;
    background: var(--icon-color);
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.menu-bar-btn span {
    position: relative;
    margin: 9px 0 0;
}

.menu-bar-btn span:after, .menu-bar-btn span:before {
    position: absolute;
}

.menu-bar-btn span:before {
    top: -9px;
}

.menu-bar-btn span:after {
    top: 9px;
}

.menu-bar-btn.nav-active {
    -webkit-transition: 0.6s ease-in-out;
    transition: 0.6s ease-in-out;
    -webkit-transform: translateX(-220px);
    transform: translateX(-220px);
}

.menu-bar-btn.nav-active span {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-bar-btn.nav-active span:before {
    -webkit-transform: translate(0px, 7.5px) rotate(-90deg);
    transform: translate(0px, 7.5px) rotate(-90deg);
}

.menu-bar-btn.nav-active span:after {
    -webkit-transform: translate(0px, -7.5px) rotate(-90deg);
    transform: translate(0px, -7.5px) rotate(-90deg);
}

.menu-bar-btn:hover span, .menu-bar-btn:hover span:after, .menu-bar-btn:hover span:before {
    background: #fafafc;
}

.content::before {
    display: none;
    content: ""; /* Add this line */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 24, 24, 0.534); /* Semi-transparent gray */
    backdrop-filter: blur(7px); /* Add this line to blur the content behind the overlay */
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.content.nav-active::before, .content.portfolio-element-active::before {
    display: block;
    opacity: 1;
    cursor: pointer;
}

/*-------------------------------------------------------------------------*/

.color-theme-toggler {
    background: var(--color-theme-bacground-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
    width: 76px;
    cursor: pointer;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 6px;
}

.color-theme-toggler svg {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    background-color: transparent;
    fill: var(--color-theme-icon-inactive-color);
    animation: fillChange 0.5s ease-in-out;
    
}

.color-theme-toggler svg.active {
    background: var(--color-theme-active-color);
    border-radius: 6px;
    fill: var(--color-theme-icon-active-color);
    animation: fillChangeActive 0.5s ease-in-out;
}

@keyframes fillChange {
    0% { fill: var(--color-theme-icon-inactive-color); }
    100% { fill: var(--color-theme-icon-inactive-color); }
}

@keyframes fillChangeActive {
    0% { fill: var(--color-theme-icon-active-color); }
    100% { fill: var(--color-theme-icon-active-color); }
}

.social-media-active {
    position: absolute;
    top: 0;
    left: 0px;
}

.social-media-inactive {
    position: absolute;
    top: 0;
    left: 0px;
}

.social-media-inactive svg:hover {
    opacity: 0;
}

.portfolio-elements {
    margin-top: 25px;
}

.portfolio-element {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border-color: var(--icon-color);
    border-radius: 30px;
    border-width: 3px;
    border-style: solid;
    
    min-width: 905px;
    max-width: min(1200px, 100%);
    min-height: 150px;
    padding:10px;
    padding-left: 20px;
    padding-right: 20px;
    margin: auto;
    margin-bottom: 25px;

    cursor: pointer;

}

.portfolio-element:hover a {
    text-shadow: none ;
    transition: 0.1s ease-in-out ;
}
.portfolio-element:hover .view-more {
    text-shadow: 0px 0px 20px var(--shadow-color4), 0px 0px 5px var(--shadow-color4);
    transition: 0.1s ease-in-out;
}

.portfolio-element img:hover {
    filter: brightness(120%); /* Brighten the image */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; /* Smooth transition */
}

.portfolio-element-images img {
    border-radius: 10%;
}

.paging {
    width: 750px;
    max-width: min(950px, 80%);
}

.paging a {
    margin-bottom: 1.5rem;
}

.portfolio-element-top h3 {
    font-size: var(--font-size-port-title);
    margin-left: 10px;
    margin-bottom: 0px;
}

.portfolio-element-bottom {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.portfolio-element-images {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: auto;

    margin: 5px;
    flex: 1;
    
}

.portfolio-element-images-secondary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    justify-content: space-between;
}

.port-elem-image-sec {
    display: none;
}

.port-elem-sel-image:hover {
    transform: scale(1.1); /* Zoom the image */
    filter: brightness(110%); /* Brighten the image */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; /* Smooth transition */
}

.portfolio-element-images img {
    margin:5px;
    
    width: calc(1920px*0.11); /* 140px * 1.3    192px;*/
    height: calc(1080px*0.11); /* 95px * 1.3    108px;*/
    
}

/*width: 182px; height: 123.5px; width: 78px; height: 54.6px;*/
.portfolio-element-images-secondary img {
    margin-top: 5px;
    width: calc(1920px*0.05); /* 60px * 1.3 */
    height: calc(1080px*0.05); /* 42px * 1.3 */
}



.portfolio-element-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
    /*width: 100%;*/

    margin: 5px;
}

.portfolio-element-text p {
    font-size: var(--font-size-port-date);
    margin-bottom: 5px;
    margin-top: 5px;
}

.portfolio-element-description {
    font-size: var(--font-size-port-description) !important;
    min-width: 460px;
}

.portfolio-element-text-bottom {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;  
    margin-top: auto; 
    width: 100%;
}

.portfolio-element-selected-content, .portfolio-element-selected-left, .portfolio-element-selected-right, .portfolio-element-selected-comments, .portfolio-element-selected-description {
    display: flex;
}

.portfolio-element-selected-images-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.portfolio-element-selected-images {
    display: flex;  
    width: 720px;
    overflow: hidden; 
    scroll-behavior: smooth;
    transition: 0.6s ease-in-out;
}

.portfolio-element-selected-images img {
    margin: 0 10px;
    height: 125px;
}

.portfolio-element-selected-images-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.portfolio-element-selected-images-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
}

.image-lines {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.portfolio-element-selected-images-bottom .image-line {
    width: 30px;
    height: 5px;
    border-radius: 5px;
    background: var(--icon-color);
    margin: 5px;
    transition: 0.6s ease-in-out;
    cursor: pointer;
}

.portfolio-element-selected-images-bottom .image-line.active {
    background: var(--hobbies-icon-border-color-1);
    width: 40px;
    transition: 0.6s ease-in-out;
}

.portfolio-element-selected-images-arrow-right, .portfolio-element-selected-images-arrow-left {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.portfolio-element-selected-secondary-arrow-right, .portfolio-element-selected-secondary-arrow-left {
    display: none;
}

.portfolio-element-selected-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.portfolio-element-selected-left, .portfolio-element-selected-right {
    flex-direction: column;
    width: 420px;
    padding: 25px;
    
}

.portfolio-element-selected-comments {
    /*border only on top and bottom rounded*/
    border-top: 4px solid var(--icon-color);
    border-bottom: 4px solid var(--icon-color);
    border-radius: 4px;
    min-height: 250px;
    flex-direction: column;
}
.portfolio-element-selected-comments-elements {
    max-height: 150px;
    overflow: auto;
}


.portfolio-element-selected-comments-add {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 10px;
    align-items: start;
}

.portfolio-element-selected-comments-formblock {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
    flex: 1;
}
.portfolio-element-selected-comments-formblock form p {
    font-size: 13px; /*TODO replace with variable*/
    text-align: end;
    color: var(--lighter-text-color);
    margin-top: 5px;
    margin-bottom: 0;
}
.portfolio-element-selected-comments-formblock form {
    display: flex;
    flex-direction: column;
}

.portfolio-element-selected-comments-formblock form input {
    align-self: flex-end;
    margin-top: 8px;
}


.p-e-s-comment-add-input {
    height: 50px;
    background: rgba(217, 217, 217, 0.1); /*TODO replace with variable*/
    border-radius: 10px;
    border: var(--icon-color) 3px solid;
    flex: 1;
    width: 100%;
    font-size: 13px; /*TODO replace with variable*/
    /*align text to top*/
    align-items: flex-start;
    padding:7px;
    text-wrap: pretty;
    color: #ffffff;
}

.p-e-s-comment-add-submit {
    color: var(--icon-color);
    text-align: center;
    font-family: var(--nav-font-secondary);
    font-size: 13px; /*TODO replace with variable*/

    padding: 2px;
    padding-left: 20px;
    padding-right: 20px;

    border-radius: 25px;
    background: none;
    border: solid 1px var(--icon-color);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    margin-left: auto;
}

.portfolio-element-selected-comments-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.portfolio-element-selected-bottom {
    font-size: var(--font-size-port-selected-bottom);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;  
    margin-top: auto; 
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;

}

.portfolio-element-selected-bottom p {
    margin: 0;
}

.portfolio-element-selected {
    z-index: 5;
    min-height: 40vh;
    border-radius: 7%;
    padding: 45px;
    max-width: 1000px;
    align-self: center;

}

.container-top {
    position: absolute;
    top: 0;
    left: 0;
}

.download-button-lang {
    font-size: var(--font-size-resume-lang);
    line-height: 8px;
}

.download-buttons {
    gap: 10%;
}

.portfolio-element-selected-description {
    margin-top: 10px;
}

.portfolio-element-selected-block-right {
    width: 100%;
    align-self: flex-end;
}


.portfolio-element-selected-comment {
    display: flex;
    flex-direction: row;
    /*height: 250px;*/
    width: 100%;

    margin-bottom: 15px;
}

.portfolio-element-selected-comment-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
}

.portfolio-element-selected-comment-text h3 {
    font-size: 16px;
    margin-top: 6px;
    margin-bottom: 3px;
}

.portfolio-element-selected-comment-text p {
    font-size: 13px;
    margin-bottom: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.comment-image-block {
    display: flex;
    width: 60px !important;
    height: 60px;
    align-items: center;
}

.comment-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /*margin:10px;*/
}



.view-more {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    align-items: center;
}

.view-more svg, .view-more-secondary svg {
    margin-left: 4px;
    margin-bottom: 4px;
}

.view-more-secondary {
    display: none;
}


.form-field input, .form-field textarea {
    position: relative;
    background-color: var(--form-background-color);
    background: var(--form-gradient);
    border-radius: 20px;
    color: var(--text-color);
    padding: 10px;
    padding-left: 65px;
    padding-right: 15px;
    font-size: var(--font-size-contact-form);
    font-weight: var(--font-weight-semibold);
    width: 100%;
    min-height: 50px; 

    border: 1px solid rgba(0, 0, 0, 0.31);
    background-blend-mode: overlay;
}

.form-field input:focus-visible, .form-field textarea:focus-visible {
    outline: none;
}

.form-field {
    margin-bottom: 20px;
}

.form-field svg {
    fill: var(--form-icon-color);
}

.section-form {
    max-width: 850px;
    width: 100%;
    align-self: center;
}

.contact-form label, .general-form label {
    display: flex;
    justify-content: center;
    padding-top: 15px;
    padding-left: 5px;
    text-align: center;
    position: absolute;
    min-height: 50px;
    height: 100%;
    width: 50px;
    background: var(--contact-form-label-color);
    top: 0;
    left: 0;
    font-size: var(--font-size-contact-label);
    line-height: 50px;
    letter-spacing: 1px;
    font-weight: var(--font-weight-semibold);
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    cursor: text;
    border-radius: 20px 0px 0 20px;
}

.form-login-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.form-check-input {
    background: var(--icon-color);
}

.lighter-text {
    color: var(--lighter-text-color);
}

.textarea {
    overflow: auto;
    resize: vertical;
}

.label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.form-tag {
    position: relative;
    top: 0;
    left: 0;
    width: 65px;
    min-height: 20px;
}

.embeded-pdf {
    width: 80%;
    height: 1140px;
    width: 820px;
    margin-top: 25px;
    margin-bottom: 50px;
}

.element {
    min-width: 40px;
    min-height: 40px;
    background-color: var(--page-component-color);
    border-radius: 20px;
    margin-top:30px;
    margin-bottom: 30px;
    padding: 20px;
    justify-content: center;
    align-items: center;

    background: var(--section-gradient);
    box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.35);
}

.row-elements {
    display: flex;
    flex-direction: row;
}

.column-elements {
    display: flex;
    flex-direction: column;
}

.center-elements {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coding-icon {
    fill: var(--coding-icon-color) !important; 
}

.networking-icon {
    fill: var(--networking-icon-color) !important;
}

.icon, svg {
    fill: var(--icon-color);
}

a {
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    color: var(--text-color);
}

a:hover {
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    color: var(--text-color);
}

.white-glow-hover:hover {
    text-shadow:0px 0px 12px var(--shadow-color4);
}

.filters {
    position: relative;
    margin-bottom: 25px;
    margin-top: 20px;
}

.filters button, .filters input {
    margin: 10px;
}

.filters-type ,.filters-other {
    width: 100%;
    justify-content: center;
}

.filters-type button {
    min-width:30px; 
    height:60px; 
    border-radius: 50px;
    flex: 1;
}

.filter-input {

    font-family: var(--nav-font-secondary);
    font-size: var(--font-size-1);
    font-style: normal;
    font-weight: var(--font-weight-normal);
    line-height: normal;

    cursor: pointer;
    border: solid 3px transparent;
    background-color: transparent;

    box-shadow: 2px 1000px 1px var(--shadow-color1) inset, 0 0 6px 0 rgba(157, 96, 212, 0.5);
    transition: background-color 0.2s ease, border-color 0.2s ease;

    color: var(--icon-color);
    border-color: var(--icon-color);

    min-width:30px; 
    max-width: 350px;
    height:60px; 
    margin: 10px;
    padding: 10px;
    padding-left: 30px;
    
    border-radius: 50px;
    flex: 1;

    appearance: auto;
}



select.filter-input {
    appearance: auto;
    -webkit-appearance: none;
    padding-right: 30px;
}



.filter-input option {
    color: var(--icon-color); 
    background-color: var(--page-component-color);
}


.btn {
    display: inline-block;
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
    color: black;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    margin:2px;
    font-size: var(--font-size-button-base);
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-red {
    color: var(--paging-btn-text-color);
    background-color: var(--paging-btn-color);
    border-color: var(--paging-btn-color);
}

.btn-red:hover {
    color: var(--paging-btn-text-color);
    background-color: var(--paging-btn-hover-color);
    border-color: var(--paging-btn-hover-color);
}

.btn-outline-red {
    color: var(--paging-btn-color);
    border-color: var(--paging-btn-color);
    border-width: 2px;
}

.btn-outline-red:hover {
    color: var(--text-color-opposite);
    background-color: var(--paging-btn-hover-color);
    border-color: var(--paging-btn-hover-color);
}

.my-skill-section {
    gap: 25%;
}


.margins-medium {
    margin: 30px;
}

p {
    font-size: var(--font-size-p);
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    -webkit-transition: 0.45s ease-in-out;
    transition: 0.45s ease-in-out;
}

*, ::after, ::before {
    box-sizing: border-box;
}

img {
    object-fit: cover;
    object-position: center;
    transform: translate3d(0, 0, 1px);

}

/* ------------------------------

content (after 1360px)

------------------------------ */
@media (max-width: 1360px) {

    .dark-theme, .light-theme {
        /* dynamic size fonts*/
        --font-size-hero-big: calc(50px + 1.8vw);
        --font-size-hero-medium: calc(30px + 1.1vw);
        --font-size-hero-small: calc(20px + 1vw);

        --font-size-section-sub-title: calc(15px + 1.4vw);
        --font-size-footer: calc(12px + 1.2vw);

        --font-size-port-description: calc(6px + 0.85vw);
        --font-size-port-date: calc(8px + 0.85vw);

        --font-size-p: calc(13px + 0.2vw);
        }

    .light-theme {
        --nav-gradient: linear-gradient(to right bottom, #ffffff88, rgba(224, 225, 230, 0.548));
        --nav-backdrop-filter: blur(5px);
    }

    .dark-theme {
        --nav-gradient: linear-gradient(to right bottom, #313140d8, #1a1a22ce);
        --nav-backdrop-filter: blur(5px);
    }

    .secondary-bar {
        display: flex;
        position: fixed;
    }

    .sec-nav-pos-holder {
        display: flex;
    }
    
    .menu-bar-btn {
        display: block;
    }

    .nav-pos-holder {
        display: none;
    }

    .navigation {
        position: fixed;
        top: 0;
        left: 100%; /* Hide the navigation to the right of the viewport */
        height: 100vh;
        transition: transform 0.6s ease-in-out; /* Add a transition effect */
    }
    
    .navigation.nav-active {
        transform: translateX(-100%); /* Slide the navigation in from the right */
    }

    .navigation .nav-menu::before {
        left: 0;
      }

    .content {
        padding: 3.5rem;
        padding-top: 0rem;
        padding-bottom: 1rem;

        min-width: 100px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        flex: 1;
    }

    .portfolio-element-selected {
        margin-top:150px;
    }

    .secondary-bar {
        padding-left: 0;
    }
}
/* ------------------------------

content (after 1025px)

------------------------------ */
@media (max-width: 1025px) {
    .dark-theme, .light-theme {
        /* dynamic size fonts*/
        --font-size-port-title: calc(12px + 1.8vw);
        --font-size-port-description: calc(6px + 0.9vw);
        --font-size-port-date: calc(8px + 0.9vw);
        --font-size-1: calc(10px + 1.3vw);
        --font-size-resume-lang: calc(8px + 1.3vw);

        --font-size-section-title: calc(25px + 1vw);

        --font-size-port-selected-bottom: calc(8px + 1.1vw);
        --font-size-contact-form: 17px;

        --portfolio-element-selected-images-size: calc(10vw + 30px);
        }
    
    /*Resume*/
    .resume-holder {
        position: relative;
        display: block;
        width: 100%;
        padding-bottom: 139%; /* Adjust this value based on the aspect ratio of the PDF */
        overflow: hidden;
        margin-top: 25px;
        margin-bottom: 50px;
    }
    
    .embeded-pdf {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .download-button-lang {
        line-height: calc(0.8vw);
    }

    .download-button {
        width: 225px !important;
    }

    /*Portfolio*/
    .portfolio-element {
        min-width: 100%;
        max-width: 100%;
    }

    .portfolio-element-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-element-images img {
        width: calc(18vw); /* 60px * 1.3 */
        height: auto; /* 42px * 1.3 */
    }


    .portfolio-element-images {
        flex-direction: row;
        align-items: flex-end;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-element-images-secondary {
        display: none;
    }

    .port-elem-image-sec {
        display: flex;
        margin-top: 5px;
        width: calc(15vw) !important; /* 60px * 1.3 */
        height: auto !important; /* 42px * 1.3 */
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .portfolio-element-top {
        margin-left: auto;
        margin-right: auto;
    }
    .portfolio-element-top h3 {
        margin-left: auto;
    }

    .portfolio-element-selected-content {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-element-selected-left, .portfolio-element-selected-right {
        width: 100%;
    }

    .portfolio-element-selected-left {
        padding-bottom: 0;
    }

    .portfolio-element-selected-description p {
        margin-bottom: 0;
    }

    .portfolio-element-selected-block-right {
        width: 100%;
    }

    .portfolio-element-selected-images img {
        margin: 0 10px;
        height: var(--portfolio-element-selected-images-size);
    }

    .portfolio-element-selected-images-top {
        width: 100%;
        justify-content: center;
    }

    .portfolio-element-selected-images {
        width: calc((var(--portfolio-element-selected-images-size) * 1.90 * 3));
    }
    
    .portfolio-element-selected-comments-elements {
        max-height: 225px;
        overflow: auto;
    }

    .portfolio-element-selected-images-arrow-right, .portfolio-element-selected-images-arrow-left {
        display: none;
    }

    .portfolio-element-selected-secondary-arrow-right, .portfolio-element-selected-secondary-arrow-left {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        /*
        margin: 0 10px;
        padding-left: 10px;
        padding-right: 10px;
        */
    }

    .portfolio-element-selected-secondary-arrow-right svg, .portfolio-element-selected-secondary-arrow-left svg {
        height: 24px !important;
    }
    
    .networking-icon, .coding-icon {
        width: 100px !important;
        height: 100px !important;
    }

    .networking-title, .coding-title {
        font-size: 22px;
    }

    .skills-section {
        width: 180px !important;
        height: 180px !important;
    }

    .filters-type button, .filter-input {
        height: 50px;
    }

    .form-field input, .form-field textarea {
        padding: 6px;
        padding-left: 65px;
        min-height: 40px;
    }

    .section-form svg {
        width: 18px !important;
        height: 18px !important;
    }

    .contact-form label, .general-form label { 
        padding-top: 11px !important;
        padding-left: 5px;
    }

    .section-form {
        max-width: 700px;
    }

    .section-form h2 {
        font-size: 25px !important;
    }

    .section-form .button-red-outline {
        height: 40px;
    }

    .form-check {
        font-size: 13px !important;
    }

    .form-check-input { 
        height: 0.75rem;
        width: 0.75rem;
        font-size: 14px !important;
    }

    .form-check .form-check-input {
        float: left;
        margin-left: -1.2em;
    }

}
/* ------------------------------

content (after 650px)

------------------------------ */
@media (max-width: 650px) {

    .dark-theme, .light-theme {
        /* dynamic size fonts*/
        --font-size-section-sub-title: calc(6px + 2.5vw);
        --font-size-footer: calc(12px + 2vw);    

        --font-size-hero-big: calc(34px + 1.8vw);
        --font-size-hero-medium: calc(20px + 1.1vw);
        --font-size-hero-small: calc(14px + 1vw);


        --font-size-port-title: calc(12px + 1.8vw);
        --font-size-port-description: calc(10px + 1.3vw);
        --font-size-port-date: calc(11px + 1.3vw);

        --font-size-contact-form: 15px;

        --portfolio-element-selected-images-size: calc(10.5vw + 15px);
    }

    .content {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .section {
        padding-left: 10px;
        padding-right: 10px;
        margin-left: 0;
        margin-right: 0;

        margin-top: 40px;
        margin-bottom: 40px;
    }

    .section-no-outline {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .portfolio-element-selected {
        margin-top: 120px;
    }

    
    .my-skill-section {
        gap: 10%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-sub-title {
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    .section-contact-me, .section-form {
        padding-left: 20px;
        padding-right: 20px;
    }

    
    .hobbies-section {
        flex-direction: row;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hobbies-element {
        flex: 1 0 100%;
        flex-direction: column;
        margin: 0;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-bottom: 10px;

    }

    .hobbies-element div {
        margin-top: 5px;
        margin-bottom: 5px;   
    }

    .hobbies-icon-border-1, .hobbies-icon-border-2, .hobbies-icon-border-3, .hobbies-icon-border-4 {
        width: 85px;
        height: 85px;
        border-width: 4px;
    } 

    .hobbies-element h3, .hobbies-element p {
        min-width: 20px;
        margin-right: 0;
    }
    
    .section-hero {
        margin-left: 15px;
    }
    /* Portfolio */

    .filters-type {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .filters-other form {
        display: flex;
        width: 100%;
    }

    .filters-type button, .filters-other select, .filters-other input {
        
        flex: 1 1 40% !important;
        min-width: 0 !important;
    }

    .portfolio-element-description {
        min-width: 0;
    }

    .portfolio-element-images img {
        width: calc(25vw); /* 60px * 1.3 */
        height: auto; /* 42px * 1.3 */
    }


    .portfolio-element-images {
        flex-direction: row;
        align-items: flex-end;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-element-images-secondary {
        display: none;
    }

    .port-elem-image-sec {
        display: flex;
        margin-top: 5px;
        width: calc(21vw) !important; /* 60px * 1.3 */
        height: auto !important; /* 42px * 1.3 */
        margin-left: 10px !important;
        margin-right: 10px !important;
    }


    .paging {
        margin-left: 20px;
        margin-right: 20px;
        min-width: 0;
    }

    .portfolio-element-selected-images {
        width: calc((var(--portfolio-element-selected-images-size) * 2 * 3));
    }

    .portfolio-element-selected-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .portfolio-element-selected-bottom p {
        font-size: calc(15px + 0.2vw); /*TODO replace with variable*/
        margin: 5px;
    }


    .view-more-secondary {
        display: flex;
        justify-content: center;
    }

    .view-more-secondary p {
        margin-bottom: 0px;
    }

    .portfolio-element-selected-bottom .view-more {
        display: none;
    }

    .button-red-outline {
        padding: 5px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .portfolio-element-selected-right {
        padding-bottom: 10px;
    }

    .portfolio-element-selected {
        padding-bottom: 20px;
    }

    h2.hero-text {
        margin-bottom: 10px;
    }

    .networking-icon, .coding-icon {
        width: 90px !important;
        height: 90px !important;
    }

    .networking-title, .coding-title {
        font-size: 20px;
    }

    .skills-section {
        width: 150px !important;
        height: 150px !important;
    }


    .secondary-bar {
        min-height: 40px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: 0;
    }

    .menu-bar-btn-pos-holder {
        width: 40px;
        height: 40px;
    }

    .secondary-bar .account-img {
        width: 30px !important;
        height: 30px !important;
    }

    .form-field input, .form-field textarea {
        padding: 6px;
        padding-left: 55px;
        min-height: 40px;
    }
    /*----------------------------- burger button -----------------------------*/
    
    .menu-bar-btn {
        top: -26px;
        right: -15px;
    }
    
    .menu-bar-btn span, .menu-bar-btn span:after, .menu-bar-btn span:before {
        width: calc(27px * 0.7);
        height: calc(5.4px * 0.7);
    }

    .menu-bar-btn span {
        margin: 7px 0 0;
    }
    
    .menu-bar-btn span:before {
        top: -7px;
    }

    .menu-bar-btn span:after {
        top: 7px;
    }
    
    .menu-bar-btn.nav-active {
        transform: translateX(-185px);
    }
    
    /*-----Navigation-----*/
    .sec-nav-pos-holder { 
        min-height: 40px;
        margin-bottom: 3rem;
    }
    
    .navigation .nav-top a img {
        width: 7rem;
        height: 7rem;
        margin-bottom: 1rem;
        margin: 0 2rem 1rem 2rem;
    }
    
    .navigation .nav-top a h2 {
        font-size: 28px; /*TODO*/
    }
    
    .navigation .nav-menu a {
        padding: 14px 0;
        padding-left: 45px;
    }
    
    .navigation .nav-menu a h3 {
        margin-left: 0.2rem;
        font-size: 20px; /*TODO*/
    }
    
    .navigation .nav-bottom {
        margin-bottom: 1.5rem;
    }
    
    .nav-bottom {
        width: 90%;
        max-width: 90%;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .nav-bottom svg {
        width: 30px;
        height: 30px;
        margin: 4px; 
    }

    .nav-bottom {
        display: flex;
        width: 100%;
    }

    .social-media-inactive, .social-media-active {
        left: 10px; /*---*/
    }

    .navigation .nav-list-item svg {
        height: 25px !important; 
        margin: 5px;

    }

    .nav-menu-register, .nav-menu-login, .nav-menu-login-register-spacer  {
        font-size: 22px;
        padding-bottom: 5px !important;
    }
    .nav-menu-login-register-spacer {
        padding-top: 12px !important; 
    }

    .navigation {
        width: 250px;
    }

    /*-------------------------------------------------------------------------*/

    .color-theme-toggler {
        height: 25px;
        width: 64px;
        margin-bottom: 15px;
        border-radius: 6px;
    }

    .color-theme-toggler svg {
        width: 50%;
        height: 100%;
        padding: 2px;
        
    }

    .color-theme-toggler svg.active {
        border-radius: 6px;
    }

    .resume-holder {
        margin-top: 30px;
    }

    .button-red-outline.download-button {
        font-size: 16px !important;
        line-height: 28px;
        height: 55px !important;
        width: 150px !important;
        gap: 5% !important;
    }

    .download-button-lang {
        font-size: 14px !important;
    }

    .download-buttons {
        gap: 5%;
    }

    .section-form small {
        font-size: 12px;
    }

    .filters-type button {
        flex: 1 1 30% !important;
        min-width: 0 !important;
        padding: 5px;

        
        margin-top: 5px;
        margin-bottom: 5px;
        
        height: auto;
    }

    .filters-javascript {
        margin-bottom: 0;
    }

    .eye-shown, .eye-hidden {
        width: 40px;
    }

    
}