@import "https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap";

:root {
    --color: rgb(255, 255, 255);
}

body {
    margin: 0;
    font-family: Poppins, sans-serif;
}

/* For Desktop */
@media only screen and (min-width: 768px) {
    .parallax-container {
        display: flex;
        min-height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-attachment: fixed;
        background-image: url(../images/bgimg.jpg);
        background-color: black;
        background-position: center;
        background-size: cover;
        color: var(--color);
        row-gap: 4rem;
        text-align: center;
    }
}

/* For Mobile */
@media screen and (max-width: 767px) {
    .parallax-container {
        display: flex;
        min-height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-attachment: fixed;
        background-image: linear-gradient(black, grey);
        background-position: center;
        background-size: auto;
        color: var(--color);
        row-gap: 4rem;
        text-align: center;
    }
}


.buffer {
    width: 100%;
    min-height: 50vh;
    background-size: cover;
    background-color: white;
}

/* For Desktop */
@media only screen and (min-width: 768px) {
    .parallax-container2 {
        flex-direction: row;
        flex-wrap: wrap;
        background-image: url(../images/bgimg.jpg);
        padding: 6rem 0;
        gap: 1.6em;
    }
}

/* For Mobile */
@media screen and (max-width: 767px) {
    .parallax-container2 {
    flex-direction: row;
    flex-wrap: wrap;
    background-color: black;
    padding: 6rem 0;
    gap: 1.6em;
    }
}

/* For Desktop */
@media only screen and (min-width: 768px) {
    h1 {
        font-size: 10rem;
        font-weight: 900;
        opacity: 70%;
    }
}

/* For Mobile */
@media screen and (max-width: 540px) {
    h1 {
        font-size: 6rem;
        font-weight: 700;
        opacity: 70%;
    }
}


p {
    font-size: 2rem;
    max-width: 52ch;
    padding: 1em;
    line-height: 1.5;
    font-weight: 300;
    opacity: 80%;
}

a {
    display: inline-block;
    padding: 1em 3.5em;
    border-radius: 0.3em;
    background-color: var(--color);
    color: rgb(0, 0, 0);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

a:hover {
    display: inline-block;
    padding: 1em 3.5em;
    border-radius: 0.3em;
    background-color: black;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: underline;
    text-transform: uppercase;
    transition: 2s;
}

h3 {
    margin-top: 1em;
    font-size: 1.6rem;
    font-weight: 700;
}

.card {
    display: flex;
    max-width: 320px;
    flex-direction: column;
    align-items: center;
    width: 19rem;
    padding-bottom: 1rem;
    border-radius: 0.5em;
}


.cardop {
    display: flex;
    max-width: 320px;
    flex-direction: column;
    align-items: center;
    width: 19rem;
    opacity: 80%;
    padding-bottom: 1rem;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;
    background-color: rgb(118, 118, 118);
    box-shadow: 0 29px 38px -15px rgb(0 0 0 / 43%);
}

.card p {
    font-size: 1rem;
    max-width: 52ch;
    padding: 1em;
    line-height: 1.5;
    font-weight: 300;
}

.card-img {
    width: 100%;
    height: 200px;
    border-top-right-radius: .5em;
    border-top-left-radius: .5em;
    background-position: center;
    background-size: cover;
}

.card:nth-of-type(1) .card-img {
    background-image: url(../images/resumeimg.jpg);
}

.card:nth-of-type(2) .card-img {
    background-image: url(../images/tateomerchimg.jpg);
}

.card:nth-of-type(3) .card-img {
    background-image: url(../images/githubimg.jpg);
}

.card:nth-of-type(4) .card-img {
    background-image: url(../images/projectsimg.jpg);
}
