.polaroid {
    width: 130px;
    padding: 10px;
    background: white;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: transform 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.polaroid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.first,
.second {
    position: relative;
}


.top-polaroide {

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
        "polaroide-left ."
        ". polaroide-right";
}

.polaroide-left {
    grid-area: polaroide-left;
}

.polaroide-right {
    grid-area: polaroide-right;
}


.first {
    transition: transform 0.3s ease;
    ;
}

.first:hover {
    transform: rotate(-10deg);
}

.second {
    transition: transform 0.3s ease;
    ;
}

.second:hover {
    transform: rotate(10deg);
}




.project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    gap: 20px;

}

.project-detail {
    width: 800px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;

    cursor: pointer;
    color: #333;
    position: relative;
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s ease;


}

.project-detail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease;
}

.project-detail:hover {
    color: #2c3e50;

}

.project-detail:hover::after {
    width: 100%;
}

.project-detail img {
    width: 200px;
    flex-shrink: 0;
    border-radius: 25px;
}

.project-detail h3 {
    color: #0757ba;
    text-align: center;
}


.content {
    flex-grow: 1;
    font-size: 15px;
}


.footer {
    background-color: #222;
    color: white;
    padding: 30px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;

}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: #f39c12;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footer-social a:hover {
    color: #f39c12;
    transform: scale(1.2);
}

.footer-bottom {
    margin-top: 10px;
    font-size: 14px;
}

p {
  text-align: justify;
}

.polaroid p,
.polaroid.first p,
.polaroid.second p,
.polaroide-left p,
.polaroide-right p,
.top-polaroide p
 {
  text-align: initial;
}

/* Responsive */
@media (max-width: 768px) {

    .footer-links {
        display: flex;
        gap: 20px;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .project {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 50px;
        gap: 50px;
        padding: 0 20px;

    }

    .project-detail img {
        width: 90%;
        flex-shrink: 0;
        border-radius: 25px;
    }

    .project-detail {
        width: 800px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        flex-wrap: nowrap;
        cursor: pointer;
        color: #333;
        position: relative;
        font-size: 1.2em;
        text-align: justify;
        font-weight: bold;
        transition: color 0.3s ease;


    }

    .project a {
        display: block;
        border-bottom: 2px solid #f39c12;
        padding-bottom: 20px;
        text-decoration: none;
    }

    .project a:last-child {
        border-bottom: none;
    }



}