/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    background-size: 400% 400%;
    animation: gradientBackground 5s ease infinite;
}
#heading{
    text-align: center;
    color: #07a893;
    font-size: 35px;
}
@keyframes gradientBackground {
    0% {
        background: linear-gradient(135deg, #9edcff, #feb47b);
    }
    50% {
        background: linear-gradient(135deg, #d6fda2, #ffaa71);
    }
    100% {
        background: linear-gradient(135deg, #fa80d1, #fc8f3b);
    }
}


.container, #resumePage {
    width: 90%;
    max-width: 600px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 16px; /* Increased border radius */
    padding: 20px;
    box-shadow: 0 8px 35px rgb(43, 218, 180);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    animation: fadeIn 1s ease-out, scaleUp 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1);
    }
}

.container:hover, #resumePage:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-10px);
}

form div {
    margin-bottom: 1em;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #d39000;
    font-size: 1.1em;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 0.75em;
    margin-top: 0.5em;
    border: 2px solid #0075f1;
    border-radius: 8px; /* Added border radius */
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #083f7a;
    box-shadow: 0 0 12px rgb(4, 33, 65);
    outline: none;
}

textarea {
    height: 120px;
    border-radius: 8px; /* Added border radius */
}

button {
    padding: 0.75em 1.5em;
    margin-top: 22px;
    border: none;
    color: rgb(255, 255, 255);
    font-weight: 600;
    background: linear-gradient(135deg, #0dddba, #0ddfdf);
    border-radius: 8px; /* Added border radius */
    cursor: pointer;
    margin-right: 1em;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 1em;
    
    
}

button:hover {
    background: linear-gradient(135deg, #e4c206, #ecc518);
    transform: scale(1.05);
}

.hidden {
    display: none;
}

#resumePage img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: auto;
    border: 4px solid #12ece1;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

#resumePage img:hover {
    border-color: #0056b3;
    transform: scale(1.1);
}

#resumePage h2, #resumePage p {
    margin: 0.5em 0;
    padding: 0.40em;
    border-radius: 8px; /* Added border radius */
    cursor: text;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

#resumePage h2:hover, #resumePage p:hover {
    background-color: #e9ecef;
    border-color: #007BFF;
    color: #2e68a7;
}

/* Adding borders to specific sections */
#resumePage .section {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}
.resume-content h2{
    text-align: left;
    color: #1987fd;

}
.resume-content h1{
    color: #00aca3;
    text-align: center;
}

/* Tablets */
@media (max-width: 768px) {
    .container, #resumePage {
        width: 95%;
        padding: 15px;
    }

    input[type="text"], input[type="email"], textarea {
        font-size: 14px;
    }

    button {
        font-size: 16px;
        padding: 12px 20px;
    }

    #resumePage img {
        width: 120px;
        height: 120px;
    }
}

/* Mobile Devices */
@media (max-width: 544px) {
    .container, #resumePage {
        width: 100%;
        padding: 10px;
    }

    input[type="text"], input[type="email"], textarea {
        font-size: 12px;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }

    #resumePage img {
        width: 100px;
        height: 100px;
    }
}

/* Smaller Mobile Devices */
@media (max-width: 344px) {
    .container, #resumePage {
        padding: 8px;
    }

    input[type="text"], input[type="email"], textarea {
        font-size: 10px;
    }

    button {
        font-size: 12px;
        padding: 8px;
    }

    #resumePage img {
        width: 90px;
        height: 90px;
    }
}
