:root {
    --boxsettings: 3px 2.5px 0px black;
}

.hightext {
    font-size: 90px;
}

.dots {
    background-color: black;
    height: 5px;
    width: 5px;
}

* {
    margin: 0;
    font-family: monospace;
    scroll-behavior: smooth;
}

.Web {
    background-image: url(img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.topNav {
    position: sticky;
    top: 0;
    left: 0;
    font-size: 18px;
    min-height: 12vh;
    display: flex;
    align-items: center;
}

nav {
    width: 100%;
    padding: 0px 205px;
    display: flex;
    justify-content: space-between;
}

.topbarElement {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    height: 100%;

    overflow: hidden;
}

.topbarElement .inside {
    background-color: rgb(23, 64, 49);
    height: 3px;
    width: 0;
    transition: all 0.5s ease;
}

.topbarElement:hover .inside {
    height: 2.5px;
    width: 100%;
}

.boxC {
    gap: 10px;
    align-items: center;
    padding: 10px 20px;
    width: max-content;
    border: 2px solid black;
    box-shadow: var(--boxsettings);
    transition: all 0.5s ease;
    cursor: pointer;
    background-color: rgba(255, 255, 255);
}

.boxC:hover {
    background-color: rgba(163, 208, 245, 0.715);
}

.boxC.second {
    display: flex;
    justify-content: space-between;
}

.nava {
    text-decoration: none;
    color: black;
    padding: 0px 5px;
    z-index: 0;
}

.nava.contact {
    border: 2px solid black;
    background-color: rgb(127, 125, 255);
    transition: color 0.5s ease;
}

.nava.contact:hover {
    color: white;
}

/*Home*/

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

.home .centerhome {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/*Center*/

.aboutme {
    display: flex;
    height: 90.5vh;
    justify-content: center;
}

.centeredabout {
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.882);
    background-color: rgb(255, 255, 255);
    width: 70%;
    height: fit-content;
}

.centeredabout .contentcenter {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    align-items: center;
    gap: 20px;
}

.spacing .boxC.me {
    font-size: large;
    background-color: white;
    color: rgb(0, 0, 0);
}

.boxC.me:hover {
    color: white;
    background-color: rgb(7, 92, 7);
}

.boxC.top {
    font-size: large;
    background-color: white;
    transition: all 0.5s ease;
}

.boxC.top:hover {
    background-color: rgb(41, 13, 125);
    color: white;
}

.picside {
    width: 300px;
    height: 300px;
    max-height: 400px;
    max-width: 400px;
}

.picside img {
    width: inherit;
    height: inherit;
}

.picside img {
    box-shadow: var(--boxsettings);
}

/*Info*/
.infoside {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
}

.infoside .topinfo h1 {
    font-size: 50px;
}

.boxC.git {
    background-color: rgb(0, 0, 0);
    transition: all 0.5s ease;
}

.boxC.git:hover {
    background-color: rgb(255, 108, 3);
}

.middleinfo {
    height: auto;
    width: auto;
}

/*Stack*/

.stack {
    background-image: url(img/background2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack .centerstack {
    height: 65vh;
    width: 70%;
}

.centerstack .container {
    display: grid;
    background-color: rgb(0, 0, 0);
    height: 70%;
    width: 100%;

    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr 1fr;
}

.boxS {
    border: 2px solid rgb(214, 214, 214);
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.boxS:hover {
    color: black;
    background-color: white;
    border-color: rgb(60, 60, 60);
}

.boxS:hover .progressBar {
    background-color: rgb(199, 199, 199);
}

.progressBar {
    background-color: white;
    border-radius: 15px;
    width: 60%;
    height: 5%;
    transition: all 0.5s ease;
}

.progressBar .progress {
    height: 100%;
    border-radius: 15px;
    transition: all 0.5s ease;
}

.progress.inter {
    background-color: rgb(0, 21, 255);
    width: 60%;
}

.progress.pre_inter {
    background-color: rgb(46, 143, 255);
    width: 40%;
}

.progress.beg {
    background-color: rgb(83, 84, 98);
    width: 20%;
}

/*Projects*/

.project {
    background-image: url(background1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project .centerprojects {
    height: 80vh;
    width: 70%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.projects {
    padding-top: 20px;
    height: 80%;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 25px;
}

.list {
    height: 80%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    gap: 25px;
}

.boxC.projec {
    height: 12.5vh;
    width: 90%;
}

.boxC.projec a {
    color: blue;
    font-size: large;
    font-weight: bold;
}

.roadmap {
    height: auto;
    width: 5px;
    background-color: white;
    box-shadow: var((--boxsettings));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    transition: background-color 0.5s ease;
}

.roadmap:hover {
    background-color: rgb(211, 211, 211);
    transition: background-color 0.5s ease;
}

.item1,
.item2,
.item3 {
    margin-top: 22.5px;
    width: 12.5px;
    height: 12.5px;
    border: 2px solid black;
    cursor: pointer;
    margin-bottom: 22.5px;
}

.item1 {
    background-color: brown;
}

.item2 {
    background-color: rgb(165, 153, 42);
}

.item3 {
    background-color: rgb(154, 255, 96);
}

.boxC.project {
    background-color: white;
    box-shadow: 9px 9px 0px black;
}

.footer {
    height: auto;
    background-color: rgb(30, 30, 30);
}

.middle {
    padding-top: 25px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-bottom: 50px;
}

.section1,
.section2 {
    width: 25%;
    color: white;
}

.section2 {
    display: flex;
    justify-content: space-around;
    align-items: start;
    width: max-content;
    gap: 15px;
}

.sper {
    margin: 10px 0px;
    width: 100%;
    height: 2px;
    background-color: white;
}

.section2 a {
    color: white;
    font-size: 16px;
    transition: all 0.5s ease;
}

.section2 a:hover {
    color: rgb(70, 83, 255);
}

.socialm img {
    width: 25px;
    height: 25px;
}

.section1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media screen and (max-width: 910px) {
    .Web {
        width: 100%;
    }

    nav {
        display: flex;
        justify-content: space-around;
        padding: 0;
    }

    .topNav {
        flex-direction: column;
    }

    .navphone {
        margin-top: 0.5em;
        width: 100%;
        height: 0;
        transition: all 0.5s ease;

        opacity: 0;
    }

    .navphone .boxC {
        display: none;
        width: 100%;
        height: 0;
        transition: height 0.5s ease;
    }

    .navphone .boxC.show {
        display: flex;
        height: 100%;
        flex-direction: column;
    }

    .navphone.open {
        height: max-content;
        opacity: 1;
    }

    .hightext {
        font-size: 5rem;
    }

    .centeredabout {
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .centeredabout .contentcenter {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        width: 90%;
    }

    .aboutme {
        height: max-content;
        margin-bottom: 5rem;
    }

    .picside {
        width: 10rem;
        height: 10rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .stack {
        height: auto;
    }

    .centerstack .container {
        grid-template-columns: repeat(2,  0.5fr);
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    }

    .stack .centerstack {
        width: 50%;
    }

    .projects {
        width: 100%;
    }
}