:root {
    font-size: 13pt;
}

/* Home */

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

header {
    font-size: 1.2rem;
    text-align: center;
    padding: 1vw;
    background: #2c3e50;
    color: white;
}
header ul {
    display: flex;
    justify-content: space-evenly;
}
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

header nav a {
    color: white;
    text-decoration: none;
}

header nav a:hover {
    color: gray;
    font-weight: bold;
}

main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 70%;
}

#header-name, #roles-p {
    text-align: center;
}

#profile-pic {
    display: block;
    width: 50vh;
    max-width: 100%;
    height: auto;
    border-radius: 35vh;
    margin: auto;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: width height 500ms ease-in-out;
}

#profile-pic:hover {
    transform: scale(1.1, 1.1);
}

#skills-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    row-gap: 5vh;
    text-align: center;
}

#home-footer {
    text-align: center;
}

/* Resume */

.resume-grid {
    display: grid;
    grid-template-columns: auto;
    row-gap: 4vh;
}

.resume-sec-header {
    display: flex;
    justify-content: space-between;

}

.resume-section p{
    margin: 2vh;
}

#flex-skills {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    justify-content: space-evenly;
    gap: 2vh;
    padding: 0;
    padding-left: 2.5vh;
}

.list {
    line-height: 4.5vh;
    padding-left: 2vw;
}
   
a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: gray;
    font-weight: bold;
}

footer ul {
    display: flex;
    justify-content: space-evenly;
    font-size: 1.1rem;
}

/* Contact */

label {
    width: 10vw;
    display: inline-block;
    text-align: right;
    margin-right: 8px;
}
 
input, textarea {
    width: 30vw;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
}
button {
    background: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    align-content: center;
    margin-top: 5vh;
    width: 25%;
}

button:hover {
    background: #2980b9;
}

#social-links {
    margin-top: 15vh;
    display: flex;
    justify-content: space-evenly;
}

#social-links a {
    font-weight: bolder;
}

#contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact-form p {
    margin-left: -9vw;
}