* {
  margin: 0;
  padding: 0;
  color: #F7F7FF;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

@media only screen and (max-width: 75em) {
  html {
    font-size: 59%
  }
}

@media only screen and (max-width: 56.25em) {
  html {
    font-size: 56%
  }
}

@media only screen and (min-width: 112.5em) {
  html {
    font-size: 65%
  }
}

body {
  box-sizing: border-box;
  position: relative;
  font-family: sans-serif;
  overflow-x: hidden;
  overflow-y: scroll;
  font-family: 'Source Sans Pro', sans-serif;
  display: block;
  /* background:
    radial-gradient(circle farthest-side at 0% 50%, #F7F7FF 23.5%, rgba(240, 166, 17, 0) 0) 21px 30px,
    radial-gradient(circle farthest-side at 0% 50%, #00005D 24%, rgba(240, 166, 17, 0) 0) 19px 30px,
    linear-gradient(#F7F7FF 14%, rgba(240, 166, 17, 0) 0, rgba(240, 166, 17, 0) 85%, #F7F7FF 0) 0 0,
    linear-gradient(150deg, #F7F7FF 24%, #00005D 0, #00005D 26%, rgba(240, 166, 17, 0) 0, rgba(240, 166, 17, 0) 74%, #00005D 0, #00005D 76%, #F7F7FF 0) 0 0,
    linear-gradient(30deg, #F7F7FF 24%, #00005D 0, #00005D 26%, rgba(240, 166, 17, 0) 0, rgba(240, 166, 17, 0) 74%, #00005D 0, #00005D 76%, #F7F7FF 0) 0 0,
    linear-gradient(90deg, #00005D 2%, #F7F7FF 0, #F7F7FF 98%, #00005D 0) 0 0 #F7F7FF;
    background-size:40px 60px;
  z-index: -1; */
}

a {
  text-decoration: none;
  color: inherit
}

li {
  list-style: none
}

header {
  position: fixed;
  width: 100%;
  text-align: center;
  padding: 1.5rem 0;
  background-color: #00005D;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5rem;
}

.header-logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.header-image-container {
  width: 10rem;
  height: 5rem;
  border-radius: 50px;
  overflow: hidden;
  margin-right: 1.5rem;
}

.header-image {
  width: 50px;
  height: 50px;
  border-radius: 100px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.header-name {
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.header-links {
  display: flex;
}

.header-link-wrapper {
  list-style: none;
}

.header-link {
  padding: 2.2rem 3rem;
  display: inline-block;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.home {
  background-color: #F7F7FF;
  padding: 12rem 0;
}

.home-container {
  max-width: 120rem;
  margin: auto;
  margin-top: 5rem;
  width: 92%
}

.home-heading {
  margin-bottom: 9em;
}

.home-heading-main {
  color: #00005D;
  display: block;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.home-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10rem;
}

.home-content-title {
  color: #00005D;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.home-content-details-para {
  color: #00005D;
  font-size: 1.8rem;
  max-width: 60rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: center;
}

.about {
  background-color: #F7F7FF;
  padding: 12rem 0;
}

.about-container {
  max-width: 120rem;
  margin: auto;
  margin-top: 5rem;
  width: 92%
}

.about-heading {
  margin-bottom: 9em;
}

.about-heading-main {
  color: #00005D;
  display: block;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10rem;
}

.about-content-title {
  color: #00005D;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.about-content-main-left {
  text-align: center;
}

.about-content-main-right {
  text-align: center;
}

.about-content-skills {
  margin-left: auto;
}

.about-content-details {
  flex: 1;
}

.about-content-image-container {
  display: flex;
  align-items: center;
}

.about-content-details-para {
  color: #00005D;
  font-size: 1.8rem;
  max-width: 60rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.skills-skill {
  padding: 1rem 2rem;
  margin-bottom: 1.5rem;
  margin-right: 1.5rem;
  font-size: 1.6rem;
  background: #00005D;
  color: #F7F7FF;
  border-radius: 5px;
  font-weight: 600;
}

.projects {
  background-color: #FFE66D;
  padding: 12rem 0;
}

.project-container {
  max-width: 120rem;
  margin: auto;
  width: 92%;
}

.project-heading {
  margin-bottom: 11rem;
}

.project-heading-main {
  color: #00005D;
  display: block;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.project-heading-sub {
  color: #00005D;
  display: block;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  max-width: 80rem;
  margin: auto;
  line-height: 1.6;
}

.project-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-gap: 5rem;
  margin-bottom: 11rem;
}

.project-row-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.project-row-content {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.project-row-content-title {
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: #00005D;
  text-align: center;
}

.project-row-content-description {
  font-size: 1.8rem;
  color: #00005D;
  max-width: 60rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact {
  background-color: #00005D;
  padding: 12rem 0;
  display: block;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  position: relative;
}

.contact-icons {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.contact-icons li {
  margin-right: 2rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

h3 {
  font-size: 1.2rem;
  margin: 2rem 0;
  text-align: center;
}

.contact ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
}

.contact ul li {
  margin: 0 1rem;
}

.contact ul li a {
  text-decoration: none;
}

.contact-icons li {
  margin-right: 2rem;
}

.contact-icons li:not(:last-child) {
  margin-right: 2rem;
}

.logo {
  height: 40px;
  background-color: #00005D;
  object-fit: cover;
  object-position: center;
  display: inline-block;
  vertical-align: middle;
}

.baby-colin {
  height: 250px;
  border-radius: 50px;
}

.underline-link {
  text-decoration: underline;
}

.mobile-about-content-skills {
  display: none;
}

.desktop-about-content-skills {
  margin-left: auto;
}

@media (max-width: 768px) {

  .mobile-about-content-skills {
    display: block;
  }

  .desktop-about-content-skills {
    display: none;
  }

  .icon-container,
  .project-container,
  .contact ul {
    flex-direction: column-reverse;
  }

  .project-row {
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }

  .project-row-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .project-row-content {
    text-align: center;
  }

  .project-row-content.title {
    text-align: center;
  }

  .about-content {
    flex-direction: column;
  }

  .about-content-details {
    order: 1;
  }

  .about-content-main-left,
  .about-content-main-right,
  .about-content-skills {
    text-align: center;
    margin-left: initial;
  }

  .about-content-image-container {
    order: 2;
    margin-bottom: 1rem;
  }
  .header-image {
    font-size: 0.8rem;
  }
  .header-link,
  .header-name {
    font-size: 1rem;
  }

  .header-image {
    width: 40px;
    height: 40px;
  }

  .home-content {
    display: flex;
    flex-wrap: wrap;
  }

  .home-content-main {
    width: 100%;
  }

  .home-content-skills {
    width: 100%;
  }

  .contact-icons {
    justify-content: flex-start;
  }

  .contact-icons li {
    margin-right: 1rem;
  }

  header {
    padding: 1rem 0;
  }
  
  .header-content {
    padding: 0 2rem;
  }
  
  .header-image-container {
    width: 6rem;
    height: 6rem;
    margin-right: 1rem;
  }
  
  .header-image {
    width: 100%;
    height: 100%;
    border-radius: 50px;
  }
  
  .header-name {
    display: none;
    font-size: 1.4rem;
  }
  
  .header-links {
    margin-right: -0.5rem;
  }
  
  .header-link {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
  }

  .codeworks-logo {
    max-width: 100%;
    height: auto;
  }
}