/*The :root psuedo-class represents the html element*/
:root {
    --main-blue:#4980ff;
    --dark-blue: #202132;
    --light-grey: #EFEFEF;
    --grey: #5C5C5C;
}

body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: "Lato", sans-serif;
}

.container {
    /* border: 2px solid yellow; */
    max-width: 940px;
    margin: auto;
}

.blue-bg {
    background-color: var(--dark-blue);
    color: white;
}

.button {
    background-color: var(--main-blue);
    padding: 12px 4px;
    border-radius: 6px;
}

iframe {
    max-width: 100%;
}

section {
    padding: 40px 0;
}

hr {
    width: 70px;
    height: 8px;
    background-color: var(--main-blue);
    margin: 16px auto 32px auto;
    border: none;
}

section .section-title {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 18px;
    margin-top: 0;
}

section.p {
    font-size: 20px;
    line-height: 30px;
    color: var(--grey);
}

header {
    text-align: center;
    padding: 20px 0;
}

ul {
    list-style-type: none;
}

header li {
    display: inline;
}

header a {
    color: white;
    text-decoration: none;
    margin: 0 22px;
}

section img#profile {
    border-radius: 190px;
    width: 190px;
}

section#hero {
    padding-top: 63px;
    padding-bottom: 58px;
}

section#hero h1 {
    font-size: 72px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 0;
    letter-spacing: 2px;
}

section#hero h2 {
    font-size: 20px;
    font-weight: normal;
    color: var(--main-blue);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

section#hero p {
    max-width: 465px;
    margin: auto;
    margin-bottom: 20px;
    color: whitesmoke;
}

section#hero ul {
    padding: 0;
}

section#hero li {
    display: inline;
    margin: 0 6px;
}

section#hero li img{
    width: 37px;
}

section#skillset .skills{
    max-width: 500px;
    margin: auto;
}

section#skillset span{
    display: inline-block;
    background-color: var(--light-grey);
    width: 146px;
    height: 40px;
    line-height: 40px;
    border-radius: 72px;
    margin: 8px;
    font-size: 16px;
    letter-spacing: -1px;
}

section#experience article {
    border-bottom: 1px solid #D9D9D9;
    padding: 30px 0;
}

section#experience article:last-of-type {
    border-bottom: none;
}

section#experience article:first-of-type {
    padding-top: 0;
}

section#experience article h3 {
    color: var(--grey);
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
}

section#experience article p {
    margin: 0;
}

section#contact {
    background-color: var(--light-grey);
}

section#contact a {
    display: block;
    text-decoration: none;
    color: black;
    font-size: 18px;
}

section#contact a img {
    vertical-align: middle;
    margin-right: 12px;
}

footer {
    font-size: 16px;
    background-color: var(--light-grey);
}

footer .container {
    padding: 24px 0;
    border-top: 1px solid black;
}
/* PROJECTS */

#projects {
  background-color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  text-align: left;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.project-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 16px;
}

.project-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--dark-blue);
}

.project-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--grey);
  margin-bottom: 16px;
}

.project-card a {
  color: var(--main-blue);
  font-weight: bold;
  text-decoration: none;
}
