

* {
    margin: 0px;
    font-family: 'Inconsolata', monospace;
    line-height: 1.70;
    font-size: 16px;
}

body {
    margin: 0px;
    background-color: white;
}

/* KOKO SIVUSTON RUNKO - sisältää header, menubar, body, footer */
.content {
    align-items: center;
    margin:auto;
    background-color: white;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 5px;
    border: 0px solid red;
}

/* SISÄLLÖN RUNKO - mahdollistaa sisällön keskittämisen */
.runko {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: center;
    border: 0px solid green;
}

/* MONIVALINTAPAINIKKEET */

.painikkeet {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    border: 0px solid pink;

}

/* SIVUN SISÄLTÖ - tekstit, kuvat jne. */
.sisalto {
    max-width: 800px;
    border: 0px solid blue;
}

/* LOGOPALKKI - nimiteksti ja logoteksti*/
.logo {
    display: flex;
    flex-direction: column;
    background-color: white;
    align-content: center;
    justify-content: center;
    border: 0px solid grey;
}

.nimiteksti {
    font-family: 'Fredericka the Great', cursive;
    font-size: 27px;
    margin-top:30px;
    
}

.logoteksti {
    font-family: 'Qwigley', cursive;
    font-size: 70px;
    color: rgb(38, 188, 222,1);
    margin-top:-35px;
    margin-bottom:-5px;
}

ul{
    margin-bottom: 25px;
}

h2 {
    font-family: 'Fredericka the Great', cursive;
    font-size: 40px;
    margin-top: 15px;
    margin-bottom:30px;
    text-align: center;
    color: rgb(38, 188, 222,1);
    font-weight: 500;
}

h1 {
   font-family: 'Inconsolata', monospace;
    font-size: 22px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 20px;
    text-align: left;
    font-weight: 500;
}


p {
    font-family: 'Inconsolata', monospace;
    font-size: 16px;
    margin-bottom: 20px;
    margin-left: 5px;
    margin-right: 5px;
    letter-spacing: 1px;
}

.linkki {
    color: rgb(38, 188, 222, 1);
    text-decoration: none;
    margin: 5px;

}
.linkki_footer {
    color: rgb(38, 188, 222, 1);
    text-decoration: none;
    font-size: 12px;
}

.linkki:hover {
    color: black;
}

.linkki_footer:hover {
    color: black;
}

/* GALLERIA */
.skaalautuva-kuva {
    width: 100%;
    height: auto;
    padding-bottom: 5px;
    background-color: white;
    margin-bottom: -5px;
}

.galleriaotsake {
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 100%;
    font-weight: 500;
    font-size: 50px;
    font-family: 'Qwigley', cursive;
    align-items: center;
    border: 0px solid red;
    margin-bottom:0px;
}

/* BLOGI */

.blogiotsake {
    max-width: 100%;
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.paivays {
    font-family: 'Inconsolata', monospace;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-top: -10px;
    margin-bottom:20px;
    font-style: italic;
    color: grey;
}

.kuvateksti {
    font-size: 14px;
    font-style: italic;
    text-align: center;
    color: grey;
    margin-bottom: 5px;
    position: relative;
}



h1.blogi {
   font-family: 'Inconsolata', monospace;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
}
.kommentoija {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: -15px;
}
.kommenttilaatikko {
    background-color: rgb(38, 188, 222, 0.0);
    margin: 10px;
    padding: 10px;
    box-shadow: 1px 1px 20px rgb(0,0,0,0.0);
}

.blogikuva_raamit {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    box-shadow: 1px 1px 20px rgb(0,0,0,0.3);
    margin-bottom: 5px;
}

.blogikuva_vasen {
    float: left;
    width: 60%;
    margin-right: 10px;
}

.blogikuva_oikea {
    float: right;
    width: 60%;
    margin-left: 10px;
    
}


/* POLAROIDIT JA KUVAUKSET */

.kuvaus {
    position: inherit;
    width: 100%;
    text-align:center;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Inconsolata', monospace;
    filter:saturate(1);
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

.polaroid {
    width: 240px;
    height: 300px;
    object-fit:cover;
    padding: 5px;
    background-color: white;
    margin-bottom: -10px;
    box-shadow: 1px 1px 20px rgb(0,0,0,0.3);
}

.polaroid:hover {
    width: 240px;
    height: 300px;
    object-fit:cover;
    padding: 5px;
    background-color: white;
    margin-bottom: -10px;
    box-shadow: 1px 1px 20px rgb(0,0,0,0.3);
    filter: grayscale(100%);
}

.polaroid_etusivu {
    max-width: 100%;
    height: 600px;
    object-fit:cover;
    margin: auto;
    padding: 5px;
    background-color: white;
    box-sizing: border-box;
    box-shadow: 1px 1px 20px rgb(0,0,0,0.3);
}


/* YHTEYSLOMAKKEN TYYLIT */

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid lightgrey;
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    border: 0px solid rgb(38, 188, 222,1);
    color: black;
    padding: 12px 20px;
    cursor: pointer;
    background-color: white;
    box-shadow: 1px 1px 7px rgb(0,0,0,0.3);
    border-radius: 5px;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
    background-color: white;
    font-weight: 500;
    color: rgb(38, 188, 222,1);
}


/* SOSIAALINEN MEDIA */

/* Style all font awesome icons */
.fa {
    padding: 5px;
    font-size: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
    vertical-align: center;
    text-decoration: none;
    margin: 5px 2px;
    color: black;

  }

/* Add a hover effect if you want */
.fa:hover {
  color: rgb(38, 188, 222,1);
}

.footer {
    font-size: 25px;
    text-align: center;
    margin: 5px;
}


/* SUODATIN */

.column {
    flex-flow: row wrap;
    display: none; /* Hide columns by default */
    margin:15px;
}

/* The "show" class is added to the filtered elements */
.show {
    display: flex;
}

/* Style the buttons */
.btn {
    outline: none;
    padding: 12px 16px;
    background-color: white;
    cursor: pointer;
    color: black;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: left;
    border: 0px solid rgb(0, 0, 0,0.3);
    box-shadow: 1px 1px 7px rgb(0,0,0,0.3);
    margin-left: 5px;
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
}

/* Add a grey background color on mouse-over */
.btn:hover {
    color: rgb(38, 188, 222,1);
    font-weight: 500;
    text-align: left;

}

/* Add a dark background color to the active button */
.btn.active2 {
    color: rgb(38, 188, 222,1);
    font-weight: 500;
    text-align: left;
}

/* NAVIGAATIOPALKKI */

/* Add a black background color to the top navigation */
.topnav {
    display: flex;
    flex-flow: row wrap;
    background-color: white;
    justify-content: center;
    letter-spacing: 1px;
}

/* Style the links inside the navigation bar */
.topnav a {
    color: black;
    padding: 13px 13px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

/* Change the color of links on hover */
.topnav a:hover {
    color: rgb(38, 188, 222,1);
    font-weight: 600;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    color: rgb(38, 188, 222,1);
    font-weight: 600;

}

/* Piilottaa hampurilaisen normiruudulla */
.topnav .icon {
    display: none;
}

/* SIVUN SKAALAUKSET */

@media screen and (max-width: 1023px) {
    .polaroid_etusivu {
        height: 500px;
   }
    .polaroid_iso {
        height: 350px;
        max-width: 350px}
}

@media screen and (max-width: 767px) {
    .topnav a {display: none;}
    .topnav a.icon {display: flex;justify-content:center; order: -1; font-size: 18px;}
    .polaroid_etusivu {
        height:400px;}
    .polaroid_iso {
        height: 300px;
        max-width: 300px;
        
    }
}

@media screen and (max-width: 599px) {
    .topnav a {display: none;}
    .topnav a.icon {display: flex;justify-content:center; order: -1; font-size: 26px;}
    .polaroid_etusivu {
        margin-left: 0px;
        margin-right: 0px;
        height:300px;
        margin: 0px;}
    .footer {
    font-size: 30px;}
    .polaroid_iso {
        margin-right: 0px;
        margin-left: 0px;
        max-width: 250px;
        height: 250px;}
    .galleriaotsake {
        font-size: 45px;
    }
    .blogikuva_vasen {
        float: none;
        width:100%;
        margin-left:0px;
        margin-right:0px;
    }
    .blogikuva_oikea {
        float: none;
        width:100%;
        margin-left:0px;
        margin-right:0px;
    }

}

/* Hampurilainen avaa valikon */
@media screen and (max-width: 767px) {
    .topnav.responsive {flex-direction: column;}
    .topnav.responsive a {display: flex; justify-content: center;}
}