@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300&display=swap);
@import url(https://fonts.googleapis.com/css2?family=PT+Sans&display=swap);
body {
    background-color: #f7f7f7;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: #676564;
}

.nav-container {
    position: fixed;
    height: 4em;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: #fffefe;
    box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.25);
    align-items: center;
    margin-bottom: 10%;
    z-index: 1000;
}

.nav-desktop {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.nav-mobile {
    display: none;
}

#nav-container-id {
    height: 74px;
}

    
.nav-logo {
    height: 2.8em;
    width: auto;
    align-self: center;
    margin: 0.5em auto 0.5em 2em;
}

@media screen and (min-width: 1180px) {    
    .nav-container ul {
        justify-self: flex-end;
        margin-right: 2em;
    }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        list-style-type: none;
        margin: 0 auto;
    }
    
    .nav-links li{
        text-align: center;
        text-decoration: none;
        margin: 0 1.5em;
    }
    
    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0.5em;
        padding-top: 0.5em;
        padding-bottom: 1em;
    }

    .hamburger-button {
        display: none;
    }

    #nav-logo-desktop {
        align-self: center;
    }
}

.nav-links a:hover {
    background-color: #f7f7f7;
}

a:link, a:visited {
    text-decoration: none;
    color: inherit;
}

#active-bookmark {
    background-color: #727272;
    color: #fffefe;
}

.main {
    margin: 8em 8em 0 8em;
    padding: 0 3em;
    display: flex;
    flex-direction: column;
    text-align: justify;
}

header {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
}

h1 {
    font-size: 55px;
    text-transform: uppercase;
    font-weight: lighter;
    text-align: center;
    color: black;
    margin-top: -0.1em;
}

h3 {
    font-weight: 400;
    font-size: 23px;
    margin-bottom: 0 auto;
}

h4 {
    font-weight: 400;
    font-size: 18px;
    margin: 0.3em 0;
}  

h5 {
    font-weight: 450;
    font-size: 21px;
}

.intro {
    color: black;
    margin: 0;
    margin-bottom: 1em;
}

.tab {
    padding-left: 2em;
}

.red-dot {
    border-bottom: 0;
    font-weight: bold;
    font-size: 59px;
    color: #cc1417;
    font-family: 'Nunito Sans', sans-serif;
}

article ul {
    margin: 0;
    list-style-type: none;
}

article li::before {
    content: "\25AA";
    color: #cc1417;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
    
.articles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
    margin-bottom: 3em;
    height: 4em;
}

.icon-arrow {
    height: 65%;
    width: 2em;
    margin: 0 1.5em;
    transition: transform 1s;
    z-index: 20;
}

.arrow-left:hover {
    cursor: pointer;
    transform: translateX(-7px);
}

.arrow-right:hover {
    cursor: pointer;
    transform: translateX(7px);
}

.changing-articles-spot {
    width: 95%;
    overflow: hidden;
}

.changing-articles-container {
    text-align: center;
    color: #676564;
    width: 300%;
    display: flex;
    flex-direction: row;
    position: relative;
    left: 0;
    transition: left 1s;
}

.changing-article {
    width: 34%;
    display: flex;
    align-items: center;
    position: static;
}

.dots {
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    align-self: center;
    flex-direction: row;
    width: 3em;
}

.icon-dots {
    width: 1em;
    height: 1em;
    margin-bottom: 3em;
    cursor: pointer;
    margin: 0 1px;
}

.additional-margin-top {
    margin-top: 2em;
}

.image-box {
    margin: 3rem auto auto;
    width: 100%;
}

.image {
    width: 100%;
    box-shadow: 8px 8px 12px 0 rgba(0, 0, 0, 0.25);
}

#img {
    transition: all 2s;
    opacity: 1.0;
}

.about-me {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: -5em;
    margin-right: -0.5em;
}

.about-me article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 2em;
}

.photo-about-me-container {
    align-self: flex-end;
}

.photo-about-me {
    width: 32em;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .contact-form {
    width: 50%;
    text-align: left;
    margin: 1em 0;
  }
  
  input{
    width: 100%;
    height: 1.5em;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    border-color: #949494;
    padding: 15px;
    margin-bottom: 0.6em;
  }
  
  form {
    font-weight: 400;
    font-size: 18px;
    margin: 0.3em 0;
  }

  textarea {
    width: 100%;
    height: 4.5em;
    resize: none;
    padding: 8px;
    border-color: #949494;
    border-width: 1px;
    border-radius: 4px;
    border-style: solid;
    font-family: inherit;
  }
  
  input[type=submit] {
    width: auto;
    height: 4em;
    background-color: #5FB23A;
    color: white;
    padding: 0 1em;
    border: none;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: rgb(73, 148, 41);
  }

  .messenger {
      width: 2em;
      position: fixed;
      right: 2em;
      bottom: 2em;
      background-color: #2652A4;
      padding: 0.7em;
      border-radius: 50%;
      z-index: 200;
  }

  .messenger:hover {
    cursor: pointer;
    box-shadow: -2px 2px 2px #888888
  }

  .icon-messenger {
      width: 100%;
  }

.contact-container {
    position: absolute;
    margin-top: 5em;
    height: 9em;
    padding: 2em;
    background-color: transparent;
    border-top: 2px solid transparent;
    border-image: linear-gradient(to right, transparent, #5353539a, transparent);
    border-image-slice: 1;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contact-data {
    border-style: none;
    border-color: purple;
    height: 100%;
    width: 50em;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.contact-container h2 {
    font-weight: lighter;
    font-size: 2.8em;
    margin: 0;
}

.contact-container h3 {
    margin: 0;
    font-weight: lighter;
}

.contact-position-box {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: auto 0.5em;
}

.contact-facebook-position-box {
    display: flex;
    align-items: center;
}

.icon-facebook {
    width: 2.5em;
    border-radius: 10%;
}

.contact-photo {
    margin-right: 4em;
}

.contact-logo {
    height: 55px;
    margin: auto 0.5em;
}

@media screen and (max-width: 1303px) {
    .nav-container {
        padding-bottom: 1.3em;
    }
}

@media screen and (max-width: 1179px) {
    .nav-container {
        padding-bottom: 0;
    }
    
    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    #mobile-bookmarks {
        background-color: #fffefe;
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.5s;
        margin: 0;
        box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .nav-links {
        list-style: none;
        text-align: center;
        padding-left: 1em;
        padding-right: 1em;
    }

    .nav-option {
        padding: 10px;
    }

    .hamburger-button {
        margin: auto 2em;
    }

    #nav-container-id {
        height: 74px;
        transition: all 0.5s;
    }

    .main {
        margin: 6em 0 0 0;
        padding: 1em;
    }

    .dots {
        margin: 3em 0 1em 0;
    }

    .contact-container {
        height: auto;
        padding-bottom: auto;
    }

    footer h2 {
        text-align: center;
    }

    .about-me-page .contact-container {
        margin-top: 0;
    }

    .about-me {
        margin-left: 0;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 955px) {
    .testt {
        width: 200%;
    }
}

@media screen and (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-position-box {
        text-align: center;
        flex-direction: column-reverse;
        margin: 1em  auto;
    }
    
    .contact-facebook-position-box {
        justify-content: center;
    }

    .contact-photo {
        margin: auto;
    }
    
    .photo-about-me-container {
        display: none;
    }

    .testt {
        width: auto;
    }

    .contact-form {
        width: 90%;
    }
}

@media screen and (max-width: 700px) {
    h1 {
        font-size: 35;
    }

    .contact-container h2 {
        font-size: 30;
    }

    .red-dot {
        font-size: 35;
    }
    
    .changing-article h3 {
        font-size: 14;
    }

    .icon-arrow {
        margin: 0;
    }
    
    .image-box {
        margin: 2em auto auto auto;
    }

    .messenger {
        width: 1.2em;
        right: 1em;
        bottom: 1em;
        padding: 0.5em;
    }

    .icon-dots {
        height: 0.5em;
        width: 0.5em;
    }

    .dots {
        margin: 0.5em 0 1em 0;
    }

    .contact-photo {
        height: 1.5em;
        margin: 0 auto 2em auto;
    }
}

