/* Main page styling */
h1, h1.heading {
    padding-top: 0;
    font-family: "Jersey 20", sans-serif;
    text-transform: uppercase;
    font-size: 35px;
    color: lightsteelblue;
}

h2 {
    margin:2.25%;
    padding-top: 0;
    font-family: "Jersey 20", sans-serif;
    font-size: 30px;
    font-style: italic;
    color: lightcyan;
}

h3 {
    padding-top: 0;
    font-family: "Jersey 20", sans-serif;
    font-size: 25px;
    font-style: italic;
    color: LightSkyBlue;
}

hr {
    border: 1.5px solid #252d3a;

}

b {
    color: LightSkyBlue;
}

b.new1 {
    color: lightcyan;
    font-family: "Jersey 20", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 4%;
    padding-left: 3%;
}

b.new2 {
    color: lightskyblue;
    font-family: "Jersey 20", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 4%;
    padding-left: 3%;
}

p.new1 {
    color: lightcyan;
    font-family: "Jersey 20", sans-serif;
    font-weight: 400;
    font-size: medium ;
    letter-spacing: 4%;
    padding-left: 3%;
}

a {
    color: lightskyblue;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

a:visited {
    color: lightskyblue;
}

a:hover {
    color: lightcyan;
}

body {
    font-family: "Kanit", sans-serif;
    background-image: url("https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExZnVqcWhqdHM4Z3p4OHZvZzBqY3J0aWxseHJsb2F4Z3NscWlia2oxMCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/UYBDCJjwOd9Re/giphy.gif");
    background-repeat: repeat;
    color: lightcyan;
    background-color: #12191e;
    z-index: 99;
}

/* fix layout */
#main {
    margin: 0;
    display: flex;
    min-height: calc(100vh - 40vh);
}
#main >  {
    flex: 1;
}
#main > .descContainer{
    flex: 0 0 25vw;
    order: -1;
}

/* Description container */
.descContainer {
    min-width: 20%;
    max-width: 30%;
    margin-left: 0.1%;
    padding-left: 1%;
    padding-right: 1%;
    margin-right: 1%;
    background-color: #010a12a1;
    border-radius: 1px;
}

/* info button */
#sysinfo {
    background-color: #08153cee;
    border:none;
    color: LightSkyBlue;
    text-align: center;
    padding: 10px 20px;
    font-family: "Jersey 20", sans-serif;
    font-size: medium;
    border-radius: 15px;
}

/* container for flexboxes to go in */
.container {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    width: 98%;
    background-color: #010a12a1;;
    padding: 10px 20px 40px 20px;
    border-radius: 1px;
}

/* Flex containers */
.flex-container {
                display: flex;
                flex-wrap: wrap;
                overflow: hidden;
                /* background-color: #010a12; */
                column-gap: 10px;
                padding-left: 10px;
                padding-right: 10px;
            }

            .flex-item {
                flex: 0 0 calc(25% - 10px);
                flex-wrap: wrap;
                flex-shrink: 1;
                min-width: 0;
                overflow: hidden;
                text-overflow: clip;
                /* background-color: white; */
                color: black;
                margin: 5px;
                padding: 10px;
                text-align: center;
                flex: 1;
            }

            /* Image icons */
            .flex-item img{
                border-radius: 1px;
                transition: 0.2s ease-in-out;
            }

            /* Individual icons, for bg colour */
            #nyxx.flex-item img{
                background-color: lightskyblue;
            }
            #nyxx.flex-item img:hover{
                background-color: #ffffff00;
            }

            #obsidian.flex-item img{
                background-color: plum;
            }
            #obsidian.flex-item img:hover{
                background-color: #ffffff00;
            }

            #granite.flex-item img{
                background-color: lightblue;
            }
            #granite.flex-item img:hover{
                background-color: #ffffff00;
            }

            #diorite.flex-item img{
                background-color: burlywood;
            }
            #diorite.flex-item img:hover{
                background-color: #ffffff00;
            }
            

.flex-container2 {
                display: flex;
                flex-wrap: wrap;
                /* background-color: #010a12; */
                column-gap: 10px;
                padding-left: 10px;
                padding-right: 10px;
            }
            .flex-item {
                flex: 0 0 calc(33.33% - 10px);
                /* background-color: white; */
                color: black;
                margin: 5px;
                padding: 10px;
                text-align: center;
                flex: 1;
            }

            /* Image icons */
            .flex-item img{
                border-radius: 1px;
                transition: 0.2s ease-in-out;
                
            }

            /* Individual icons, for bg colour */
            #copper.flex-item img{
                background-color: lightsalmon;
            }
            #copper.flex-item img:hover{
                background-color: #ffffff00;
            }

            #dorian.flex-item img{
                background-color: indianred;
            }
            #dorian.flex-item img:hover{
                background-color: #ffffff00;
            }

            #nova.flex-item img{
                background-color: mediumpurple;
            }
            #nova.flex-item img:hover{
                background-color: #ffffff00;
            }

            #neo.flex-item img{
                background-color: paleturquoise;
            }
            #neo.flex-item img:hover{
                background-color: #ffffff00;
            }

            #ghost.flex-item img{
                background-color: lightgrey;
            }
            #ghost.flex-item img:hover{
                background-color: #ffffff00;
            }

            #slate.flex-item img{
                background-color: sandybrown;
            }
            #slate.flex-item img:hover{
                background-color: #ffffff00;
            }

/* modal popup styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    color: white;
    background-color: #010a12f0;
    margin: 15% auto; 
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #252d3a;
    min-width: 50%;
    max-width: 60%;
    transition: 0.1s ease-in-out; 
}

.modal-content:hover {
    background-color: #060a0ef5;
    border-color: #28345b;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.1s ease-in-out;
}

.close:hover {
    color: lightskyblue;
    transform: rotate(15deg);
}
