:root {
    --text-color: #333;
    --link-color: #1080db;
    --background-color: #ffffff;
    --border-color: #808080;
}

.darkmode {
    --text-color: #ffffff;
    --link-color: #1080db;
    --background-color: #0c0b0bfd;
    --border-color: #bebebe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--background-color);
    max-width: 1400px;
    margin: 0px auto;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

#theme-switch {
    height: 50px;
    width: 50px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

#theme-switch svg{
    fill: var(--text-color)
}

#theme-switch svg:last-child{
    display: none;
}

.darkmode #theme-switch svg:first-child{
    display: none;
}

.darkmode #theme-switch svg:last-child{
    display: block;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
}


nav .left a {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 600;
}

nav .right a {
    color: var(--text-color);
    margin: 0 30px;
}

nav .right a:first-child {
    color: var(--background-color);
    background-color: var(--text-color);
    padding: 5px 15px;
    border-radius: 5px;
}

nav .right a span {
    margin-left: 5px;
}


/* Hero Section */

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin: 50px 0;
    margin-bottom: 100px;
}

.hero-section .text {
    flex: 5;
    color: var(--text-color)
}

.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);
}

/* Section 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;

    width: 200px;
    padding: 10px 20px;
    margin: 10px;
    border: 1.5px solid var(--border-color);
    border-radius: 5px;
}

.skills-section .cells .cell .fa-computer {
    width: 50px;
    height: 20px;
    object-fit: contain;
}

.skills-section .cells .cell .fa-building-flag {
    width: 30px;
    height: 20px;
    object-fit: contain;
}

/* Section 3 Testimony */

.testimony-section {
    padding: 0px 50px;
    margin-bottom: 100px;
}

.testimony-section h2 {
    font-size: 35px;
    margin-bottom: 30px;
}

.testimony-section .group {
    display: flex;
    align-items: left;
}

.testimony-section .group .person-details {
    text-align: center;
}

/* Section 4 Contact */

.contact-section {
    padding: 0px 50px;
    margin-bottom: 100px;
}

.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: "Montserrat", sans-serif;
    border: 2px solid var(--link-color);
    background-color: transparent;
    padding: 10px;
    margin-bottom: 15px;
    outline: none;
    resize: none;
    color: var(--text-color)
}

.contact-section .group form button {
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    color: white;
    background-color: var(--link-color);
    border: none;
    height: 50px;
    cursor: pointer;
    transition: .1s;
}

.contact-section .group form button:hover {
    filter: brightness(.9);
}

#devmessage {
    margin-bottom: 50px;
}

@media (max-width: 850px) {
    /* Section 1 Hero */
    .hero-section .text h2 {
        font-size: 35px;
    }
}

@media (max-width: 600px) {
    nav {
        /* flex-direction: column;
        align-items: flex-start; */
        padding: 0 50px;
    }

    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;
    }

/* Section 1 Hero */
 .hero-section {
    padding: 0 20px;
 }

 .hero-section .text h2 {
    font-size: 30px;
 }

 /* Section 2 Skills */
 .skills-section {
    padding: 0px 20px;
 }

 .skills-section .cells .cell span {
    font-size: 16px;
 }


/* Section 3 Testimony */

.testimony-section .group {
    flex-direction: column;
    padding: 0px 20px;
}

/* Section 4 Contact */
.contact-section .group {
    flex-direction: column;
    padding: 0px 20px;
}
}