/*general*/

html{
    scroll-behavior: smooth;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

main{
    width: 750px;
    margin: 0 auto;
}

p { 
    color: black;
}

#footer {
    color: white;
    background: grey;
    text-align: right;
    padding: 10px;
    padding-right: 20px;
}

@media screen and (max-width: 768px){
    h1{ 
    font-size: 200%;
    }
}

/*media / pictures*/
.responsive{
    width: 100%;
    height: auto;
} 

#topimg{
    width: 100%;
    height: auto;
}

.divimage{
    height: 200px;
    width: 100%;
}

.column{
    float: left;
    width: 33%;
    padding: 1px;
}

.column2{
    float: left;
    width: 49%;
    padding: 1px;
}

.row::after{
    content: "";
    clear: both;
    display: table;
}

/* images aligned to the right*/
.image-right{
    padding: 15px;
    height: 180px;
    float: right;
}

.image-left{
    padding: 15px;
    height: 200px;
    float: left;
}

.bottom{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    height: 300px;
}

/*topnav*/ 
.topnav{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: black;
    overflow: hidden;
    position: sticky;
    top: 0;
}

.topnav a{
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px; 
}

.topnav a:hover{
    background-color: grey;
    color: black;
}

/*.topnav a:active{
    background-color: aqua;
    color: black;
} */

.topnav .icon{
    display: none;
}

@media screen and (max-width: 768px){
    .topnav.responsive {position: relative;}
}