@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');

* {
    padding: 0;
}

body {font-family: 'Open Sans', sans-serif; text-align: center; color: #444142; background-color: #fafafa;}

header { background-image: url(../img/retro-pattern.png);}


header img { max-width: 13rem; margin: 1% auto 1% auto; border: 20px solid #ffaf3a; border-radius: 50%;}


h1 {color:#fafafa; margin: auto; background-color: #ffaf3a; padding: 1rem; border-radius: 3.2rem; font-size: 3rem; font-weight: 600;}
 

.flex1 { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: stretch; align-content: stretch;}

.flex1 h2 { margin: auto; background-color: #ff6038; padding: 1rem 0rem 1rem 0rem; border-radius: 2.2rem; font-weight: 700; color: #ffffff; text-align: center; width: 100%;}
.flex1 h3 { margin: auto; margin-top: 1rem; border: 5px solid #0078a3; padding: 1rem; border-radius: 2.2rem; font-weight: 600; color: #0078a3; text-align: center; align-content: stretch; display: block; width: 27%;}
.flex1 h4{ margin: auto; margin-top: 1rem; background-color: #0078a3; padding: 1rem; border-radius: 2.2rem; font-weight: 600; color: #ffffff; text-align: center;  align-content: stretch;  display: block; width: 50%;}



.flex2 {display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: stretch; align-content: stretch;}	

.flex2 article ul { border-width: 0.2rem; margin: 0.5rem; margin-top: 1.5rem;}
.flex2 article ul li { list-style: none; padding: 0.7rem;}
.flex2 article hr { border: 2px solid #ffaf3a; border-radius: 1rem;}
.flex2 article { padding: 1.2rem; margin: 1rem; border-radius: 3rem; border: 5px solid #ffaf3a; width: 21%;}



.flex3 { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: stretch; align-content: center; width: 77%; margin: auto;}

.flex3 article ul { border-width: 0.2rem; margin: 0.5rem; margin-top: 1rem; height: 80%;}
.flex3 article ul li {list-style: none; padding: 0.4rem;}
.flex3 article hr { border: 2px solid #3333; border-radius: 1rem; margin: 1rem;}
.flex3 article p  {color: #444142; font-size: 1rem; font-weight: 600;}
.flex3 article { margin: 1rem; border-radius: 3rem; border: 5px solid #3333;}

	

footer { border-radius: 2.2rem; text-align: center; margin-top: 1rem; background-color: #444142; color: white; font-size: 0.7rem; padding: 0.5rem;}



.topnav {
    background-color: #2C3387;
    overflow: hidden;
	border-radius: 2.2rem;
}


.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}


.topnav .icon {
    display: none;
}


.dropdown {
    float: left;
    overflow: hidden;
}


.dropdown .dropbtn {
    font-size: 17px; 
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}


.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}


.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}


.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #c8c6e3;
    color: #3B3189;
}


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


.dropdown:hover .dropdown-content {
    display: block;
}


@media screen and (max-width: 800px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}