*{
    box-sizing: border-box;
}

body{
    background-color: #1c4e21;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='32' viewBox='0 0 16 32'%3E%3Cg fill='%23449400' fill-opacity='0.4'%3E%3Cpath fill-rule='evenodd' d='M0 24h4v2H0v-2zm0 4h6v2H0v-2zm0-8h2v2H0v-2zM0 0h4v2H0V0zm0 4h2v2H0V4zm16 20h-6v2h6v-2zm0 4H8v2h8v-2zm0-8h-4v2h4v-2zm0-20h-6v2h6V0zm0 4h-4v2h4V4zm-2 12h2v2h-2v-2zm0-8h2v2h-2V8zM2 8h10v2H2V8zm0 8h10v2H2v-2zm-2-4h14v2H0v-2zm4-8h6v2H4V4zm0 16h6v2H4v-2zM6 0h2v2H6V0zm0 24h2v2H6v-2z'/%3E%3C/g%3E%3C/svg%3E");
    border: 5px solid black;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 5px 5px 10px;
    
}

header{
    text-align: center;
    border: 3px solid black;
    border-radius: 15px;
    background-color: rgb(31, 146, 31);
    /*box-shadow: 5px 5px;*/
    display: flex;
    justify-content: center;
    margin: auto;
    margin-bottom: 20px;
    width: 50%;
    max-width: 1000px;
    svg{
        margin-top: auto;
        margin-bottom: auto;
        padding: 5px;
    }
}

main{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
}

.link{
    text-align: center;
    width: 20%;
    max-width: 200px;
    padding: 5px;
    border: 3px solid black;
    border-radius: 10px;
    background-color: rgb(31, 146, 31);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items:stretch;
    /*box-shadow: 5px 5px;*/
}
.link h2{
    text-align: center;
    color: black;
    background-color: lightgreen;
    border: 5px dashed black;
    border-radius: 5px;
}
.link ul{
    background-color: rgb(31, 146, 31);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin: 0px;
    align-items:center;
}
.link li{
    padding: 10px;
    display: inline-flex;
    list-style-type: none;
    justify-content: center;
    border-radius: 10px;
}
.link a{
    text-decoration: none;
    padding: 5px;
    border-radius: 5px;
    color: black;
    font-size: 20px;
}
/*Turns the background color to light green and the text color black*/
.link a:hover{
    background-color: lightgreen;
    transition: 0.5s;
}
.link #changelog{
    max-height: 250px;
    width: 100%;
    overflow-y: scroll;
    border: 3px solid black;
    border-radius: 5px;
    p{
        margin: 5px;
        padding: 3px;
    }
    h3{
        text-align: center;
    }
}


.icons a{
    padding: 5px;
    border-radius: 5px;
    color: black;
    font-size: 20px;
    
}
.icons a:hover{
    background-color: rgba(255, 255, 255, 0);
}
.icons svg:hover{
    color: lightgreen;
    transition: 0.5s;
}

section{
    display:flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    width: 60%;
}
section div{
    padding: 10px;
    background-color: rgb(31, 146, 31);
    border: 3px solid black;
    border-radius: 15px;
    margin: 10px;
    overflow: hidden;
    /*box-shadow: 5px 5px;*/
    h2{
        text-align: center;
        margin: auto;
        background-color: lightgreen;
        border: 5px dashed black;
        border-radius: 5px;
        width: 50%;
    }
    img{
        float: right;
    }
}

#box2{
    display: flex;
    flex-direction: column;
    img{
        width: 10%;
        height: 10%;       
    }
}
#favmon{
    display: flex;
    padding: 0px;
    border-width: 0px;
    justify-content: space-around;
    align-items: baseline;
}

/*If the width of the screen is 600px or below 
some CSS properties will change to fit the screen*/
@media screen and (max-width:600px){
    aside, section{
        width: 100%;
    }
}