/*----------------------------------------------------------------
  Name:        main.css
  Date:        January 2024
  Description: [simplified] styles for the Web Programming exercise
  Version:     3.0
----------------------------------------------------------------*/

/* ------ */
/* Global */
/* ------ */
body {
    font-family: 'Open Sans', sans-serif;
    border-top: 5px solid #4A2E75;
    background: #ffffff;
    color: #333333;
}

p {
    margin: 5px 0;
    line-height: 25px;
}

a {
    text-decoration: none;
    color: #9164d6;
    transition: color .5s ease;
}

a:hover {
    text-decoration: underline;
}

a img:hover{
    filter: invert(40%) sepia(90%) saturate(1214%) hue-rotate(234deg) brightness(91%) contrast(82%);
    transition: filter .5s ease;
}

strong {
    font-weight: bold;
}

hr {
    background-color: #D6D0C1;
    border: 0;
    height: 1px;
    margin: 20px 0;
}

.clear {
    clear: both;
}


/*--------*/
/* Header */
/*--------*/
.container {
    width: 100%;
    padding: 1px;
}

.container.header {
    background: rgba(241, 235, 250, 0.4);
    height: auto;
}

header {
    font-family: 'Baumans', sans-serif;
    position: relative;
    width: auto;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

header h1 {
    margin: 35px 0 0 0;
    font-size: 55px;
    color: #51209E;
}
header h2 {
    margin: 5px 0 0 0;
    font-size: 25px;
    color: #51209E;
}

nav {
    position: absolute;
    right: 0;
    bottom: 0;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: block;
    float: left;
    padding: 3px 15px;
}

nav ul li a {
    text-transform: uppercase;
    transition: all .5s ease;
}

nav ul li.active {
    background: #ded9f1;
}

nav ul li.active a {
    color: #9164d6;
}

/*----------*/
/* Features */
/*----------*/
section {
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 0 10px 0;
    text-align: left;
}

section img {
    position: relative;
    float: left;
    top: 0px;
    left: 0px;
    padding: 0 10px 0 0;
}

section img.inline{
    position: relative;
    vertical-align: middle;
    float: none;
    padding: 0;
}

article  {
    width: 350px;
    padding: 10px 0 10px 0;
    display: inline-flex;
    font-size: 14px;
    margin: 10px;
    position: relative;
    text-align: center;
}

article p {
    line-height: 25px;
}

article h3 {
    font-size: 20px;
    padding-top: 100px;
    margin-bottom: 0px;
}

article img {
    position: relative;
    top: 0px;
    left: 40%;
}

article a {
    text-decoration: none;
    color: #333333;
    transition: color .5s ease;
}
article a:hover {
    text-decoration: none;
    color: #9164d6;
}

/*--------*/
/* footer */
/*--------*/
footer {
    width:auto;
    height:50px;
    background-color:#4A2E75;
    position:relative;
    color: rgba(255, 255, 255, 0.75);
    font-size:14px;
}
footer p {
    margin-top:10px;
    width:auto;
    text-align: center;
    position:absolute;
    left:50%;
    margin-left:-450px;
}
