:root {
    --main-background-color: #63AAE3;
}

/* Make all media occupy the full width of the div */
img,
audio,
video,
iframe {
    max-width: 100%;

    /* Center the images*/
    margin: auto;
    display: block;
}

figcaption {
    text-align: center;
    font-size: smaller;
}

/* Chapter 10*/
#test-img {
    width: 200px;
    float: right;

    margin: 1em;
    padding: 1em;
}

#test-img:hover {
    rotate: 2deg;
    background-color: white;
}

#special-link:hover {
    color: red;
    text-decoration: double line-through;
}

ul.h-menu {
    list-style-type: none;
    /*Remove list markers*/
    padding: 1rem;
}

ul.h-menu li {
    display: inline;
    /* Make it a single row*/
    padding: 1em;
    background-color: lightblue;
    border: #63AAE3 dotted 4px;
}

/* Make links look like normal text*/
ul.h-menu li a {
    text-decoration: none;
    color: inherit;
}

/* Make white and add squiggly line on hover*/
ul.h-menu li a:hover {
    text-decoration: wavy white underline;
    color: white;
}

/* Chapter 11 */

div.box {
    background-color: rgba(255, 255, 255, 0.5);
    border: 3px var(--main-background-color) solid;
    border-radius: 0.5em;
    text-align: center;
    padding: 0.7em;
    margin: 1em;
}

div.column {
    column-count: 3;
    text-align: left;

    column-gap: 2em;
    column-rule: 4px var(--main-background-color) double;
    overflow: hidden;
}

button.frutiger-button {
    background: linear-gradient(to bottom, #5de951 0%, #1d681a 55%, #0d3a15 56%, #0f3f18 70%, #1a611d 100%);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    border: none;

    color: white;
    width: fit-content;
    padding: 0.5em;
    transition-duration: 0.3s;

    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 1rem;
}

/*Darken when you hover over it*/
button.frutiger-button:hover {
    filter: brightness(90%);
}

/* Chapter 12 */

.wrapper {
    display: flex;
    flex-wrap: wrap;

    /*How are items spaced with respect to the cross axis*/
    align-content: space-around;

    /*How are items spaced with respect to the main axis*/
    justify-content: space-around;

    border: 2px var(--dark-color) dashed;
}

#box1 {
    width: 300px;
    height: 100px;
}

#box2 {
    width: 200px;
    height: 100px;
}
