/* Global Styles */
* {
    box-sizing: border-box;
    font-family: "Manrope";
}

body {
    background-color: #FDFCFA;
    overflow: hidden;
}

h1 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.5rem);
}

h2 {
  font-size: clamp(1.25rem, 2vw + 0.25rem, 2rem);
}

h3 {
  font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.5rem);
}

#experience {
  font-size: clamp(0.875rem, 1vw + 0.1rem, 1rem);
}

i {
  font-size: clamp(0.75rem, 0.8vw + 0.1rem, 0.875rem);
}

/* Container Layout */
.container {
    position: relative;
    display: flex;
    z-index: 3;
    margin-top: 100px;
    margin-bottom: 40px;
    margin-right: 100px;
    margin-left: 100px;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Layer */
.parallax-layer {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Column Layout */
.column {
    flex: 1;
    width: 60%;
}

.column-title {
    margin: 0;
}

@keyframes slideRight {
    0% {
        left: -100%;
    }
    100% {
        left: 0;
    }
}

/* Project Column */
.project:hover .details {
    display: block;
}

.project h3 {
    margin-top: 10px;
}

.project a {
    overflow-wrap: break-word;
    text-decoration: none;
    color: initial; 
}

.project:hover h3 {
    transition: color 0.3s ease, background-color 0.3s ease;
    color: #fff;
    background-color: #080808;
}

.details {
    display: none;
    position: absolute;
    border: 1px solid #080808;
    border-color: #080808;
    border-radius: 3px;
    padding: 20px;
    font-size: clamp(0.875rem, 1vw + 0.1rem, 1rem);
    background-color: #fff;
    color: #080808;
}

/* For Medium sized devices  */
@media (max-width: 992px) {
    .background, .foreground {
        transform: none !important;
    }

    body {
        overflow: visible;
    }

    .container {
        margin: 10px;
        flex-direction: row;
    }
    
    .column {
        width: 90%;
        padding: 10px;
    }

    .project h3 {
        margin-top: 14px;
    }

    .details {
        width: 90%;
    }

    .project a {
        text-decoration: underline;
    }
}

/* For Small devices  */
@media (max-width: 768px) {
    .background, .foreground {
        transform: none !important;
    }

    body {
        overflow: visible;
    }

    .container {
        margin: 20px;
        flex-direction: column;
    }
    
    .column {
        width: 100%;
        padding: 10px;
    }

    .project h3 {
        margin-top: 10px;
    }

    .project a {
        text-decoration: underline;
    }
}

/* For XS devices */
@media (max-width: 480px) {
    .background, .foreground {
        transform: none !important;
    }

    body {
        overflow: visible;
    }

    .column {
        width: 100%;
        padding: 5px;
        flex-direction: column;
    }

    .project h3 {
        margin-top: 10px;
    }

    .project a {
        text-decoration: underline;
    }
}