/* Import styles from the home page CSS */
@import url('../css/styles.css');

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    color: #333;
    opacity: 1;
    transition: opacity 0.5s ease-in;
    background: linear-gradient(to bottom, #F0F0F0, #A9A9A9);
}

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

header {
    background-color: #F0F0F0;
    color: #333;
    text-align: center;
    z-index: 10;
    padding: 0.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
header h1 {
    margin: 0;
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #333;
    display: inline-block;
    opacity: 0;
    animation: fadeInText 2s forwards;
}

.logos {
    margin-top: 10px;
}


.button-container {
    display: flex;
    justify-content: center; /* Center the buttons horizontally */
    align-items: center; /* Center the buttons vertically */
    gap: 20px; /* Space between buttons */
}

footer {
    background-color: #A9A9A9;
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.download-cv-btn, .contact-btn {
    display: inline-block;
    padding: 10px 1px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: bold;
    font-size: 1rem;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for both buttons */
}

.download-cv-btn:hover, .contact-btn:hover {
    background-color: #fe491ca9; /* Hover effect */
    transform: scale(1.05); /* Scale effect on hover */
}


.social-icons {
    text-align: center;
    padding: 10px 0;
    background-color: rgba(240, 240, 240, 0.8);
}

.social-icons a {
    color: #333;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #fe491ca9;
}

nav {
    background-color: rgba(240, 240, 240, 0.8);
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #fe491ca9;
}

main {
    flex: 1;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 20px;
    border-radius: 10px;
    overflow-y: auto;
}

section {
    margin-bottom: 30px;
}

h2 {
    color: #fe491c;
    border-bottom: 2px solid #A9A9A9;
    padding-bottom: 10px;
}

.split {
    transition: transform 0.5s ease-in-out;
}

.split:hover {
    transform: scale(1.05);
}

.transition-link {
    text-decoration: none;
}

.job-entry {
    margin-bottom: 20px;
}

.job-entry p {
    margin: 5px 0;
}

.company-name {
    font-size: 1.5rem;
    color: #fe491c;
    font-weight: bold;
}

.role {
    font-size: 1.2rem;
    color: #555;
    font-weight: normal;
}

.duration,
.location {
    font-size: 1rem;
    color: #777;
}

.role, .duration, .location {
    line-height: 1.3;
}

.email-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.email-link {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    margin-right: 10px;
}

.email-link:hover {
    text-decoration: underline;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
}

.copy-btn:hover {
    color: #fe491ca9;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 0; /* Instead of fixed height */
}

.email-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px; /* Increased margin */
}

.email-link  {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    margin-right: 10px;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the start */
    width: 100%; /* Full width */
    max-width: 250px; /* Limit maximum width */
}

.social-links a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    margin: 10px 0;
    font-size: 1.1rem;
    width: 100%; /* Full width of container */
}

.social-links i {
    margin-right: 15px; /* Increased margin */
    font-size: 1.3rem;
    width: 20px; /* Fixed width for icons */
    text-align: center; /* Center the icon */
}

.social-links a:hover {
    color: #fe491ca9;
}