@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --background-color: #f4f6f9;
  --text-color: #333;
  --accent-color: #2ecc71;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}


.t1{
    margin-top: 20px;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
}

.resume-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar {
  background-color: var(--primary-color);
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--secondary-color);
  margin-bottom: 20px;
}

.contact-info {
  text-align: center;
  margin-bottom: 20px;
}

.skills, .languages {
  width: 100%;
}
.languages{
    margin-top: 10px;
}

.skill-item, .skills-item {
  margin-bottom: 10px;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.skill-bar {
  height: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background-color: var(--accent-color);
  transition: width 1s ease-in-out;
}

.main-content {
  padding: 30px;
}

.section-title {
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.experience-item,
.education-item,
.skills-item {
  margin-bottom: 30px;
  position: relative;
  padding-left: 30px;
  border-left: 3px solid var(--secondary-color);
}

.experience-item::before,
.education-item::before,
.skills-item::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  left: -12px;
  top: 0;
}

.job-title,
.education-degree {
  font-weight: bold;
  color: var(--primary-color);
}

.job-company,
.education-school {
  color: var(--secondary-color);
}

.experience-item > ul{
    margin-left: 40px;
}
.skills-item > ul > li{
    list-style-type: none;
}

.sertificate{
    width: 100%;
    height: auto;
}
figcaption{
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 810px) {
  .resume-container {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background-color: white;
  }
  .resume-container {
    box-shadow: none;
  }
}

.contact__ul {
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: center;
  align-items: center;
}

.contact__ul li {
  list-style: none;
  
}

.contact {
  width: 100%;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  background: none;
  margin-top: 40px;
}

.contact__ul li a {
  width: 60px;
  height: 60px;
  background-color: #ffffff; 
  text-align: center;
  font-size: 32px;
  line-height: 55px; 
  margin: 0 10px; 
  display: block;
  border-radius: 50%; 
  position: relative;
  overflow: hidden;
  border: solid 3px #ffffff;
  z-index: 1;
}


.contact__ul li a .fa {
  position: relative;
  color: #262626; 
  transition: 0.5s;
  z-index: 2;
}

.contact__ul li a:hover .fa {
  color: #ffffff; 
  transform: rotateY(360deg);
}

.contact__ul li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 100%;
  left: 0;
  transition: 0.4s;
  z-index: 1;
}

.contact__ul li a:hover:before {
  top: 0;
}

ul li:nth-child(1) a:before {
  background-color: #0077b5; 
}

ul li:nth-child(2) a:before {
  background-color: #e4405f; 
}

ul li:nth-child(3) a:before {
  background-color: #25d366; 
}

ul li:nth-child(4) a:before {
  background-color: #34465d;
}

ul li:nth-child(5) a:before {
  background-color: #55acee; 
}

@media (max-width: 540px) {
  .contact__ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .contact__ul li a {
    width: 48px;
    height: 48px;
    font-size: 24px;
    line-height: 45px;
    margin: 0 5px;
  }
}

.popup{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.8s ease 0s;
    z-index: 5;
}
.popup:target{
    opacity: 1;
    visibility: visible;
}
.popup:target .popup_content{
    transform: perspective(600px) translate(0, 0) rotateX(0deg);
    opacity: 1;
    

}

.popup_area{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: default;
    -ms-user-select: none; 
		-moz-user-select: none; 
		-webkit-user-select: none; 
		user-select: none; 
}
.popup_body{
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    -ms-user-select: none; 
		-moz-user-select: none; 
		-webkit-user-select: none; 
		user-select: none; 
}
.popup_content{
    border-radius: 5px;
    background-color: #fff;
    color: black;
    max-width: 800px;
    padding: 0 25px 25px 25px;
    position: relative;
    transition: all 0.8s ease 0s;
    opacity: 0;
    transform: perspective(600px) translate(0, -100%) rotateX(45deg);
    -ms-user-select: none; 
		-moz-user-select: none; 
		-webkit-user-select: none; 
		user-select: none; 
}

.popup_title{
    font-size: 40px;
    -ms-user-select: none; 
		-moz-user-select: none; 
		-webkit-user-select: none; 
		user-select: none; 
    text-align: center;
    padding-top: 15px;
    margin-right: 15px;
    margin-left: 15px;
}

.popup_close{
    position: absolute;
    right: 10px;
    color: black;
    font-size: 22px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    -ms-user-select: none; 
		-moz-user-select: none; 
		-webkit-user-select: none; 
		user-select: none; 

}
.p__title{
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
    text-align: center;
    font-weight: 700;
}
.a_popup{
    font-size: 18px;
    font-weight: 600;
    max-width: 400px;
    color: black;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: 40px;
    border: 2px solid black;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 5px;
    transition: all 0.4s;
    -ms-user-select: none; 
		-moz-user-select: none; 
		-webkit-user-select: none; 
		user-select: none; 

}
.a_popup:hover{
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    transform: scale(1.1);
    
}

.lang__change{
    position: fixed;
    right: -3px;
    bottom: -2px;
    color: black;
    background-color: #fff;
    font-weight: 600;
    border: 2px solid black;
    padding: 3px;
    border-radius: 5px;
    padding-right: 10px;
    text-decoration: none;
    z-index: 3;
}
.popup_link{
    color: black;
    cursor: pointer;
    text-decoration: none;
    
}
.popup_text{
    margin-top: 20px;
}