* {
    margin: 0;
    padding: 0;
}

#allowoverflow{
    overflow: auto;
}

h2{
    margin-top: 5px;
    margin-bottom: -7px;
    margin-left: 10px;
}

.containerProfile {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
        "button-back button-back button-back button-back button-back button-back"
        "personal-information personal-information personal-information personal-information personal-information personal-information"
        "personal-information personal-information personal-information personal-information personal-information personal-information"
        "personal-information personal-information personal-information personal-information personal-information personal-information"
        "personal-information personal-information personal-information personal-information personal-information personal-information";
    height: 100vh;
    overflow: hidden;
}

.personal-information {
    grid-area: personal-information;
}


.button-back {
    grid-area: button-back;
    width: 100%;
    height: 100%;
}

.centertext {
    text-align: center;
}

/* Darker background on mouse-over */
.btn:hover {
    background-color: rgb(124, 123, 123);
}

.text {
    color: white;
    font-family: "arial";
}

.text_1Box {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    overflow-y: hidden;
}

.text_2Box {
    display: flex;
    align-items: center;
    width: 100%;
    overflow-y: hidden;
}

#profile_picture {
    max-width: 250px;
    height: auto;
    border-radius: 2.99385932840932840932840328409238%;
    margin-right: 20px;
}

.text_container {
    margin: 150px
}

.image_container {
    margin-left: 150px;
}

body {
    overflow-x: hidden;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
        "cv cv cv cv cv cv"
        "cv cv cv cv cv cv"
        "cv cv cv cv cv cv"
        "cv cv cv cv cv cv"
        "cv cv cv cv cv cv";
    height: 85vh;
}

.personal-information {
    grid-area: personal-information;
}

.cv {
    grid-area: cv;
}

.button-back {
    grid-area: button-back;
}


/* Style buttons */
.btnProjects {
    background-color: rgb(0, 0, 0);
    border: none;
    color: rgb(217, 248, 252);
    padding: 12px 30px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.6765736578326587326578s;
    margin: 15px;
    padding: 4px;
    margin-top: 2.5%;
    height: 70%;
    width: 95%;
    margin-left: 3%;
    border-radius: 25px;
}

/* Darker background on mouse-over */
.btn:hover {
    background-color: rgb(124, 123, 123);
}

.technowire {
    display: flex;
    justify-content: normal;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-self: center;
    align-self: center;
    margin-left: 10%;
    margin-bottom: 20px;
}

.project {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 80%;
    height: auto;
    flex-wrap: wrap;
    border: 2px solid rgb(0, 0, 0);
    justify-self: center;
    align-self: center;
    margin-left: 10%;
    margin-bottom: 20px;
    overflow-y: auto;
}

.rowbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    justify-self: center;
    margin-left: 40%;
    height: fit-content;
    width: 80%;
    margin: 15px;
}

.rowboxnf {
    display: flex;
    justify-content: center;
    align-content: center;
    justify-self: center;
    margin-left: 40%;
    width: 80%;
    margin: 15px;
}

.cv>p {
    color: white;
    font-size: 40px;
    text-align: center;
    font-family: "arial";
}

.tittle {
    text-align: center;
    font-size: 20px;
}

.banner {
    max-width: 200px;
    height: auto;
}

.yard {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    justify-self: center;
    align-self: center;
    margin: 15px;
    font-size: 25px;
}

#yardimg {
    margin-left: 10px;
}

#platformer {
    height: 100px;
    width: 80%;
    background: rgb(65, 65, 65);
    border-radius: 40px;
    margin-left: 60px;
    margin-top: 30px;
}

#gamecraftbanner {
    height: auto;
    max-width: 500px;
}

.projectsection {
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 275px;
    border: gray 4px solid;
    border-radius: 30px;
    background-color: rgb(77, 77, 77);
    padding: 10px;
    align-content: center;
    justify-content: space-evenly;
    margin-bottom: 15px;
    align-items: center;
}

.text_containerPRF{
    display: flex;
    flex-direction: column;
    padding: 5px;
    align-items: left;
    justify-content: left;
    margin: 10px;
    border: black 2px solid;
    overflow-y: scroll;
    border-radius: 25px;
    height: 328px;
    width: 645px;
}

.aboutme{
    margin-left: 20px;
    margin-top: 10px;
}

.description{
    text-align: center;
}

.PrjLink {
    border-radius: 20px;
    height: 30px;
    width: fit-content;
    padding: 5px;
}

.top_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 0.25fr 0.5fr 1fr 1fr 1fr 1fr 0.5fr;
    grid-auto-columns: 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
        "header header header header"
        "header header header header"
        "any-links-or-buttons any-links-or-buttons any-links-or-buttons any-links-or-buttons"
        "any-links-or-buttons any-links-or-buttons any-links-or-buttons any-links-or-buttons"
        "any-links-or-buttons any-links-or-buttons any-links-or-buttons any-links-or-buttons"
        "any-links-or-buttons any-links-or-buttons any-links-or-buttons any-links-or-buttons"
        "blackbar blackbar blackbar blackbar";
    height: 100vh;
    overflow: hidden;
}

.header {
    grid-area: header;
    overflow: hidden;
}

.any-links-or-buttons {
    grid-area: any-links-or-buttons;
    background-color: rgb(0, 0, 0);
    overflow: hidden;
}

.blackbar {
    grid-area: blackbar;
    background-color: black;
    overflow: hidden;
}


.bottom_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 0.25fr 0.5fr 1fr 1fr 0.6fr;
    grid-auto-columns: 1fr;
    gap: 10px 4px;
    grid-auto-flow: row;
    grid-template-areas:
        "skills skills skills skills"
        "skills skills skills skills"
        "skills skills skills skills"
        "skills skills skills skills"
        "footer footer footer footer";
    overflow-y: hidden;
}

.footer {
    grid-area: footer;
    background-color: rgba(46, 46, 46, 0.441);
    overflow: hidden;
}

.skills {
    grid-area: skills;
    overflow-y: hidden;
}

.skills2 {
    grid-area: skills2;
    overflow: hidden;
}

/* .information_div {

} */

.footer>.box {
    display: flex;
    border: 2px solid rgb(0, 0, 0);
    height: 100%;
    justify-content: center;
    align-items: center;
}

/* header style */
#header {
    background-color: rgba(128, 128, 128, 0.441);
    height: 100%;
}

h1 {
    font-size: 60px;
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

#aboutmeH1{
    text-align: left;
}

/* button(s) */

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.linkicon {
    max-width: 60px;
    height: auto;
    overflow: hidden;
}

.box {
    display: flex;
    border: 2px solid rgb(0, 0, 0);
    height: 100%;
    width: 100%;
    border-radius: 2.48686798423768427674263427%;
}

.center{
    align-items: center;
    justify-content: center;
}

/* Make sure that padding behaves as expected */

.container_skilss {
    width: 100%;
    background-color: #ddd;
    border: 4.38217421642168732684732px rgb(121, 121, 121) solid;
    overflow-y: hidden;
}

.skills_p {
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
}

.html {
    width: 60%;
    background-color: rgb(67, 149, 58);
    height: 10%;
}

.css {
    width: 55%;
    background-color: rgb(67, 149, 58);
    height: 20%;
}

.js {
    width: 55%;
    background-color: rgb(67, 149, 58);
    height: 10%;
}

.Python {
    width: 55%;
    background-color: rgb(67, 149, 58);
    height: 10%;
}

.Cs{
    width: 45%;
    background-color: rgb(67, 149, 58);
    height: 10%;
}

.skills>.box {
    display: block;
    overflow-y: hidden;
}

.skills .box .text_1Box {
    overflow-y: auto;
    overflow-y: hidden;
}

.any-links-or-buttons>.box {
    border-radius: 0%;
}

#image_container img:nth-child(1) {
    max-width: 150px;
    height: auto;
    margin: 50px;
}


#text_container {
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: 30px;
}

#image_container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skills2>.box>.text_1Box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Style buttons */
.btn {
    background-color: rgb(0, 0, 0);
    border: none;
    color: rgb(217, 248, 252);
    padding: 12px 30px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.6765736578326587326578s;
    width: 300px;
    height: 60px;
    margin: 15px;
    padding: 4px;
    margin-top: 5%;
    border: 2px rgb(121, 121, 121) solid;
    border-radius: 45px;
}

/* Darker background on mouse-over */
.btn:hover {
    background-color: rgb(124, 123, 123);
}

.footer>.box {
    border-radius: 0;
}

.blackbar>.text {
    font-size: 50px
}

#text1 {
    opacity: 1;
}

#text2 {
    opacity: 0;
}

#image_container img:nth-child(2) {
    max-width: 210px;
    height: auto;
    margin: 50px;
}

.any-links-or-buttons {
    background-image: url(../images/sl_0210121_40570_53.jpg);
    background-position: center;
    background-size: cover;
    height: 80vh;
}

@media screen and (max-width: 420px) {
    .top_container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 0.25fr 0.5fr 1fr 1fr 1fr 1fr 0.5fr;
        grid-auto-columns: 1fr;
        gap: 0px 0px;
        grid-auto-flow: row;
        grid-template-areas:
            "header header"
            "header header"
            "any-links-or-buttons any-links-or-buttons"
            "any-links-or-buttons any-links-or-buttons"
            "any-links-or-buttons any-links-or-buttons"
            "any-links-or-buttons any-links-or-buttons"
            "blackbar blackbar";
        height: 100vh;
        overflow: hidden;
    }

    .header {
        grid-area: header;
        overflow: hidden;
    }

    .any-links-or-buttons {
        grid-area: any-links-or-buttons;
        background-color: rgb(0, 0, 0);
        overflow: hidden;
    }

    .blackbar {
        grid-area: blackbar;
        background-color: black;
        overflow: hidden;
    }

    .bottom_container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 0.25fr 0.5fr 1fr 1fr 1fr 1fr 0.5fr;
        grid-auto-columns: 1fr;
        gap: 10px 4px;
        grid-auto-flow: row;
        height: 100vh;
        grid-template-areas:
            "skills skills"
            "skills skills"
            "skills skills"
            "skills skills"
            "skills skills"
            "footer footer"
            "footer footer";
        overflow-y: hidden;
    }

    .skills2 {
        display: none;
    }

    .text {
        font-size: 20px;
    }

    h1 {
        font-size: 45px;
        color: white;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
    }

    .btn {
        background-color: rgb(0, 0, 0);
        border: none;
        color: rgb(217, 248, 252);
        padding: 12px 30px;
        cursor: pointer;
        font-size: 20px;
        transition: 0.6765736578326587326578s;
        width: 150px;
        height: 100px;
        margin: 5px;
        padding: 4px;
        margin-top: 5%;
        border: 2px rgb(121, 121, 121) solid;
        border-radius: 4.7297219379821739281739128%;
    }

    .blackbar>.text {
        font-size: 25px
    }

    #text_container {
        display: flex;
        align-items: center;
        justify-content: left;
        width: 100%;
        font-size: 30px;
    }

    .footer {
        grid-area: footer;
        background-color: rgba(46, 46, 46, 0.441);
        overflow: hidden;
    }

    .skills {
        grid-area: skills;
    }

    .skills2 {
        grid-area: skills2;
        overflow: hidden;
    }

    #text2 {
        opacity: 1;
    }

    .skillImage {
        display: none;
    }
}


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

    .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        gap: 0px 0px;
        grid-auto-flow: row;
        grid-template-areas:
            "cv cv"
            "cv cv"
            "cv cv"
            "cv cv"
            "cv cv";
    }

    .cv>p {
        color: white;
        font-size: 10px;
        text-align: center;
        font-family: "arial";
    }

    .banner {
        max-width: 400px;
        height: auto;
    }

    .technowire {
        display: flex;
        justify-content: center;
        align-content: center;
        width: 98%;
        height: 90%;
        flex-wrap: nowrap;
        border: 2px solid rgb(0, 0, 0);
        flex-direction: column;
        justify-self: center;
        align-self: center;
        margin: 10px;
        padding: 10px;
        margin-left: 1%;
        overflow-y: auto;
    }

    img {
        max-width: 150px;
        height: auto;
    }

    #gamecraftbanner {
        height: auto;
        max-width: 100px;
    }

    .project {
        display: flex;
        justify-content: normal;
        align-content: center;
        width: 80%;
        flex-wrap: wrap;
        height: auto;
        border: 2px solid rgb(0, 0, 0);
        flex-direction: column;
        justify-self: center;
        align-self: center;
        margin-left: 10%;
        margin-bottom: 20px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #platformer {
        height: 100px;
        width: 80%;
        background: rgb(65, 65, 65);
        border-radius: 40px;
        margin-left: 20px;
        margin-top: 30px;
    }

    .tittle {
        font-size: 10px;
    }

}


@media screen and (max-width: 420px) {
    .containerProfile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        gap: 0px 0px;
        grid-auto-flow: row;
        grid-template-areas:
            "button-back button-back"
            "personal-information personal-information"
            "personal-information personal-information"
            "personal-information personal-information"
            "personal-information personal-information";
        height: 100vh;
        overflow: hidden;
    }

    .personal-information {
        grid-area: personal-information;
    }


    .button-back {
        grid-area: button-back;
    }

    .text_1Box {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .text_container {
        margin: 10px
    }

    .image_container {
        margin-left: 10px;
    }

    #profile_picture {
        max-width: 250px;
        height: auto;
        border-radius: 2.99385932840932840932840328409238%;
    }

    .text {
        font-size: 20px;
    }
}