* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }

nav {
    background-color: #f2f2f2;
    display: flex;
    color: #012b55;
    justify-content: space-between;
    align-items: center;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
#portfolio{
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    margin-left: 1rem;
}
#monogram{
    display: flex;
    align-items: center;
}
nav img {
    height: 5rem;
    width: 5rem;    
}
#colorLine{
    height: 0.5rem;
    background-color: #012b55;
}
li{
    list-style: none;
}
ul{
    display: flex;
}
header{    
    display: flex;
    padding: 3rem;
    align-items: center;
    justify-content: center;
}
header img{
    width: 12rem;
    height: 12rem;
    border-radius: 12rem;
}
#presentation{
    margin-left: 3rem;
}
#presentation h1{
    color: #012b55;
}
#presentation h2{
    color: #999999;
    font-weight: 400;
}
#location{
    color: #012b55;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.greyText{
    color: #999999;
}
header a{
    color: #012b55;
    text-decoration: none;
}
header a:hover{
    text-decoration: underline;
}
.leftOffset{
    margin-left: 0.5rem;
}
#navButtons li{
    color: #012b55;
    margin-left: 1rem;
}
#navButtons a{
    text-decoration: none;
    color: #012b55;
}
#all{
    font-weight: bold;   
}
#packageDesign:hover a {
    color: #99cc99;
}
#printedMaterials:hover a {
    color: #cccc99;
}
#logoDesign:hover a {
    color: #f2bec0;
}
#drawings:hover a {
    color: #99cccc;
}
#projects {
    background-color: #f2f2f2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

footer{
    background-color: #012b55;
    color: #f2f2f2;
    display: flex;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    justify-content: right;
}
footer a{
    text-decoration: none;
    color: #f2f2f2;
}
#e-mail {
    margin-left: 2rem;
}

.mainImg{
    height: 14rem;
    width: 20rem;
    border-radius: 0.3rem;
    position: relative;    
}

.section{
    letter-spacing: 0.3rem;
}
.workName{
    font-size:x-large;
    text-transform: uppercase;
    font-weight: bold;
}

.container {
    position: relative;
    margin: 0.3rem;
}
  
.textContainer {
    position: absolute;
    top: 0;
    left: 0;
    height: 14rem;
    width: 20rem;
    border-radius: 0.3rem;
    color: #012b55; /* Цвят на текста */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Първоначално скриваме текста */
    transition: opacity 0.3s ease; /* Плавно променяме прозрачността */
}
  
#drawText {
    background-color: rgba(153, 204, 204, 0.8); /* Цвят с прозрачност #99cccc */
}
  
#logoText {
    background-color: rgba(242, 190, 192, 0.8); /* Цвят с прозрачност #99cccc */
}

#packText {
    background-color: rgba(153, 204, 153, 0.8); /* Цвят с прозрачност #99cccc */
}

#printText {
    background-color: rgba(204, 204, 153, 0.8); /* Цвят с прозрачност #99cccc */
}
  
.container:hover .textContainer {
    opacity: 1; /* Показваме текста при hover */
    cursor: pointer;
}


/**-к-о-н-т-е-й-н-е-р-**/

.projectContainer{
    width: 95%;
    max-width: 1920px;
    min-width: 400px;
    margin: 0 auto; /* Центриране на контейнера на страницата */     
    background-color: white;
    border-radius: 0.3rem;
    box-shadow: 0px 15px 15px 12px rgba(0, 0, 0, 0.3);  
    
    position: absolute;
    top: 2rem;
    
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачен фон */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.projContent{
    background-color: white;
}
.projectContainer header{
    background-color: #012b55;
    color: white;
    height: 3rem;
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.projMonogram{
    display: flex;
    align-items: center;
}
.whiteMono img{
    width: 2rem;
    height: 2rem;
}
.close img{
    width: 2rem;
    height: 2rem;
    position: fixed;
    top: 40px;
    z-index: 999; /* Задава позицията над останалите елементи */
}
.close img:hover{
    cursor: pointer;
}
.path{
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
    margin-left: 1rem;
}
/**-P-I-C-**/
.projContent img{
    width: 100%;
}
/**-Т-Е-X-T-**/
.projText{
    padding: 3rem 6rem;
}
.projTitle{
    font-weight: 400;
    font-size: 3rem;
    color: #012b55;
    margin-bottom: 0.7rem;
}
.projSubtitle{
    text-transform: uppercase;
    color: #012b55;
    margin-bottom: 1rem;
}
.projDescription span{
    color: #012b55;
}
.projDescription{
    color: #999999;
}

/* CV */
#cvContainer{
    width: 70%;
    margin: 0 auto;
    display: flex;
    box-sizing: border-box;
    margin-bottom: 2rem;
}
#personal{
    width: 50%;
    padding-right: 2rem;
}
#cvImageContainer img{
    width: 200px;
    border-radius: 100px;
    margin-top: 2rem;
}
#personal h1{
    color: #012b55;    
    margin-top: 2rem;
    margin-bottom: 1rem;
}
#personal h4{
    font-weight: 400;
    font-size: 1rem;
    box-sizing: border-box;
}
.cont{
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.cont h4{
    padding-left: 1rem;
}
.personal{
    display: flex;
}
.skill{
    margin-top: 0.7rem;
    margin-bottom: 0.5rem;
}
#cvName{
    font-weight: 600;
    font-size: 3rem;
    color: #012b55;   
    padding-top: 8.1rem;
    padding-bottom: 3rem;
}

#profesional h1{
    color: #012b55;    
    margin-top: 2rem;
    margin-bottom: 1rem;
}
#profesional h4{
    font-weight: 400;
    font-size: 1rem;
    box-sizing: border-box;
}
.schoolName{
    font-size: 1.3rem;
    padding-bottom: 0.3rem;
    padding-top: 0.3rem;
}
.years{
    color: #012b55;  
}
.speciality{
    padding-bottom: 1rem;
    color: #012b55;  
}
.speciality{
    padding-top: 0.5rem;
}

#download{
    background-color: #012b55;
    color: white;
    margin-top: 3rem;
    padding: 0.7rem;
    width: 10rem;
    text-align: center;
    border-radius: 1rem;
}
#download a{
        text-decoration: none;
        color: white;

}
#download:hover{
    cursor: pointer;
}

@media(width <= 700px) {
    nav{
        flex-direction: column;
    }
}
@media(width <= 450px) {
    #navButtons ul{
        display: flex;
        flex-direction: column;
        margin-left: 3rem;
    }
    header {
        flex-direction: column;
    }
}