html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.5;
    background: #f2f2f2;
    color: #323232;
}

img {
    max-width: 100%;
}

.icon {
    fill: currentColor;
    display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
}

a {
    color: #323232;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 32px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section {
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid lightgrey;
}

section:last-child {
    border-bottom: none;
}

.section-title {
    font-weight: bold;
    font-size: 18px;
}

/* Header Info*/

img.passport {
    width: 130px;
}

.name {
    font-size: 48px;
    line-height: 1;
}

.position {
    font-size: 24px;
    font-weight: 300;
    color: #236fb2;
}
.links {
    display: flex;
    margin: 10px 0 10px 0;
}

.link-item {
    display: flex;
    align-items: center;
    flex: 1;
}

.link-item svg {
    margin-right: 6px
}

/* Education */

.edu {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid lightgray;
}

.edu:last-child {
    border-bottom: none;
}

.edu-title-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 16px;
}

.edu-title {
    font-weight: bold;
    line-height: 1.2;
}

.edu-school {
    font-weight: 300;
    line-height: 1.2;
}

/* Experience */

.job {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid lightgray;
}

.job:last-child {
    border-bottom: none;
}

.job-title-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 16px;
}

.job-title {
    font-weight: bold;
    line-height: 1.2;
}

.job-company {
    font-weight: 300;
    line-height: 1.2;
}

.details {
    font-size: 14px;
    font-style: italic;
}

/* Continious Learning */

.learning-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 24px
}

.learning-container {
    margin-left: 20px;
    list-style-type: disc;
}

/* Skills */

.skills-container {
    font-size: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 24px
}

.skills-container {
    margin-left: 20px;
    list-style-type: disc;
}


/* form */
.my-form {
    padding: 5px;
}

.form-title {
    padding-bottom: 20px;
}

.my-form input[type ="text"], .my-form input[type ="Email"], .my-form textarea {
    padding: 10px;
    width: 50%;
    resize: none;
}

.my-form .button[type ="submit"] {
    background-color: #000000;
    color: white;
    padding: 10px;
    width: 20%;
}




@media only screen and (max-width : 768px) {
    section {
      grid-template-columns: 1fr;
    }
  

    .links, .edu-title-container, .job-title-container {
      flex-direction: column;
    }
  

    .skills-container, .learning-container {
      grid-template-columns: 1fr 1fr;
    }

  }
