*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: "Open Sans", sans-serif;
}

body{
    background-color: #1e272e;
    color: white;
    overflow-x: hidden;
}

.project-section h1{
    font-size: 55px;
    color: white;
    grid-column: 1/-1;
    text-align: center;
    align-self: center;
}

.project-section{
    max-width: 1200px;
    margin-left: -20px;
    padding: 90px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    color: black;
}

.project-card{
    width: 30vw;
    height: 45vh;
    background-color: rgba(255, 215, 0, 0.48);
    position: relative;
    top: 0%;
    border: 2px solid gold;
    border-radius: 30px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px gold;
    transition-duration: 0.5s;
    transition-timing-function: ease-in;
    cursor: pointer;
}

.project-card:hover{
    transform: scale(0.97);
}

.project-card i{
    font-size: 40px;
    position: absolute;
    left: 60px;
    right: 0;
    bottom: 0;
    margin: auto;
    top: 250px;
    color: black;
    text-decoration: none;
    transition-duration: 800ms;
}

.project-card i:hover{
    transform: scale(0.97);
}

.project-card p{
    width: 80%;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    font-weight: 500;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.project-card h2{
    width: 100%;
    line-height: 1.3;
    font-size: 24px;
    position: absolute;
    left: 0%;
    right: 0;
    top: 5%;
    /*bottom: 0;*/
    margin: auto;
    text-align: center;
}

.project-card::before{
    content: "";
    position: absolute;
    width: 200%;
    background-image: linear-gradient(gold, rgba(159, 255, 0, 0.78));
    box-shadow: 0 0 10px gold;
    height: 130%;
    z-index: -200;
    border-radius: 1px;
    animation: border 12s linear infinite;
}

@keyframes border {
    from{
        transform: translateX(-100%);
    }
    to{
        transform: translateX(100%);
        box-shadow: 0 0 10px gold;
    }
}

.project-button{
    width: 200px;
    height: 50px;
    background-color: gold;
    font-size: 20px;
    border-radius: 20px;
    cursor: pointer;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 900px;
    margin: auto;
    border: 2px solid gold;
    box-shadow: 0px 0 10px gold;
    transition-duration: 2.5s;
}

.footer-section {
    padding: 40px 20px;
    color:white;
    height:50vh;
    margin-top: 30px;
    position: relative;
    top: 50px;
}

.footer-section .container {
    max-width: 1200px;
    margin: 0px auto;
    text-align: center;

}

.footer-section hr {
    border: none;
    height: 1px;
    background-color: gold;
    margin-bottom: 30px;
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    /*background-color: white;*/
    border-radius: 50%;
    border: 2px solid gold;
    color: gold;
    font-size: 2.0rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px gold;
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: gold;
    color: black;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.detail {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.detail p {
    position: relative;
    margin: 0;
    padding: 0 15px;
    font-size: 1.7rem;
    color: gold;
}


.copyright {
    font-size: 1.4rem;
    margin-top: 20px;
    color: gold;
}

@media (min-width: 651px) and (max-width: 1023px) {

    .footer-section {
        height:1vh;
    }
    .detail p {
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 1rem;
    }
}

@media (min-width: 376px) and (max-width:650px) {
    .footer-section {
        height: 10vh;
    }

    .social-links {
        gap: 12px;
    }

    .detail p {
        font-size: 1.0rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 0.8rem;
    }
}

@media (min-width: 200px) and (max-width:376px ) {
    .footer-section {
        height: 15vh;
    }

    .social-links {
        gap: 12px;
    }

    .detail p {
        font-size: 1.0rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}



.project-button:hover{
    transform: scale(0.90);
}

@media (min-width: 1251px) and (max-width: 1497px){
    .project-section {
        grid-template-columns: repeat(2, 1fr);
        /*overflow-x: hidden;*/
    }

    .project-card {
        width: 45vw;
        height: 42vh;
    }

    .project-section h1{
        font-size: 49px;
    }

    .project-card h2{
        font-size: 25px;
    }
    .project-card p{
        font-size: 17px;
    }

    .project-card i{
        font-size: 45px;
        position: absolute;
        top: 170px;
    }

    .project-button{
        position: absolute;
        top: 1260px;
    }
}

@media (min-width: 1024px) and (max-width: 1250px){
    .project-section {
        grid-template-columns: repeat(2, 1fr);
        overflow-x: hidden;
    }

    .project-card {
        width: 45vw;
        height: 50vh;
    }

    .project-section h1{
        font-size: 39px;
    }

    .project-card h2{
        font-size: 25px;
    }
    .project-card p{
        font-size: 17px;
    }

    .project-card i{
        font-size: 40px;
        position: absolute;
        top: 220px;
    }

    .project-button{
        position: absolute;
        top: 1260px;
    }
}



@media (min-width: 651px) and (max-width: 1023px) {
    .project-section {
        grid-template-columns: repeat(2, 1fr);
        overflow-x: hidden;
    }

    .project-card {
        width: 45vw;
        height: 50vh;
    }

    .project-card h2{
        font-size: 22px;
    }
    .project-card p{
        width: 90%;
        font-size: 17px;
        top: 80px;
    }

    .project-card i{
        font-size: 40px;
        position: absolute;
        top: 240px;
        left: 20px;
    }

    .project-button{
        position: absolute;
        top: 1280px;
    }
}

@media (min-width: 379px) and (max-width: 650px) {
    .project-section {
        grid-template-columns: 1fr;
        overflow-x: hidden;
    }

    .project-card {
        width: 90vw;
        height: 46vh;
    }

    .project-section h1{
        font-size: 35px;
    }

    .project-card h2{
        font-size: 23px;
    }
    .project-card p{
        width: 90%;
        font-size: 17px;
    }

    .project-button{
        position: absolute;
        top: 2140px;
    }
    .project-card i{
        font-size: 40px;
        position: absolute;
        top: 220px;
        left: 15px;
    }
}

@media (min-width: 320px) and (max-width: 378px) {
    .project-section {
        grid-template-columns: 1fr;
        padding: 60px 10px;
        overflow-x: hidden;
    }
    .project-section h1{
        font-size: 30px;
    }

    .project-card {
        width: 90vw;
        height: 45vh;
        margin-left: 25px;
    }

    .project-card h2{
        font-size: 17px;
    }
    .project-card p{
        font-size: 15px;
    }

    .project-button{
        font-size: 16px;
        width: 150px;
        position: absolute;
        top: 2050px;
    }

    .project-card i{
        font-size: 35px;
        position: absolute;
        top: 220px;
        left: 220px;
    }
}

