body {
    font-family: 'Monda', sans-serif;
    color: black;
    margin: 0px 0px 0px 0px;    
    background-image: url("elamanonni-tausta1.png");
    background-attachment: fixed;
    background-repeat: repeat-y;
    background-size: 100%;    
}

.topnav {
    background-color: rgb(103, 204, 233);
    border-bottom: 1px solid black; 
    overflow: hidden;
    width: 100%;
    height: 320px;
    text-align: center;
}
.topnav div {
    margin: auto;    
}

p {
    font-size: 16px;
}
.topnav a {
    color: black;
    font-size: 36px;
    margin: 30px;
    text-decoration: none;
    display: inline-block;
    font-family: 'Kalam', cursive;
}

.topnav a::first-letter {
    color: #0f1e24;
}
.topnav a:hover {
    text-decoration: underline;
}
.topnav img {
    animation: rotate 3s infinite alternate;
    -webkit-animation: rotate 3s infinite alternate;
    margin-top: 30px;
}
@keyframes rotate {
    from {
    transform: rotate(-10deg);
    }
    to {
    transform: rotate(10deg);
    }
}
@-webkit-keyframes bounce {
    from {
        transform: rotate(-10deg);
    }
    to {
        transform: rotate(10deg);
    }
}

h2 {
    font-size: 24px;
    font-family:  'Kalam', cursive;
    text-decoration: underline;
    margin-bottom: 40px;
}

h3 {
    font-size: 20px;
    margin-top: 40px;
}

section {
    color: black;
    padding-bottom: 60px;
    padding-top: 60px;
}

article {
    width: 700px;
    margin: auto;
    background-color: white;
    padding: 20px;
    border: 1px solid;
    border-radius: 5px;
    text-align: justify;
}
section img {
    float: right;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    padding-left: 10px;
    margin-bottom: 30px;
    max-width: 100%;
    width: auto;
    height: 100%;
}

footer {
    background-color:rgb(103, 204, 233);
    border-top: 1px solid black;
    color: black;
    
    padding-bottom: 100px;
    padding-top: 15px;
    border-top: 1px solid rgb(163, 132, 132);
    
}
footer p {
    display: flex;
}
.border {
    border: 1px solid black;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);    
}

hr {
    display: block;
    height: 1px;
    width: 750px;
    border: 0;
    border-top: 1px solid black;
    margin: auto;
    padding: 0;
}

.personnel {
    display: flex;
}
.person {
    border: 1px solid grey;
    border: 1px 1px 1px 1px;
    width:  330px;
    max-width: 330px;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);    
    background-color: white;
    padding-block-end: 5px;
    margin-right: 20px;
    margin-bottom: 20px;
}
.person > img {
    width: 100%;
    max-width: 100%;
    object-fit: scale-down;
}

.person span {
    padding: 5px 5px 5px 10px !important;
}
.person span > img {
    vertical-align: middle;
}
.imageblock {
    display: inline-block;
    max-width: 700px;
}
.imageblock > img {
    width: 325px;
    margin-right: 15px;
}
.quote {
	font-style: italic;
    font-size: 13px;
    border-right: solid gray 1px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 5%;
    padding-right: 20px;
    margin-right: 2%;
	text-align: justify;
}
.quote p {
   font-size: 13px;
}
