body {
    margin: 0px;
    font-family: 'Karla', sans-serif;
    background-color: #313131;
}
header{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #272626;
    text-align: center;
    margin-top: 0px;
    height: 400px;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: white;
}
.purple{
    color: rgb(212, 27, 212);
}
p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #adabab;
}

.portfolio-btn{
    background-color: #474747;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s, color 0.3s;
}
.contact-btn{
    background-color: rgb(212, 27, 212);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s, color 0.3s;
}

.portfolio-btn:hover {
    background-color: #ffffff;
    color: #1f1f1f;
}
.contact-btn:hover {
    background-color: #ffffff;
    color: rgb(212, 27, 212);
}
.about-skills{
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    width: 80%;
}

.about-me, .skills, .contact-info, .contact-form{
    width: 45%;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: white;
}

p {
    font-size: 1.2em;
    line-height: 1.5;
}

.skill {
    margin-bottom: 15px;
}

.skill p {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.skill-bar {
    background-color: #131111;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 10px;
    border-radius: 5px 0 0 5px;
}

.skill-html .skill-level {
    background-color: #e34c26;
}

.skill-css .skill-level {
    background-color: #264de4;
}

.skill-js .skill-level {
    background-color: #ffcc00;
}

.skill-react .skill-level {
    background-color: #61dafb;
}
.portfolio {
    margin: 50px auto;
    width: 80%;
    text-align: center;
}

.portfolio-gallery {
    display: flex;
    justify-content: space-between;
}

.portfolio-item {
    position: relative;
    width: 30%;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    border-radius: 10px;
}

.portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.modal {
    display: flex;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.contact {
    display: flex;
    justify-content: space-around;
    height: 350px; /* Set the height of the contact section */
    align-items: center; /* Vertically center the content */
    background-color: #131111;
}

.contact-info, .contact-form {
    height: 100%; /* Make the divs take full height of the section */
    overflow: auto;
}
.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group input, .form-group textarea {
    width: 80%;
    padding: 10px;
    border: 1px solid #313131;
    border-radius: 5px;
    background-color: #121212;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    height: 50px;
}

.form-btn {
    background-color: rgb(212, 27, 212);
    color: #ffffff;
    border: none;
    padding: 10px;
    width: 84%;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.form-btn:hover {
    background-color: #ff6347;
}
.footer {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.footer a {
    font-size: 2em;
    margin: 0 15px;
}
.twitter{
    color: #08a0e9;
}
.facebook{
    color: #3b5998;
}
.whatsapp{
    color: #25d366;
}
.instagram{
    color: #dd2a7b;
}
