.project-container {
    height: 25rem;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    margin: 0 5% 6rem 5%;
    position: relative;
}

.wrapper {
    margin-top: 12% !important;
}

.project-container .project-image {
    position: absolute;
    top: 0;
}

.left {
    left: 0;
}

.right {
    right: 0;
}

.left-2 {
    left: 2rem;
}

.right-2 {
    right: 2rem;
}

.left-3 {
    left: 3rem;
}

.right-3 {
    right: 3rem;
}

.left-9 {
    left: 9rem;
}

.right-9 {
    right: 9rem;
}

.right-10 {
    right: 10rem;
}

.left-10 {
    left: 10rem;
}



.link {
    font-family: 'Bungee', sans-serif;
    border-radius: 12px;
    border: 1px solid #008080;
    padding: 0 1rem 0 1rem;
    cursor: pointer;
    transition: color 200ms ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    bottom: 1rem;
    height: 2rem;
    text-align: center;
}

.github-link {
    background-color: #008080;
    color: white;
}

.demo-link {
    color: #008080;
    height: 2rem;
}

.link:hover {
    color: #00c4c4;
}

.project-container .info {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    padding: 2rem;
    overflow-y: scroll;
}

.info p {
    line-height: 1.4rem;
}

.project-container>.info>h1 {
    line-height: 2rem;
    width: 100%;
}

.project-container>.info>p {
    width: 100%;
    text-align: justify;
    font-size: 1.2rem;
    padding-top: 1rem;
}

label {
    color: white;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

.small-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    margin-left: 5%;
    gap: 1rem;
}

.small-project-container {
    width: 25rem;
    max-width: 25rem;
    border-radius: 40px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    flex-grow: 1;

    position: relative;
}

.small-project-container>img {
    width: 100%;
    height: 40%;
}

.small-project-container>.info {
    width: 100%;
    height: 40%;
    text-align: left;
    padding: 2rem;
}

.small-project-container>.info>h1 {
    line-height: 2rem;
}

.small-project-container>.info>p {
    margin-top: 1rem;
    font-size: 1.2rem;
    line-height: 1.2rem;
}

.small-project-container>.info>.buttons-container {
    width: 100%;
    padding-left: 1rem;
    margin: 1rem 0 1rem 0;
}

.project-container:nth-child(odd) {
    border: 2px solid #008080;
}

.project-container:nth-child(even) {
    border: 2px solid #00c4c4;
}

.small-project-container:nth-child(odd) {
    border: 2px solid #008080;
}

.small-project-container:nth-child(even) {
    border: 2px solid #00c4c4;
}

#search-container {
    text-align: end;
    margin-bottom: 1rem;
    margin-right: 5%;
}

#search {
    border: none;
    padding: 5px;
    border-radius: 3px;
}

@media only screen and (max-width: 1200px) {

    .wrapper {
        min-width: 0px;
    }

    .project-container {
        width: 90%;
        margin-top: 5rem;
        height: 35rem;
    }

    .project-container>.info {
        width: 100%;
        position: relative;

    }


    .project-container>.info>p {
        margin-top: 2rem;
        height: auto;
        font-size: 2rem;
        text-align: left;
        line-height: 2.2rem;
    }

    .project-container>img {
        display: none;
    }

    .buttons-container {
        flex-wrap: nowrap;
        min-height: 6rem;
        margin-bottom: 1rem;

    }

    .link {
        font-size: 2rem;
        margin-top: 1rem;
        height: 4rem;
        line-height: 2rem;
        display: flex;
        justify-content: center;
        vertical-align: middle;
        text-align: center;
        align-items: center;
        width: 12rem;
    }

    .demo-link {
        left: 2rem;

    }

    .github-link {
        right: 2rem;
    }

    .small-cards {
        flex-direction: column;
        align-items: center;
    }

    .small-project-container {
        width: 30rem;
        height: 40rem;
        border-radius: 10%;
        max-width: 100%;
    }

    .small-project-container>.info>p {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }

    .small-cards .link {
        font-size: 1rem;
        width: 6rem;
        height: 3rem;
    }





}