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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.5;
    background: #f1f3f1;
    color: #0a0a0a;
    margin: 0;
    padding: 0;

}


form {
    
    margin: 80px;
    
    
}

form label {
    font-size: 20px;
    
}

form fieldset input {
    width: 50%;
    height: 50%;
    
    
}

form textarea {
    width: 50%;
    height: 50%;
    
    
}

header {
    background: black;
    margin-top: 40px;
    height: 400px;
    text-align: center;
    padding: 40px;
    
    
    
}


header a {
    color: #f1f3f1;
    
}
header h1 {
    color: #f1f3f1;
}
header ul{
    
    display: inline-block;
    list-style-type: none;
}

header ul li {
    display: inline-block;
    margin: 0 20px 0 0;
}

.img {

    max-width: 100%;
    
    border: 3px #F2F2F2;
}

.avatar {
    border: 3px #F2F2F2;
}

.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: #769183;
    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;
}

h1 {
    font-size: 27px;
    margin: 80px;
    opacity: 0.9;
}

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

.my-title {
    font-size: 24px;
    font-weight: 300;
    color: #163d04;
    font-weight: bold;

}

.links {
    display: flex;
    margin: 10px 0 2px 0;
    color: #163d04;
}

.link-item {
    display: flex;
    align-items: center;
    color: #163d04;
    flex: 1;

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


.job {
    padding-bottom: 24px;
    margin-bottom: 24px;
    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: 18px;
}

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

}

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

}

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

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

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

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

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

.social-icon {
    color:#323232 ;
    transition: color 0.2s; 
    align-content: center;
    font-size: 150%;
    
    
}



.social-icon:hover {
    color: #4cad20;
    
    

}

footer {
    display: flex; 
    justify-content: center; 
    align-items: center;
    flex-direction: column;
    text-align: center;
    
    
    
    
}
#gallery {
    line-height:0;
    -webkit-column-count:5; /* split it into 5 columns */
    -webkit-column-gap:5px; /* give it a 5px gap between columns */
    -moz-column-count:5;
    -moz-column-gap:5px;
    column-count:5;
    column-gap:5px;
 }
 #gallery img {
    width: 100% !important;
    height: auto !important;
    margin-bottom:5px; /* to match column gap */
 }

@media only screen and (max-width : 768px) {
    .section {
        grid-template-columns: 1fr;
    
    }
    .links, .job-title-container{
        flex-direction: column;
    }

    .skills-container {
        grid-template-columns: 1fr 1fr;
    }
    .int-container {
        grid-template-columns: 1fr ;
    }
    #gallery {
        -moz-column-count:    2;
        -webkit-column-count: 2;
        column-count:         2;
       }
}