html {
    scroll-behavior: smooth;
}

::selection {
    color: #282220;
    background: #fdc;
}

body {
    background: linear-gradient(to bottom, #fff 0%, #fdc 100%); /* Background gradient */
    color: #222;
    font-family: 'Arial', sans-serif;
    margin:0%;
    min-height: 100vh;
}

header {
    min-height: 60vh;
    text-align: center;
    /*padding: 20px 0;*/
}

h1 {
    padding-top: 10vh;
    padding-bottom: 10vh;
}

#title-section {
    text-align: center;
    font-size: 3em;
}

#title-section img {
    height: 100px;
    width: auto;
}

#title-section p {
    text-align: left;
    margin-left: 5%;
    font-size: 40%;
}

#navigation-bar a {
    font-weight: lighter;
}

#navigation-bar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #cfc5c1;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.2);
}

#navigation-bar li {
    float: left;
}

#navigation-bar li a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: 600;
}

#navigation-bar li a:hover {
    background-color: #111;
}

button {
    background-color: transparent;
    border: none;
    color: #3f3030;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: absolute;
    top: 10px;
    right: 10px;
}

button:hover {
    color: #111;
    transform: scale(1.2);
}

.download-button {
    min-width: 140px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #c45;
    border: 1px solid #c45;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #f56;
    border: 1px solid black;
    transform: scale(1.02);
}
 
hr {
    opacity: 0;
    padding-bottom: 30px;
}

main {
    padding: 20px;
}

section {
    position: relative;
    min-width: 60%;
    width: auto;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 4px;
}

a {
    text-decoration: none;
    font-weight: 600;
    color: #922;
    transition: 0.3s;
}

a[href]:hover {
    color: #d55;
}

#content1, #content3 {
    text-align: center;
    background-color: #ddd;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.2);
}

#content2 {
    text-align: left;
    background-color: #222;
    color: #fff;
}

#content2 h2 {
    color: #FF7766;
}

#content3 img {
    max-height: 40px;
    width: auto;
/*    display: block;*/
}

#content4 {
    text-align: right;
    background-color: #282828;
    color: #fff;
}

#content4 h2 {
    color: #FF7766;
}

#content5 {
    text-align: left;
    margin-left: 5%;
    margin-bottom:5%;
}

#content5 a[href]:hover {
    color: #fff
}

#content7 {
    padding: 20px;
    background-color: #ddd;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.2);
}

.image-text-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.image-text-wrapper p {
    flex: 1; /* Ensure the text takes up all available space */
    margin: 0 20px; /* Margin between image and text */
}

.left-image,
.right-image {
    border-radius: 4px;
    height: 40vh;
    width: auto;
}

.right-aligned {
    flex-direction: row-reverse;
}

.right-aligned p {
    text-align: right;
}


footer {
    font-size: 14px;
    font-weight: normal;
    background-color: #ababab;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

footer a {
    font-weight: lighter;
}

/*Dropdowns:*/
#navigation-bar li a {
    color: #282828;
    transition: all 0.2s ease-in-out;
}

#navigation-bar li a:hover {
    background-color: #353535;
    color:#FF7766;
    border-radius: 4px;
}

#navigation-bar .nav-link {
    color: #282828;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

#navigation-bar .nav-link:hover {
    background-color: #fffafa;
    color: #FF7766;
    border-radius: 4px 4px 0 0;
    border: none;
}

.dropdown-content {
    position: absolute;
    background: #fffafa;
    border-radius: 0 0 4px 4px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    transform: translateY(-10px);
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

#navigation-bar li:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content:hover, .dropdown-content a:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
