@charset "utf-8";
@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Regular.woff2') format('woff2'),
        url('../fonts/Rubik-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


html {
    background-color: #f0f7ff;
    font-family: trebuchet, geneva, sans-serif;
    background-image: url(../images/background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

body {
    width: 98%;
    margin: auto;
    border: 2px solid #c1ddf7; 
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 51, 102, 0.1);
    color: #800080; 
}

/* multiple tag selectors */
h1, h2 { 
    font-family: 'Rubik', sans-serif;
    text-align: center;
    color: #4B0082;  
    border-bottom: 3px double #800080; 
}

h3 {
    font-family: 'Rubik', serif;
    color: #4B0082;  
    border-left: 4px solid #800080; 
    padding-left: 10px;
}

img, video, embed {
    max-width: 60%;
    border: 2px solid #4a9ad4; 
    box-shadow: 0 3px 6px rgba(0, 51, 102, 0.2);
} 

p {
    font-family: 'Rubik', serif;
    line-height: 1.6;
    color: #800080; 
}

/* descendant selectors */
nav ul {
    list-style-type: none;
    background-color: #c1ddf7; 
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 51, 102, 0.1);
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a { 
    text-transform: uppercase;
    text-decoration: none;
    line-height: 200%;
    color: #4B0082;  
    font-weight: bold;
} 

ol li {
    color: #800080;  
    line-height: 1.6;
    border-bottom: 1px dotted #c1ddf7; 
    padding: 5px 0;
}

/* classes */
.floatRight {
    float: right;
    margin: 0 0 15px 15px;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
} 

.floatLeft {
    float: left;
    padding: 20px;
    margin: 0 20px 20px 0;
    background-color: white;
    border-radius: 8px;
}

/* id selectors */
#octopus_info {
    border: 1px solid #2E8B57; 
    padding: 15px;
    background-color: #50C878; 
    border-radius: 8px;
}