body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
    background-color: black;
}

html{
    scroll-behavior: smooth;
}

header{
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 3vh;
    max-height: 8vh;
    height: auto;
    background-color: rgba(255, 255, 255, 0.121);
    backdrop-filter: blur(5vh);
    box-shadow: 0 0 1.5vh #72a1dea2;
    z-index: 999;
}

.left{
    display: flex;
    align-items: center;
    max-width: 25%;
    width: auto;
}

header ul{
    display: flex;
    justify-content: space-between;
    width: 50%;
    max-width: 1000px;
    padding: 1.5vh 1.5vh;
    border-radius: 5vh;
    background-color: rgba(0, 0, 69, 0.326);
    backdrop-filter: blur(1vh);
    box-shadow: 0 0 1vh #72a1de63;
}

header ul li{
    list-style: none;
}

header ul a{
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: 0.3s;
    margin: 0 1vh;
}

header ul a:hover{
    text-shadow: 0 0 1.5vh black;
}

.sebi{
    color: #551a8b;
}

.box-icons{
    display: flex;
    justify-content: right;
    gap: 4vh;
    max-width: 25%;
    width: auto;
}

@media (max-width: 1666px){
    .left {
        width: 30%;
        max-width: 30%;
    }

    header ul {
        max-width: 58%;
        width: 58%;
    }

    .box-icons{
        max-width: 12%;
        width: 12%;
    }
}

@media (max-width: 1510px){

    header ul {
        width: 70%;
        max-width: 70%;
    }

    .box-icons{
        width: 0%;
        max-width: 0%;
        display: none;
        visibility: hidden;
    }
}

@media (max-width: 1400px){
    
    .sebi {
        width: auto;
        max-width: 0%;
        display: none;
        visibility: hidden;
    }
}

@media (max-width: 880px){

    .left {
        width: auto;
        max-width: 0%;
        display: none;
        visibility: hidden;
    }

    header ul {
        width: 100%;
        max-width: 100%;
    }    
}

@media (max-width: 630px){

    header ul {
        font-size: 1vh;
    }
}


section {
    position: relative;
    display: flex;
    top: 10vh;
    right:0;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    width: auto;
}

.mypic {
    border-radius: 50%;
    height: auto;
    width: auto;
    text-align: center;
}

.intro{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collay {
    flex-direction: column;
    justify-content: space-between;
    padding-left: 5vh;
    padding-right: 5vh;
}

@media(max-width: 1250px){
    .intro{
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }

    .mypic {
        max-width: 100%;
        text-align: center;
    }

    .collay{
        max-width: 100%;
    }

    .desc {
        max-width: 100%;
        width: auto;
    }
}

.name{
    text-align: left;
    font-size: 7vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.desc{
    font-size: 3vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: -2.9vh;
}

.dipl {
    text-shadow: 0px 1.4vh 0.2vh white, 0px -1.4vh 0.2vh white;
}

.gradient{
    background: linear-gradient(to right,#00aaa7, #6070fd,#2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}
@keyframes animate-gradient {
    to{
        background-position: 200%;
    }
}

.allskill{
    flex-direction: column;
}

.skills{
    margin: auto;
    position: relative;
    top: 20vh;
    justify-content: center;
    text-align: center;
    font-size: 7vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 3vh 3vh;
    max-width: 90%;
    width: auto;
    border-radius: 2vh;
    box-shadow: 0 0 4.5vh #72a1dea2;
    backdrop-filter: blur(0.5vh);
    background: linear-gradient(to right,#00aaa7, #6070fd,#2a46ff, #0099ff, #008ead);
}

.skillboxes {
    position: relative;
    display: flex;
    justify-content: space-between;
    max-width: 90%;
    width: auto;
    margin: auto;
    top: 22vh;
    text-align: center;
    border-radius: 2vh;
}

.box{
    text-align: center;
    margin: auto;
    border-radius: 2vh;
    backdrop-filter: blur(0.5vh);
    max-width: 30%;
    width: auto;
    border: 0.1vh solid rgba(114, 161, 222, 0.1);
    box-shadow: 0 0 2.5vh rgba(114, 161, 222, 0.7);
    background: rgba(114, 161, 222, 0.8);
}

.frontsym{
    text-align: center;
    font-size: 6vh;
    color: white;
    padding-top: 1vh;
}

.skilltitle{
    font-size: 3.5vh;
    text-decoration: underline;
    text-shadow: 0 0 20px white;
}

.skilldesc{
    margin: auto;
    color: gainsboro;
    text-align: center;
    justify-content: center;
    padding-top: 2vh;
    max-width: 70%;
    width: auto;
    font-size: 2vh;
    padding-bottom: 2vh; 
}

.langtitle{
    margin: auto;
    font-size: 3.3vh;
    text-shadow: 2px 5px  #2a46ff, 3px 7px 1px #6070fd;
}

.languages{
    padding-top: 2vh;
    font-size: 2vh;
    padding-bottom: 2vh;
    line-height: 2.2; 
}

@media(max-width: 1250px){
    .skillboxes{
        flex-direction: column;
        max-width: 100%;
        width: auto;
    }

    .box{
        max-width: 90%;
        width: auto;
        margin-bottom: 2vh;
    }
}

@media(max-width: 650px){
    .skills{
        max-width: 90%;
        width: auto;
    }
}

.webtitle{
    position: relative;
    top: 40vh;
    text-align: center;
    font-size: 8vh;
    padding-bottom: 2vh;
}

.webdesc{
    position: relative;
    top: 42vh;
    text-align: center;
    width: 70%;
    margin: auto;
    justify-content: space-between;
    line-height: 1.7;
    font-size: 2vh;
}

.achievtitle{
    position: relative;
    display: flex;
    font-size: 7vh;
    padding-top: 10vh; 
    margin: auto;
    justify-content: center;
    text-align: center;
    text-decoration: underline;
    width: 100%;
    max-width: 100%;
}

.achiev{
    position: relative;
    text-align: center;
}

.grades {
    position: absolute;
    display: flex;  
    padding-top: 1vh;
    width: 100%;
    max-width: 100%;   
}

.bar {
    --aspect-ratio: 4/3;
}

.gradesdesc{
    padding-top: 15vh;
}

.grade-chart{
    max-width: 100%;
    width: 100%;
    margin: auto;
}

.project {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 100%;
}

.otherachiev{
    position: absolute;
    display: flex;
    padding-top: 300vh; 
    width: 100%;
    max-width: 100%;
}

.bar-item {
    margin: auto;
    width: 95%;
    display: flex;
    align-items: center;
    gap: 1vh;
    font-family: Arial, sans-serif;
}

.label {
    width: auto;
    max-width: 100%;
    min-width: 10%;
    font-size: 1.8vh;
    font-weight: bold;
    color: white;
    text-align: left;
}

.bar {
    flex: 1;
    height: 2.5vh;
    background-color: #1a1a1a;
    border-radius: 1vh;
    overflow: hidden;
    box-shadow: inset 0 0 5px #555;
    max-width: 90%;
    width: 90%;
}

.fill {
    height: 100%;
    background: linear-gradient(to right, #00aaa7, #6070fd);
    border-radius: 1vh;
    transition: width 0.6s ease;
}

.percent {
    max-width: 100%;
    width: 5%;
    text-align: right;
    color: lightgray;
    padding-right: 5%;
}


.circle-chart {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 2vh;
  display: inline-block;
}

.circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
  font-size: 1.6vh;
  box-shadow: 0 0 1vh rgba(0, 170, 167, 0.5);
}

.inside {
  position: absolute;
  font-weight: bold;
}

.math {
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.bwm{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.ggp{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.pos{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.english{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.german{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.wmc{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.dbi{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.nawi{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.nscs{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.dsai{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.syp{
    background: conic-gradient(#00aaa7 0% 85%, #222 85% 100%);
}

.projectall{
    padding-top: 6vh;
}

.projsquare{
    justify-content: space-between;
    display: flex;
    text-align: center;
    flex-direction: row;
}

.projdesc{
    border: solid #0099ff 2px;
    width: 45%;
    max-width: 45%;
    height: 100%;
    padding-bottom: 50vh;
    margin: auto;
    border-radius: 8vh;
    box-shadow: 0 0 5vh #0099ff;
    text-align: center;
}

.projdesctitle{
    font-size: 9vh;
    padding-top: 2vh;
}

.projdescdesc{
    padding-top: 2vh;

}

.projimageimage{
    display: flex;
    width: auto;
    height: auto;
    max-width: 45%;
    max-height: 45%;
    margin: auto;
    align-items: center;
    justify-content: center;
    border-radius: 50vh;
}

/* === Timetable Container === */
.timetable-container {
  max-width: 1000px;
  margin: 40px auto;
  background: white;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* === Title === */
.title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #2a3b58;
}

/* === Table Wrapper (for red line positioning) === */
.table-wrapper {
  position: relative;
  overflow: visible;
}

/* === Table Base === */
.timetable {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

/* === Header === */
.timetable th {
  background: #2a3b58;
  color: white;
  padding: 12px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* === Table Cells === */
.timetable td {
  border: 1px solid #e0e6ef;
  text-align: center;
  padding: 18px;
  transition: background 0.3s ease;
}

.timetable td:hover {
  background: #f0f3fa;
}

/* === Highlight current lesson row === */
.current-lesson td {
  background: #fff2f2;
  font-weight: bold;
}

/* === Default row height for lessons === */
.timetable tbody tr {
  height: 60px;
}

/* === Break rows (shorter, lighter) === */
.timetable tbody tr.break {
  height: 25px;
  background: #f8f9fa;
  font-size: 0.85em;
  color: #999;
}

/* === Red Time Line (shows current time) === */
.time-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff3b30;
  z-index: 999;
  box-shadow: 0 0 6px rgba(255, 59, 48, 0.5);
  transition: top 0.3s ease;
}

/* === Time Label (floating current time indicator) === */
.time-label {
  position: absolute;
  left: -60px;
  background: #ff3b30;
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.85rem;
  transform: translateY(-50%);
  z-index: 1000;
  box-shadow: 0 0 6px rgba(255, 59, 48, 0.3);
  font-family: "Inter", sans-serif;
}

/* === Cancelled Lesson Overlay === */
.cancelled {
  position: relative;
}

.cancelled::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.3);
  backdrop-filter: blur(1px);
  pointer-events: none;
  border-radius: 6px;
}
