body {
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: 'Lato', Verdana, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

/* Lato font-face rules */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

h1 {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 500;
  margin: 0;
  padding: 0;
}
h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

/* Layout */
.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
@media (min-width: 992px) {
    .container {
        width: 970px;
     }
}
.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

/* Home section */
#home {
    margin-top: 30px;
}
#home-img {
    grid-column: span 6;
    text-align: center;
}
#home-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
#home-about {
    grid-column: span 6;
    text-align: center;
    padding-top: 30px;
    padding-left: 30px;
}
#home-about h1 {
  margin-bottom: 18px;
}
@media (max-width: 768px) {
    #home-img {
      grid-column: span 12;
      text-align: center;
    }
    #home-img img {
        width: 90px;
        height: 90px;
        border-radius: 45px;
    }
    #home-about {
    	grid-column: span 12;
        padding-top: 20px;
        padding-left: 0px;
        text-align: center;
    }
    h1 {
        font-size: 24px;
    	font-weight: normal;
    }
    h2 {
        font-size: 16px;
        font-weight: normal;
    }
}
@media (max-width: 600px) {
  .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #home-about, #home-img {
    grid-column: span 12 !important;
    width: 100%;
    padding: 0 !important;
    text-align: center;
  }
  #home-img img {
    width: 120px;
    max-width: 120px;
    height: 120px;
  }
  #home-icon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
  }
  #home-icon a, #home-icon .cv-icon-btn {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 0;
  }
  #home-icon i, #home-icon .fas, #home-icon .fab {
    font-size: 1.5rem;
  }
  h1 {
    font-size: 1.5rem;
    font-weight: 500;
  }
  h2 {
    font-size: 1rem;
  }
}
hr {
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    padding: 0;
    margin: 20px 0px 20px 0px;
    border: 0;
}

#home-icon {
  text-align: center;
}
#home-icon a:link, #home-icon a:visited, .cv-icon-btn {
  color: #1772d0;
  display: inline-block;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 8px;
  margin: 0 0.5px;
  text-align: center;
  line-height: 48px;
  transition: color 0.2s;
  font-size: 0;
  border: none;
  padding: 0;
}
#home-icon a:hover, #home-icon a:focus, .cv-icon-btn:hover, .cv-icon-btn:focus {
  color: #f09228;
  background: #fff;
}
#home-icon i, #home-icon .fas, #home-icon .fab {
  font-size: 2rem;
  vertical-align: middle;
}
.cv-icon-btn {
  color: #1772d0;
  display: inline-block;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 8px;
  margin: 0 0.5px;
  text-align: center;
  line-height: 48px;
  transition: color 0.2s;
  font-size: 0;
  border: none;
  padding: 0;
}
.cv-icon-btn:hover, .cv-icon-btn:focus {
  color: #f09228;
  background: #fff;
}
.cv-icon-btn i {
  font-size: 2rem;
  vertical-align: middle;
}

/* Resume section */
#resume {
	margin-top: 30px;
}

#resume .timeline-block {
    margin-bottom: 4.5rem;
  }

  
#resume-img {
    grid-column: span 4;
    text-align: center;
}
#resume-img .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}
#resume-img .logo-container img {
    max-width: 100%;
    height: auto;
}
#resume-intro {
    grid-column: span 8;
}
#resume-intro p {
    text-align: left;
}

#resume .resume-timeline {
    max-width: 980px;
    margin-top: 30px;
}
#resume .timeline-wrap {
	position: relative;
	margin-top: 1rem;
	margin-bottom: 6rem;
}
#resume .timeline-wrap::before {
	content: "";
	display: block;
	width: 1px;
	height: 100%;
	background: rgba(0, 0, 0, 0.1);
	position: absolute;
	left: 35%;
	top: 0;
}
#resume .timeline-block {
	position: relative;
	padding-top: 1.0rem;
}
#resume .timeline-ico {
	height: 3.2rem;
	width: 3.2rem;
	line-height: 3.2rem;
	background: #313131;
	border-radius: 50%;
	text-align: center;
	color: #FFFFFF;
	position: absolute;
    left: 35%;
    top: 1.6rem;
	margin-left: -1.6rem;
}
#resume .timeline-header {
	float: left;
	width: 30%;
	padding-right: 90px;
	text-align: right;
}
#resume .timeline-header h3 {
	margin-bottom: 0;
}
#resume .timeline-content {
	margin-left: 35%;
	padding-left: 60px;
}
#resume .timeline-content h4 {
	position: relative;
}
@media only screen and (max-width:768px) {
    #resume-img {
        grid-column: span 12;
    }
    #resume-intro {
        grid-column: span 12;
    }
	#resume .timeline-wrap::before {
		left: 1.8rem;
	}
	#resume .timeline-ico {
		height: 1.8rem;
		width: 1.8rem;
		line-height: 1.8rem;
		left: 1.8rem;
		margin-left: -0.8rem;
		font-size: 1rem;
	}
	#resume .timeline-header {
		float: none;
		width: auto;
		padding-right: 15px;
        text-align: left;
        padding-left: 4rem;
	}
	#resume .timeline-header h3 {
		font-size: 1.2rem;
	}
	#resume .timeline-header p {
		font-size: 1rem;
	}
	#resume .timeline-content {
        margin: 0;
        font-size: 1rem;
        padding-left: 4rem;
	}
	#resume .timeline-content h4 {
		padding-bottom: 0;
		font-size: 1rem;
	}
}

.home-desc {
  text-align: left;
  margin: 0 auto 18px auto;
  max-width: 420px;
  font-size: 1.05rem;
  color: #333;
}
@media (max-width: 600px) {
  .home-desc {
    font-size: 0.95rem;
    max-width: 95vw;
  }
}
