/* File: StyleResponsiveCv.css */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(to top left, #00a8aa, #4c1a57);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.downloadcv {
  position: fixed;
  z-index: 999;
  height: 50px;
  top: 5%;
  right: 46%;
  background: linear-gradient(to top left, #00a8aa, #4c1a57);
  border-radius: 20px;
  padding: 9px;
}
.downloadcv:hover {
  border-color: darkred;
  border-left: dodgerblue;
}

.conainer {
  position: relative;
  width: 1000px;
  max-width: 1000px;
  min-height: 100px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 2fr;
  box-shadow: 0 35px 55px rgba(0, 0, 0, 1);
  transform: scale(0.7);
  top: -120px;
  max-height: 1585px;
}

/* Print */
@media print {
  body {
    display: block;
    width: 1200px;
    position: relative;
  }
  .conainer {
    transform: scale(0.8);
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }
}

a {
  text-decoration: none;
}

.conainer .left-side {
  position: relative;
  background: #003147;
  padding: 40px;
}

.profilrText {
  position: relative;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.imgcv {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.profilrText .imgbx {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 35px rgba(23, 217, 13, 0.15);
  background-image: url(lord.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}

.profilrText h2 {
  color: #fff;
  font-size: 1.5em;
  margin-top: 20px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  line-height: 1.4em;
}
.profilrText h2 span {
  font-size: 0.8em;
  font-weight: 300;
}

.contactInfo {
  padding-top: 40px;
}
.title {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.contactInfo ul {
  position: relative;
}
.contactInfo ul li {
  list-style: none;
  margin: 10px 0;
  cursor: pointer;
}
.contactInfo ul li .icon {
  display: inline-block;
  width: 30px;
  font-size: 18px;
  color: #03a9f4;
}
.contactInfo ul li span {
  color: #fff;
  font-weight: 300;
}

.contactInfo.education li {
  margin-bottom: 15px;
}
.contactInfo.education h5 {
  color: #03a9f4;
  font-weight: 500;
}
.contactInfo.education h4:nth-child(2) {
  color: #fff;
  font-weight: 500;
}
.contactInfo.education h4 {
  color: #fff;
  font-weight: 300;
}

.contactInfo.language .persent {
  position: relative;
  width: 100%;
  height: 6px;
  background: #081921;
  display: block;
  margin-top: 5px;
}
.contactInfo.language .persent div {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #03a9f4;
}

.conainer .right-side {
  position: relative;
  background: #fff;
  padding: 40px;
}
.about {
  margin-bottom: 50px;
}
.about:last-child {
  margin-bottom: 0;
}
.title2 {
  color: #003147;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
p {
  color: #333;
}
.about p span {
  color: #03a9f4;
  font-weight: 600;
}

.about .box {
  display: flex;
  flex-direction: row;
  margin: 20px 0;
}
.about .box .year_company {
  min-width: 150px;
}
.about .box .year_company h5 {
  text-transform: uppercase;
  color: #848c90;
  font-weight: 600;
}
.about .box .text h4 {
  text-transform: uppercase;
  color: #2a7da2;
  font-size: 16px;
}

.skills .box {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 150px 1fr;
  justify-content: center;
  align-items: center;
}
.skills .box h4 {
  text-transform: uppercase;
  color: #848c99;
  font-weight: 500;
}
.skills .box .persent {
  position: relative;
  width: 100%;
  height: 10px;
  background: #f0f0f0;
}
.skills .box .persent div {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #03a9f4;
}

@media (max-width: 1000px) {
  .conainer {
    margin: 10px;
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 600px) {
  .about .box {
    flex-direction: column;
  }
  .about .box .year_company {
    margin-bottom: 5px;
  }
  .skills .box {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* File: StyleResponsiveCv.css — additions at the bottom */

/* استهداف أجهزة صغيرة جدًا مع الحفاظ على عرض لابتوب */
@media screen and (max-device-width: 350px), 
       screen and (max-height: 700px) and (orientation: portrait) {
  .conainer {
    top: -900px; /* كانت -900 بدون px */
  }
}

