/* NEUAL hex codes:
Originally #440046
Recently #962190
*/

body{
    margin: 0px;
    background-color:#440046;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

main{
    margin: 20px;
}

#img1{
    float: left;
}

#img2{
    float: center;
}

#img3{
    float: left;
    margin-right: 10px;
}

#img4{
    float: right;
    margin-left: 10px;
}

.article-photo {
    display: block;
    max-width: min(100%, 900px);
    height: auto;
    margin-inline: auto;
}

.article-figure {
    margin: 1.5rem 0;
}

.article-figure img {
    display: block;
    max-width: 100%;
    height: auto;
}

.article-figure figcaption {
    margin-top: 0.4rem;
    font-size: 0.8em;
    color:hsl(0, 0%, 80%);
    text-align: center;
}

.logo-entry {
    display: flow-root;
    margin-bottom: 1.5rem;
}

.logo-entry img {
    float: left;
    max-width: 40%;
    height: auto;
    margin: 0 1rem 0.5rem 0;
}

.logo-entry p:first-of-type {
    margin-top: 0;
}

.photo{
    width: 15%;
}

.container{
    display: flex;
    flex-direction: row;
}

#r1{
    text-align: center;
    background-color:#E5D8F4;
}

#r2{
    text-align: center;
    background-color: #EBEBF4;
}

#r3{
    text-align: center;
    background-color: aliceblue;
}

#r4{
    text-align: center;
    background-color: gray;
}

#l1{
    color: yellow;
}

#g1{
    color:#962190
}

h1, h2, h3, h4, f1{
    color:hsl(0, 0%, 80%);
    text-align: left;
}

li::marker{
    color:hsl(0, 0%, 80%);
}

p{
    color:hsl(0, 0%, 80%);
}
p::selection{
    color: black;
    background-color: green;
}

.navbar > ul{
    list-style-type: none;
    background-color: #962190;
    padding: 0px;
    margin: 0px;
    overflow: visible;
    display: flow-root;
}
.navbar ul{
    list-style-type:none;
    padding: 0px;
    margin: 0px;
}
.navbar a{
    color:white;
    text-decoration: none;
    padding: 6px;
    display: block;
    text-align: center;
}
.navbar a:hover{
    background-color:hsl(0, 0%, 50%);
    color: yellow;
}
.navbar li{
    float: left;
}

.dropdown {
  float: left;
  overflow: visible;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #962190;
  top: 100%;
  left: 0;
  z-index: 1;
  }

.dropdown-content a {
  float: none;
  color: hsl(0, 0%, 100%);
  padding: 6px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown:hover > .dropdown-content {
  display: block;
}

.navbar .dropdown-content li{
    float: none;
}

.dropdown-content a:hover {
  background-color:hsl(0, 0%, 50%);
}

.navbar .dropdown-content li.dropdown {
    float: none;
}

.dropdown-content .dropdown > .dropdown-content {
    top: 0;
    left: 100%;
}

.dropdown-content a {
    white-space: nowrap;
}

.contact-form {
    display: grid;
    gap: 12px;
    max-width: 600px;
    color:hsl(0, 0%, 80%);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    font: inherit;
    border: 1px solid #aaa;
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

#p2{
    color:hsl(0, 0%, 80%);
    background-color: darkblue;
}

#p3{
    color:white;
    background-color: darkgreen;
}

#p4{
    color:black;
    background-color: red;
}

#p5{
    color:black;
    background-color: orange;
}

#p6{
    color:black;
    background-color: yellow;
}

#p7{
    color:hsl(0, 0%, 80%);
    background-color: #962190;
}