body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

p{
    text-align: justify;
}

.title{
    height: 100%;
    overflow-y: scroll;
}

.container {
    display: flex;
    height: 100%;
}

.flex{
    display: flex;
}

.sidebar {
    width: 40%;
    min-width: 20rem;
    overflow-y: scroll;
    scrollbar-color: white lightgray;
    scrollbar-width: 1rem;
    background-color: #f4f4f4;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.content{
    width: 100%;
    overflow-y: auto;
    scrollbar-color: white lightgray;
    scrollbar-width: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.canvas {
    height: 30rem;
    border: 1px solid #ddd;
    margin: 2rem;
    margin-bottom: 0;
}

.editor-container{
    margin-bottom: 10px;
    padding: 10px;
}

.editor-container > textarea {
    color: white;
    background-color: black;
    width: 100%;
    height: 30rem;
}

button:hover{
    cursor: pointer;
}

.banner{
    padding: 1rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
    text-align: center;
    background-color: lightgray;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.links{
    margin: auto;
    align-items: center;
    justify-content: center;
    max-width: 100rem;
    display: flex;
    flex-wrap: wrap;
}

h1{
    font-size: 8rem;
    text-align: center;
    margin:auto;
    margin: 1rem;
}

h2{
    text-align: center;
    margin:auto;
    margin-top: 1rem;
    padding-top: 1rem;
}

a{
    text-decoration: none;
}

.link {
    border-radius: 15px;
    min-width: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.5s ease;
    margin: .5rem;
    padding: 1rem;
}
  
.links > a {
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.excercise{
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-top: .1rem;
    padding: .5rem;
}

.easy{
    border: 2px solid rgba(0, 255, 0, 0.1);
    background-color: rgba(0, 155, 0, 0.1);
    color: black;
}

.hard{
    border: 2px solid rgba(0, 0, 255, 0.2);
    background-color: rgba(0, 0, 255, 0.05);
    color: black;
}

.hard a{
    color: black;
}
  
.link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,255,0.5);
  }

.project{
    background-color: gray;
}

.img{
    max-width: 80%;
    margin: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.img > a{
    text-align: center;
    color: black;
}

.options{
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 0;
    border-radius: 1rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 33rem;
}

.option-buttons{
    font-size: 2rem;
    border: 1px;
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button{
    background: #111;
    color:white;
    min-width: 3rem;
    min-height: 3rem;
    padding: .5rem;
    border-radius: 1rem;
    margin-left: .5rem;
    margin-right: .5rem;
    transition: all 0.5s ease;
    vertical-align: middle;
}

.option-buttons > button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,255,0.5);
  }

#max-depth{
    margin-right: 1rem;
    margin-left: 1rem;
}

.solution{
    display: none;
    padding: 1rem;
    margin: 1rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-style: italic;
}

.hide{
    display: none;
}

.infos{
    width: 40rem;
    margin: auto;
    padding: 1rem;
    font-size: 1.3rem;
    text-align: justify;
}