html {
    height: 100%;
}

@font-face {
    font-family: myFont;
    src: url(fonts/MonaspaceKrypton-Light.otf);
}
header{
    text-align: center;
    font-family: myFont;
    
}

body {
    background-color: rgb(0, 0, 71);
    background-repeat: no-repeat;
    height: 100%;
}

.main-body{
    height: 95%;
}

header h1{
    text-decoration: underline;
    color: aliceblue;
}

header h2{
    color: rgb(92, 96, 100);
}

.sort-bar{
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
    margin-bottom: 3%;
    height: 50px;
    width: 65%;
    display: flex;
    justify-content: center;
}

.sort-bar p {
    color: aliceblue;
    background-color: rgb(41, 40, 40);
    border-radius: 15px;
    font-family: myFont;
    padding: 10px;
    margin-right: 3%;
    height: fit-content;
    transition: transform .2s;
}

.sort-bar p:hover {
    transform: scale(1.1);
    box-shadow: 10px 15px 7px rgb(26, 25, 25);
}

.main{
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    height: 85%;
    display: grid;
    grid-template-columns: repeat(2, 35%);
    grid-template-rows: repeat(4, 1fr);
    gap: 1%;
    justify-content: center;
}

.child{
    padding: 1px;
    border-radius: 15px;
    text-align: center;
    background-color: rgb(41, 40, 40);
    transition: transform .2s;
    text-decoration: none;
}

.child:hover {
    transform: scale(1.05);
    box-shadow: 10px 15px 7px rgb(26, 25, 25);
}

.child-title{
    display: block;
    text-align: center;
    margin-top: 3%;
}

.child img {
    width: 50%;
    height: 20%;
    border-radius: 15px;
}

.child p {
    margin-bottom: 2%;
    color: aliceblue;
    font-family: myFont;
}

.main-information{
    margin-left: auto;
    margin-right: auto;
    width: 35%;
    height: fit-content;
    border-radius: 15px;
    background-color: rgb(41, 40, 40);
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 10px;
}

.main-information h3 {
    margin-top: 10px;
    font-family: myFont;
    color: aliceblue;
}

.main-information p{
    color: aliceblue;
    font-family: myFont;
    width: 95%;
}

.listed-info{
  padding: 0;
  margin: 10px;
}

.listed-info li {
    display: block;
    width: 95%;
    height: 35%;
    padding: 15px;
    background-color: #21201e;
    border-radius: 20px;
}

.skills{
  padding: 0;
}

.skills li{
  list-style-type: none;
  font-family: myFont;
  color: aliceblue;
  margin-bottom: 8px;
}

.main-information img {
    border-radius: 15px;
    width: 75%;
}

.highlight {
    background-color: rgb(1, 1, 36);
    padding: 10px;
    border-radius: 15px;
}

.github {
    text-decoration: none;
    color: blueviolet;
}

.github:visited{
    color: rgb(79, 1, 110);
}


@media screen and (max-width: 900px) {
    .main {
        display: block;
        height: 85%;
    }
    .child {
        display: block;
        padding: 1px;
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 3%;
        background-color: rgb(41, 40, 40);
        transition: transform .2s;
        text-decoration: none;
    }

    .main-information{
        width: 95%;
    }

    .main-information img {
        width: 95%;
    }

    .main-information li {
        font-size: 8px;
        margin-bottom: 10px;
    }

    .main-information li p {
        margin-bottom: 10px;
    }
}
