/* General Styles */
body {
    font-family: "Montserrat", sans-serif;
    background-color: rgb(226, 226, 226);
    margin: 0;
    padding: 0;
}

/* Header Section */
.top-section {
    background-color: rgb(226, 226, 226);
}

.bg1 {
    width: 100%;
    height: auto;
}

.changel {
    text-align: right;
    margin-top: -17%
}

.contacts-section {
    padding-left: 1%;

}



.romanianl{
    color: #104d08b6;
    font-size: 1.7vw;
    font-weight: 400;
    text-decoration: none;
}

.englishl {
    color: #104d08;
    font-size: 1.7vw;
    font-weight: 800;
    text-decoration: none;
}

.contacticons {

}

.contacts-element{
    width:2.5%;
    padding-top: 0.3%;


}

.aboutme {
    font-size: 1.05vw;
    font-weight: 500;
    padding: 0 20px;
    margin-top: -9%;
    padding-left: 15%;

}


.profileimage {
    width: 10%;
    margin-top: -15%;
    padding-left: 6%;
}

.firstpage{
    padding-left: 20%;
    margin-top: -10%;
    color: #cc410a;
    font-size: 1.2vw;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}
.secondpage {
    color: #cc410a;
    font-size: 1.2vw;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    padding-left: 60px;
}
.currentpage {
    color: #e2a29a;
    font-size: 1.2vw;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    padding-left: 60px;
}

.otherpagelink {
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
}

/* Main Content Section */
.right-side-container {
    background-color: rgb(255, 255, 255);
    margin-left: 10%;
    margin-right: 10%;
    margin-top: -5.9%;
    padding-left: 2%;
    padding-top: 5%;
}

.name{
    color: #cc410a;
    font-size: 66px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin-top: 0px;
    font-family: "Freehand", cursive;
}


projects,
.experience {
    margin-top: 40px;
}

.projectsheader,
.Illustrations,
.exptitle,
.edutitle,
.skills-header {
    font-size: 2rem;
    font-weight: 700;
    color: #104d08;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
  
}


.projectsheader{
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #104d08;
    margin-top: 20px;
    text-transform: uppercase;
    font-family:'Poppins', sans-serif;

}

.projectslist{
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-left: -20px;
    margin-top: 0px;
    color:#104d08;
}

.projectname{
    color: #595959;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration-line: underline;
}

.projectinfo{
    font-weight: 400;
    font-size: 22px;
}

.experience{
    margin-top: 40px;
}

.exptitle{
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #104d08;
    margin-top: 50px;
    text-transform: uppercase;
    font-family:'Poppins', sans-serif;

}
.company-name{
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.companyinfo{
    color: #cc410a;
    margin-left: 0px;
    font-weight: 700;
    font-family: "Freehand", cursive;
    font-size: 32px;

}
.expperiod{
    color: #595959;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: -30px;

}

.joblist{
    color: #595959;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 50px;
    margin-top: 10px;

}
.company-container{
    margin-top: -10px;
}

.edutitle{
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #104d08;
    margin-top: 50px;
    text-transform: uppercase;
    font-family:'Poppins', sans-serif;
}

.edu-place{
    color: #cc410a;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 30px;
    margin-left: 50px;
    font-family: "Freehand", cursive;
}

.edu-type{
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: -25px;
    margin-left: 50px;

}

.edu-period{
    color: #a8a8a8;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: -15px;
    margin-bottom: 20px;
    margin-left: 50px;

}

.skills-header{
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #104d08;
    margin-top: 40px;
}

.skills-list{
    color: #595959;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 50px;
}
.softskills-section {
    margin-left: 60%;
    margin-top: -21%;
}

.otherskills-section{
    padding-top: 1%;
    padding-bottom: 3%;

}

.bottom-container{
    background-color: #cc410a; 
    height: 10%;
    display: flex;
    flex-direction: row ;
    padding-left: 35%;
}

.secondcontact {
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    padding-left: 8%;
    margin-top: 5%;
}


    
.otherpagelinkbot{
    text-decoration: none;
    font-weight: 400;
}
.contactstext{
    color: #ffffff;
    font-size: 0.8vw;
    text-decoration: none;
    text-align: center;
    font-weight: 400;
    
}

.Contactmetext{
    color: #ffffff;
    font-size: 1.5vw;
    text-decoration: none;
    text-align: center;
    font-weight: 400;
    font-family: "Freehand", cursive;
}


/* Media Queries for Responsiveness */
@media only screen and (max-width: 768px) {

    .contacts-element{
        width:1%;
        padding-top: -5px;
    
    }

    .aboutme {
        margin-top: -120px;
    }
    .currentpage{
        margin-top: -100px;

    }
    .profileimage {
        margin-top: -850px;
        margin-left: 100px;
    }
    .right-side-container {
        margin-top: -146px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .currentpage,
    .secondpage {
        padding-left: 30px;
    }
    .name {
        font-size: 1.5rem;
        padding-top: 50px;
    }
    .projectsheader,
    .exptitle,
    .edutitle,
    .skills-header {
    font-size: 1rem;
    }
    .projectname,
    .projectinfo{
        font-size: 0.8rem;
    }
    .company-name,
    .edu-place {
        font-size: 1rem;
    }
    .companyinfo {
        font-size: 1rem;
    }
    .projectslist,
    .joblist,
    .skills-list {
        font-size: 0.8rem;
    }
    .expperiod,
    .edu-period {
        font-size: 0.6rem;
    }

    .currentpage{
        margin-top: -100px;

    }

    .softskills-section{
        margin-left: 0px;
        margin-top:0px;

    }



}

.projectssubheader{ font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #2d6426;
    margin-top: 20px;
    padding-left: 60px;
    text-transform: uppercase;
    font-family:'Poppins', sans-serif;
}




.experience{
    margin-top: 40px;
}



.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2%;
}

.thumbnails img {
    width: auto; /* Adjust thumbnail size as needed */
    height: 200px;
    margin: 10px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 100%; /* Set maximum width to 100% of the viewport width */
    max-height: 90vh; /* Set maximum height to 90% of the viewport height */
    width: auto;
    height: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}