@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
  font-family: 'Open Sans', sans-serif;
  text-decoration: none;
}

body {
    background: rgb(255, 255, 255);
}

.nav {
  background: rgb(5, 68, 104);
}

.content {
  background: rgb(255, 255, 255);
}

.side-primary {
  background-color: rgb(5, 68, 104);
  /* flex-direction: column; */
}

.side-secondary {
  background-color: rgb(5, 68, 104);
}

.footer {
  background: rgb(15, 127, 191);
}

.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.container > div {
  width: 100%;
}

@media screen and (min-width: 640px) {
  .nav {
    width: 100%;
  }
 
  .side-primary {
    display: block;
    flex: 1;
  }
 
  .content {
    flex: 3;
  }
 
  .side-secondary {
    display: none;
  }
 
  .footer {
    width: 100%;
  }
}

.element {
  /* If one unitless value is given: flex-grow, flex-basis: 0; */
  flex: 3;
 
  /* If one value is given with unit: flex-basis */
  flex: 10em;
 
  /* Two values, unitless: flex-grow | flex-shrink */
  flex: 3 3;
 
  /* Two values, with unit: flex-grow | flex-basis */
  flex: 3 100px;
 
  /* Three values: flex-grow | flex-shrink | flex-basis */
  flex: 2 2 10%;
}

@media screen and (min-width: 1024px) {
  .nav {
    width: 100%;
  }
 
  .side-primary {
    display: block;
    flex: 1;
  }
 
  .content {
    flex: 3;
  }
 
  .side-secondary {
    display: block;
    flex: 1;
  }
 
  .footer {
    width: 100%;
  }
}


.contacts {
    color: rgb(255, 255, 255);
    font-size: 16px;
}

.hbar {
    height:2px; 
    border-width:0; 
    margin-right:2px; 
    color:rgb(255,255,255); 
    background-color:rgb(255,255,255);
}

.wrapper .sidebar{
    background: rgb(5, 68, 104);
    top: 0;
    left: 0;
    min-width: 200px;
    height: 100%;
    padding: 20px 0;
    transition: all 0.5s ease;
}

.wrapper .sidebar .profile{
    margin-bottom: 30px;
    text-align: center;
}

.wrapper .sidebar .profile img{
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
}

.wrapper .sidebar .profile h3{
    color: rgb(255, 255, 255);
    margin: 10px 0 5px;
    font-size: 20px;
}

.wrapper .sidebar .profile p{
    color: rgb(255, 255, 255);
    font-size: 18px;
}

.wrapper .sidebar ul li a{
    display: block;
    padding: 13px 30px;
    border-bottom: 1px solid rgb(5, 68, 104);
    color: rgb(255, 255, 255);
    font-size: 16px;
    position: relative;
}

.wrapper .sidebar ul li a .icon{
    color: rgb(255, 255, 255);
    width: 30px;
    display: inline-block;
}

.wrapper .sidebar ul li a:hover,
.wrapper .sidebar ul li a.active{
    color: rgb(5, 68, 104);

    background:rgb(255, 255, 255);
    border-right: 2px solid rgb(5, 68, 104);
}

.wrapper .sidebar ul li a:hover .icon,
.wrapper .sidebar ul li a.active .icon{
    color: rgb(5, 68, 104);
}

.wrapper .sidebar ul li a:hover:before,
.wrapper .sidebar ul li a.active:before{
    display: block;
}

.summary {
    background: rgb(255, 255, 255);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid rgb(5, 68, 104);
    margin-bottom: 30px;
}

.experience-item, .education-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
}

.content {
    float:left;
    /* width:100%; */
    /* padding: -20px; */
    /* width:300px; */
}

.content h2 {
    font-size: 30px;
    font-weight: bold;
    margin: 5px;
    background-color: rgb(228, 228, 228);
    border-radius: 10px;
    padding: 10px;
}

.content .work-container hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: 1px solid #ddd;

}

/* Work Experience Styles */
.work-container {
    padding: 10px;
}

.work-container h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 6px;
}

.work-container h4 {
    font-size: 18px;
    margin-bottom: 6px;
    font-style: italic;
}

.work-container h5 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
    
}

.work-container ul {
    list-style-type: square;
    margin-left: 20px;
}

.work-container li {
    display: list-item;
    margin-bottom: 8px;
}

/* Skills for Resume */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-top: 3px solid #667eea;
}

.skill-category h4 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.skill-tag {
    background:rgb(7, 105, 185);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
}

/* GitHub Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 20px;
}

.project-card {
    background: rgb(248, 249, 250);
    padding: 25px;
    border-radius: 8px;
    border-top: 3px solid rgb(102, 126, 234);
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
    margin-bottom: 5px;
    color: rgb(5, 68, 104);
}

.project-card a {
    color: rgb(0, 0, 250);
    text-decoration: none;
    font-weight: 600;
}

.project-card a:hover {
    text-decoration: underline;
}

.project-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: rgb(102, 102, 102);
}