:root {
    --primary-color: #333;
    /* ---border-color: 5px rgb(34, 198, 124) solid; */
    ---padding: 10px 20px 10px 20px;

}

* {
    /* margin: 0;
    padding: 0; */
    font-family: 'Courier New', Courier, monospace;
    box-sizing: border-box;
}

body {
    background-color: white;
    padding: 5px 10px 5px 10px;
}

/* Header */
h2 {
    font-size: 20px;
    color: var(--primary-color);
}

.main-head {
    display: flex;
    justify-content: space-between;
    border: var(---border-color);
    padding: var(---padding)
}

.head h1 {
    font-size: 30px;
    color: var(--primary-color);
    line-height: 0.6;
}

.head p {
    line-height: 0%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: 550;
}


.navigation nav ul {
    display: flex;
    margin: 0;
    text-align: center;
    padding: 30px;
    gap: 20px;
    list-style-type: none;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    /* border-color: red;
    border-style: solid; */
}

.navigation nav ul li:hover {
    text-decoration: underline;
}

li a {
    color: var(--primary-color);
    text-decoration: dashed;
}

/* Main */
#main-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}


/* About */


#one {
    border: var(---border-color);
    box-sizing: border-box;
    justify-content: space-evenly;
    align-items: center;
    padding: var(---padding);

}

.about {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    grid-row: 1/3;
    grid-column: 1/2;
}

.contain {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button {
    padding: 10px 20px 10px 20px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 10px;
}
button:hover {
    background-color: lightgrey;
    transform: scale(1.05);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 14px;
}

.social-links a:hover {
    text-decoration: underline;
    color: blue;
}


#main-first p {
    font-size: 16px;
    line-height: 1.5;
    padding: 10px;

}

/* Skill */
.skills {
    border: var(---border-color);
    padding: var(---padding);
    grid-row: 2/3;
    grid-column: 2/3;
}

.skills-card {
    display: grid;
    height: 80%;
    width: 100%;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
}


.s-cards {
    border: 5px solid grey;
    gap: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.s-cards:hover {
    cursor: pointer;
    background-color: lightgrey;
    transform: scale(1.05);


}

/* Projects */
.projects {
    border: var(---border-color);
    padding: var(---padding);
    grid-row: 1/2;
    grid-column: 2/4;
}

.project-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;

}

.p-cards {
    border: 3px solid grey;
    display: flex;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 20px;
}


.p-cards div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.p-cards ul {
    font-size: 10px;
    padding-top: 18px;
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
    list-style-type: none;
}

.p-cards:hover {
    cursor: pointer;
    background-color: lightgrey;
    transform: scale(1.01);
}



/* Contact */
.contact {
    border: var(---border-color);
    padding: var(---padding);
    grid-row: -2/-1;
    grid-column: -1/-2;
}

/* .contact-form {
    border: var(---border-color);
    padding: var(---padding);
} */

.contact-form p{
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1;
}

input {
    margin-bottom: 10px;
    padding: 8px 16px 8px 16px;
    font-size: 14px;
    border-radius: 8px;
    width: 100%;
}

label {
    font-size: 14px;
    font-weight: 600;
}

.send {
    margin-top: 10px;
    padding: 8px 16px 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
}

.contact-info {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.0;
}
/* Footer */

footer {
    text-align: center;
    padding: 8px;
    font-size: 12px;
    color: grey;
}