:root{
    --primary-color: 393646;
    --secondary-color: 4F4557;
    --tertiory-color: 6D5D6E;
    --last-color: F4EEE0;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    background-color: #121212;
    color: #e0e0e0;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    transition: transform 0.3s ease-out;
}

#hero {
    background-color: #121212;
    position: relative;
    overflow: hidden;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    justify-content: center;
}

.skill {
    background-color: #333;
    padding: 12px 25px;
    border-radius: 20px;
    font-size: 1em;
}

.social-links {
    margin-top: 50px;
    text-align: center;
}

.social-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 5px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1em;
}

.social-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
}

#about, #projects, #contact {
    padding: 100px 0;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.content h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: 500;
}

.content p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 60px
}

.project-item {
    min-height: 40vh;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.project-image {
    width: 100%;
    height: 30vh;
    overflow: hidden;
    margin-bottom: 10px;
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-grid p{
    font-size: small;
}

#contact-form {
    max-width: 600px;
}

#contact-form input,
#contact-form textarea,
#contact-form button {
    padding: 15px;
    font-size: 1em;
}

.agency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.agency-link img {
    width: 300px; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agency-link img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .agency-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .agency-grid {
        grid-template-columns: 1fr;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
}