body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.select{
    display: flex;
    align-items: center;
    justify-content: center;
}

#copy-button{
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    border: 1px solid darkblue;
    cursor: pointer;
    background-color: blueviolet;
    color: aliceblue;
}

#copy-button:hover{
    background-color: yellow;
    color: black;
}

#language-select{
    text-align: center;
    color: red;
    font-weight: 600;
    background-color: #333;
    width: 20rem;
    height: 2rem;
    outline: none;
    border-radius: 5px;
    margin-top: 1rem;
}

option{
    color: greenyellow;
    font-weight: 600;

}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

h1 {
    margin: 0;
}

h2{
    text-align: center;
    color: deeppink;
}
p{
    color: darkgoldenrod;
}

code{
    color: blue;
    font-weight: 600;
    font-size: larger;
}

main {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#programs-list, #program-details {
    padding: 20px;
    background-color: #f2ffda;
    border: 1px solid darkgreen;
    border-radius: 5px;
    margin-bottom: 20px;
}

.program {
    cursor: pointer;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.program:hover {
    background-color: #ddd;
}

#program-details h2 {
    margin-top: 0;
}

#program-details pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

@media screen and (min-width: 768px) {
    main {
        flex-direction: row;
    }

    #programs-list, #program-details {
        flex: 0 0 48%;
        margin-bottom: 0;
    }

    #programs-list {
        margin-right: 4%;
    }
}
