body {
  font-family: 'Libre Baskerville', serif;
  /*color:rgb(48,48,48); */
  color:rgb(48,48,48);
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.0em;
  line-height: 1.2;
}


p {
  text-indent: 3px;
}

div.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /*flex-direction: row;*/
    position: fixed;
    left: 0;
    top: 0;
    min-height: 1em;
    background-color: rgb(48, 48, 48); 
    min-width: 100%;
}

div.small-nav {
    display: flex;
    flex-direction: row;
}

div.nav_item {
    color: darkgrey;
    padding: 13px;
    text-align: center;
    font-size: 1.333em;
}

div.nav_item:hover, div.nav_item:active {
    color: white;
    background-color: black;
}

div.twitter-wrapper {
    background-color: #1DA1F2;
    border-radius: 15px;
    padding: 10px 20px 10px 20px;
}

div.space {
    height: 1px;
}

div.flex-container {
    padding: 9px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: darkgrey;
    font-size: 1.333em;
}

div.flex-container:hover, div.flex-container:active {
    color: white;
    background-color: black;
    justify-content: space-between;
}

div.flex-list {
    display: flex;
    flex-wrap: wrap;
}

div.logo-part-i {
    margin: auto;
    font-size: 1.333em;
}

div.logo-part-ii {
    margin-left: auto;
    margin-top: 8px;
    margin-right: 20px;
    font-size: 0.9em;
}

div.changing {
    margin-top: 30px;
    min-width: 40%;
}

div.outer {
    padding: 20px;
}

div.transbox {
    margin: auto;
    margin-top: 30px;
    align: center;
    display: block;
    padding: 40px;
    max-width: 1000px;
    background-color: rgba(255,255,255,0.75);
    border: 2px solid rgb(48,48,48);
}

div#language_selection_box {
    margin-top: 30px;
    display: flex;
    display: -webkit-flex !important;
    flex-direction: row;
    justify-content: right;
    position: static;
}

div.back_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 30px;
}

div.over_back_img {
    padding: 50px;
    border-radius: 30px;
    background-color: rgb(255, 255, 255, 0.5);
}

div.home_outer {
    height: 600px;
    max-width: 700px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div.footer {
    margin-top: 40px;
    color: lightgrey;
    display: flex;
    flex-direction: column;
}

div.footer_div {
    background-color: rgb(48, 48, 48);
    padding: 5px;
    padding-right: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

div.contact-pad {
    padding: 5px;
    min-width: 250px;
    color: darkgrey;
}

div.badge_div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div.badge {
    margin: 20px;
    margin-bottom: 40px;
    background-color: rgb(255,255,255,0.5);
    border-radius: 4px;
    border: 1px solid rgb(48,48,48);
}

div.contact-pad:hover, div.contact-pad:active {
    color: white;
}

.title {
    text-align: left;
}

.big_text {
    font-size: 1.4em;
}

.fill {
  display: flex;
  flex-grow: 1;
}

.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  text-decoration: none;
  color: initial;
}

.greeting {
    border-radius: 20px;
    display: flex;
    font-size: 3em;
    background-color: rgb(255, 255, 255, 0.3);
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spread {
    width: 100%;
}

@media (max-width: 740px) {
        div.outer {
            padding: 10px;
        }
        div.transbox {
            margin-top: 20px;
            padding: 5px;
        }

        div#language_selection_box {
            display: flex;
            margin-top: 0px;
            justify-content: center;
            flex-direction: row;
            position: static;
        }

       div.flex-container {
              display: flex;
              flex-direction: column;
              padding-top: 15px;
              padding-bottom: 15px;
          }
        div.nav {
            position: static;
            flex-direction: column;
            justify-content: center;
        }
        div.over_back_img {
            padding: 5px;
        }
        div.twitter-wrapper {
            padding: 0px 10px 0px 10px;
            width: 100%;
            display: flex;
            justify-content: center;
        }
        div.nav_item {
            padding: 5px;
            font-size: 1.5em;
            min-width: 130px;
        }
        div.logo {
            padding: 7px;
            font-size: 2.2em;
            flex-direction: column;
            min-width: 0px;
        }
        div.logo-part-i {
        }

        div.logo-part-ii {
            margin-top: 0px;
            margin-left: auto;
            margin-right: 20px;
            font-size: 0.9em;
        }

        div.home_outer {
            height: 440px;
        }
        .big_text{
            font-size: 1.0em;
        }
        div.footer {
        }
        div.small-nav {
            flex-direction: column;
        }
        div.badge {
            margin: 0px;
            margin-bottom: 40px;
            border: 0px solid rgb(48,48,48);
        }

}

img.profile {
  width: 60%;
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.mid_text_1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    min-width: 400px;
}

img.mid_text_2 {
    border-radius: 9px;
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

div.flag {
    margin: 2px;
}

ul.nav {
    list-style-type:none;
    margin-top: 30px;
    margin-left: 7px;
    padding: 0;
}
li {
    margin-top: 10px;
}

a.normal {
  color:rgb(48,48,48); 
}

a.normal:link {
    text-decoration: underline;
}

a.normal:visited {
    text-decoration: underline;
}

a.normal:hover {
    text-decoration: none;
}

a.normal:active {
    text-decoration: none;
}

div.flag {
    margin-left: 7px;
}

img.flag {
    border: 1px solid white;
}
