:root {
    --text-color: #1a1c20;
    --link-color: #4a76ee;
    --background-color: #dbdbdb;
    --card-color: #ded1d1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    max-width: 1400px;
    margin: 0 auto;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
}

nav .left a {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 800;
}

nav .right a {
    color: var(--text-color);
    margin: 0 10px;
}

nav .right a:last-child {
    color: var(--background-color);
    background-color: var(--text-color);
    padding: 5px 15px;
    border-radius: 5px;
}

nav .right a span {
    margin-left: 5px;
}

/* NODALA 1: Es */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin: 50px 0;
    margin-bottom: 100px;
    gap: 40px;
}

.hero-section .text {
    flex: 5;
}

.hero-section .text h2{
    font-size: 45px;
}

.hero-section .text .links {
    margin-top: 25px;
}

.hero-section .text .links a {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: .1s;
}

.hero-section .text .links a:hover {
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.hero-section .headshot {
    flex: 2;
    display: flex;
    justify-content: right;
}

.hero-section .headshot img {
    width: 300px;
    border-radius: 15%;
}

/*NODALA 2: Skills*/
.skills-section {
    padding: 0 50px;
    margin-bottom: 100px;
}

.skills-section h2 {
    text-align: center;
    font-size: 35px;
}

.skills-section .text {
    text-align: center;
    margin-bottom: 20px;
}

.skills-section .cells {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.skills-section .cells .cell {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    width: 200px;
    padding: 10px 20px;
    margin: 10px;
    border: 1.5px solid #d3d3d3;
    border-radius: 5px;
}

.skills-section .cells .cell img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 2px;

}

.skills-section .cells .cell span {
    font-size: 18px;
}

.experience-section h2 {
    text-align: center;
    font-size: 33px;
}

.experience-section .text {
    text-align: center;
}

.expcontainer {
    display: flex;
    height: 100vh;
}

.section {
    flex: 1;
    padding: 20px;
    margin-top: 2%;
    text-align: center;
}

.expcontainer i {
    font-size: 20px;
}

.divider {
    width: 2px;
    background-color: #747171;
    height: 60%;
    margin-top: 60px;
}

/* Contact Section */
.contact-section {
    padding: 0 50px;
    margin-bottom: 100px;
    margin-top: -40px;
}

.contact-section h2 {
    font-size: 35px;
}

.contact-section .group {
    display: flex;
    gap: 50px;
}

.contact-section .group .text {
    flex: 3;
    margin-top: 20px;
}

.contact-section .group form {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.contact-section .group form input,
.contact-section .group form textarea {
    font-family: poppins, sans-serif;
    border: 2px solid var(--link-color);
    background-color: transparent;
    padding: 10px;
    margin-bottom: 15px;
    outline: none;
    resize: none;
    border-radius: 3px;
}

.contact-section .group form button {
    font-size: 16px;
    font-family: poppins, sans-serif;
    color: #fff;
    background-color: var(--link-color);
    border: none;
    height: 50px;
    cursor: pointer;
    transition: .1s;
    gap: 10px;
}

.contact-section .group form button:hover {
    filter: brightness(.8);
}

.expcontainer .exptext {
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background-color: #252a2e;
    color: #ffffff;
    width: 137%;
    margin-left: -19%;
    padding: 10px 50px 20px;
}

.footer-top {
    text-align: center;
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-middle {
    gap: 70px;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1000px) {
    .contact-section {
        margin-top: 120px;
    }
}

@media (max-width: 850px) {
    /* NODALA 1: ES */
    .hero-section .text h2 {
        font-size: 3%;
    }

    .contact-section {
        margin-top: 180px;
    }
}

@media (max-width: 740px) {
    /* NODALA 1: ES */
    .hero-section {
        flex-direction: column-reverse;
    }

    .hero-section .headshot img {
        width: 300px;
    }

    .contact-section .group {
        flex-direction: column;
    }

    .expcontainer {
        flex-direction: column;
        height: auto;
    }

    .footer-middle {
        flex-direction: column;
        text-align: center;
        gap: 1px;
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    /* NAVBAR */
    nav {
        padding: 0 20px;
    }

    nav .right a {
        font-size: 22px;
    }

    nav .right a:last-child {
        color: var(--text-color) ;
        background-color: transparent;
        padding: 0;
    }

    nav .right a span {
        display: none;
    }

    /* NODALA 1: ES */
    .hero-section {
        padding: 0 20px;
    }

    .hero-section .text h2 {
        font-size: 30px;
    }

    /* NODALA 2: Skills*/
    .skills-section {
        padding: 0 20px;
    }

    .skills-section .cells .cell span {
        font-size: 16px;
    }
}

@media (max-width: 1600px) {
    .footer-middle {
        display: flex;
        text-align: center;
        justify-content: center;
    }
}

/* PROJECT PAGE */
.projects-header {
  text-align: center;
  padding: 40px 20px;
}

.projects-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.projects-header p {
  color: #666;
  margin-bottom: 20px;
}

.back-link {
  text-decoration: none;
  color: #0f69c9;
  font-weight: bold;
  display: inline-block;
  padding: 5px 10px;
  border: 2px solid var(--link-color);
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: .1s;
}

.back-link:hover {
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.projects-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.project-card {
  background-color: var(--card-color);
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 10px;
}

.project-card h2 {
  margin-bottom: 10px;
}

.project-desc {
  margin-bottom: 15px;
  color: #444;
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card ul {
  padding-left: 20px;
}

.project-card li {
  margin-bottom: 6px;
}

.headingP i{
    margin-right: 5px;
}

.headingN i {
    margin-right: 5px;
}

.headingO i {
    margin-right: 5px;
}

.overallcol {
    columns: 2;
}