/* Updated at 1:35 at January 24th, 2025 */

@font-face {
    font-family: Philosopher;
    src: url("../fonts/philosopher/Philosopher-Regular.ttf");
}


.funfact{
    max-width: 100%;
    height: auto;
    width: 50%;
    text-align: center;
    margin: auto;
    padding: 35px;
    font-size: 2em;
    background-color: white;
    color: #db4ac4;
    margin-top: 50px;

    
}

h3{
    text-align: center;
    align-items: center;
}

.funfact ul li{
    list-style-type: none;
}

body {
    background-color: #79286c;
    color: white;
    font-family: Philosopher;
}

nav {
    background-color: #db4ac4;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 2em;
    padding: 10px;

}

h1 {
    text-align: center;
    font-size: 2em;
}

.pixel {
    padding: 25px;
    height: auto;
    transition: all .3s ease-in-out;

}


.contact {
    text-align: center;
    margin: 0 auto;
    font-size: 2em;
    background-color: white;
    color: #db4ac4;
    width: 50%;
    margin-top: 10px;
    padding: 15px;
}



.showingImage {
    max-width: 100%;
    height: auto;
    position: absolute;
    bottom: -500px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    z-index: 100;
    display: flex;
    margin: 0 auto;
}

.drawingImage{
    display: block;
    max-width: 100%;
    height: auto;
    width: 70%;
    z-index: 100;
    position: absolute;
    bottom: -1150px;
    left: 50%;
    transform: translateX(-50%);
    padding: 35px;
}

.gridArt {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, minmax(100px, 200px));
    gap: 10px;
    border: 10px solid #db4ac4;
    padding: 25px;
    position: relative;
}





.imageOnGrid:nth-of-type(1) {
    opacity: .8;
    grid-column: 1/3;
    grid-row: 3/4;
    max-width: 50%;
    height: auto;

}

.imageOnGrid:nth-of-type(2) {
    opacity: .8;
    grid-column: 1/2;
    grid-row: 1/2;
    max-width: 100%;
    height: auto;

}

.imageOnGrid:nth-of-type(3) {
    opacity: .8;
    grid-column: 2/3;
    grid-row: 2/3;
    max-width: 100%;
    height: auto;

}

.imageOnGrid:nth-of-type(4) {
    opacity: .8;
    grid-column: 3/4;
    grid-row: 3/4;
    max-width: 100%;
    height: auto;

}

.imageOnGrid:nth-of-type(5) {
    opacity: .8;
    grid-column: 3/4;
    grid-row: 2/3;
    max-width: 100%;
    height: auto;

}

.imageOnGrid:nth-of-type(6) {
    opacity: .8;
    grid-column: 1/2;
    grid-row: 2/3;
    max-width: 100%;
    height: auto;
    width: 200px;
}

.imageOnGrid:nth-of-type(7) {
    opacity: .8;
    grid-column: 2/3;
    grid-row: 1/2;
    max-width: 100%;
    height: auto;
    width: 200px;
}

.imageOnGrid:nth-of-type(8) {
    opacity: .8;
    grid-column: 2/3;
    grid-row: 3/4;
    max-width: 100%;
    height: auto;
    width: 200px;
}

.imageOnGrid:nth-of-type(9) {
    opacity: .8;
    grid-column: 3/4;
    grid-row: 1/2;
    max-width: 100%;
    height: auto;
    width: 200px;
}


.thumbsize {
    max-width: 100%;
    height: auto;
    margin: 10px;
    cursor: pointer;
}



article>#slider {
    position: absolute;
    object-fit: cover;
    margin: 10px;
        position: absolute;
    bottom: -250px;
}

section>#slider2 {
    position: absolute;
    object-fit: cover;
    margin: 50px auto;
    position: absolute;
    bottom: -600px;
    left: 80px;
    display: block;
    padding: 20px;
}


.drawingText {
 
        position: relative;
        left: 0;
        transform: none;
        padding: 10px 20px;
        text-align: center;
        z-index: 10;
        bottom: -1000px;
        display: block;
        margin: 20px auto;/
    
}


.imageOnGrid:hover {
    transform: scale(1.03);
    transition: .2s;
    cursor: pointer;
    opacity: 1;
    max-width: 100%;
    height: auto;
}




.AboutMe {
    font-size: 2em;
    margin-top: 10px;
    background-color: white;
    color: #db4ac4;
    height: auto;
    text-align: center;
    width: 50%;
    padding: 25px;

}

.self {

    width: 40%;
}

main {
    width: 75%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

figure>img {
    max-width: 100%;
    min-width: 50%;
    height: auto;

}

.txt-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    max-width: 100%;
    height: auto;
    gap:10px;
    width: 50%;
    border: 10px solid #db4ac4;
    padding: 25px;
    position: relative;
    opacity: .8;
    align-items: center;
    text-align: center;
    bottom: -1000px;
}

.txt-section:hover{
    opacity: 1;
    transition: .5s;
}


.resume{
    color: #db4ac4;
    background-color: white;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 50%;
    max-width: 100%;
    height: auto;
    font-size: 1.4em;
    padding: 10px;
    top: 10px;
    margin-top: 10px;
}


footer{
    padding: 25px;
    background-color: #db4ac4;
    color: white;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: 20px;
    display: block;
}



@media screen and (max-width: 872px) {

    .self {
        max-width: 100%;
        height: auto;
        text-align: center;
        display: flex;
    }

    .resume{
        font-size: 1em;
    }

    .gridArt {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, minmax(50px, 100px));
        gap: 10px;
    }

    .showingImage{
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .AboutMe {
        padding: 15px;
        font-size: 20px;
    }



    .imageOnGrid:nth-of-type(6) {
        opacity: .8;
        grid-column: 1/2;
        grid-row: 2/3;
        max-width: 100%;
        height: auto;
    }

    .imageOnGrid{
        max-width: 100%;
        height: auto;
        
    }

    .drawingImage{
        display: flex;
        max-width: 100%;
        height: auto;
        width: 100%;
        z-index: 100;
        justify-content: center;
        margin: 0 auto;
        position: absolute;
    }

    .txt-section{
        align-items: center;
    }
}