body {
    margin: 0px;
    padding: 2px;
    color: rgb(240, 240, 240);
    background-color: black;
    font-family: "Baskervville", serif;
    font-weight: 400;
    font-style: normal;
    font-size: xx-large;

}

/* --------------------HEADER--------------------- */
#header {
    min-height: 8dvh;
    top: 0;
    position: sticky;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: black;
    z-index: 10;
}

a {
    color: rgb(233, 233, 233);
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

#header a {
    font-size: 150%;
    margin: 1%;
    color: rgb(233, 233, 233);
    background-color: rgba(0, 0, 0, 0);
    border: 10px;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    transition: all 0.3s ease;
}

#header a:hover {
    transform: translate3d(0, -10px, 22px);
}


/* --------------------Main Container--------------------- */
#mainContainer {
    margin-left: 5%;
    margin-right: 5%;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80dvh;
    padding: 2em 2em;
}

/* --------------------Main Layout--------------------- */
.title {
    text-decoration: underline;
    text-decoration-color: rgb(180, 180, 180);
    font-size: 150%;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 100px;
}

.contents {
    display: flex;
    justify-content: center;
    align-items: center;
}

.halfPage {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    width: 100%;
}

.halfPage {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 50px 50px 50px;
}

a:visited {
    color: rgb(233, 233, 233);
}

img {
    width: 60%;
}

.projectName {
    font-size: 150%;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

#name {
    background-color: black;
    font-family: "Baskervville", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 150%;
    margin: 0;
}

#nameSub {
    font-size: 100%;
}

h2 {
    font-size: large;
}

.socialContainer {
    display: flex;
    align-items: center;
    padding: 50px;
}

.socialContainer a {
    color: aliceblue;
    padding: 10px;
    margin: 10px;
    font-size: large;
    border: 0;
    transition: all 0.3s ease;
}

.socialContainer a:hover {
    transform: translate3d(0, -10px, 22px);
}

.skill-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    border-radius: 1.5rem;
    background-color: #000000;
    box-shadow: 0 5px 10px rgba(#000, 0.1);
    position: relative;
    margin: 1rem;
}

.skill-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    user-select: none;
}

.skill-icon {
    font-size: 5rem;
    color: white;
}

h6 {
    font-size: 1rem;
    margin: 0.5rem;
}

.to-top {
    padding: 5px;
    margin-bottom: 10px;
    color: white;
}
.to-top:hover {
    transform: translate3d(0, -7px, 22px);
}