body {
    background-color: rgba(56,9,51,1);
    padding-top: 25px;
    padding-bottom: 25px;
    margin: 0;
    height: 100%;
    font-family: 'Kanit', sans-serif;
    font-size: 20px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    align-items:center ;
    justify-content: center;
}

::selection {
    background-color: rgb(238, 174, 202);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: rgb(238, 174, 202);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(148, 187, 233, 1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(148, 187, 233, 1);
}

::-webkit-scrollbar-button {
    display: none;
}

header a:hover {
    color: rgba(148, 187, 233, 1);
}

.head {
    border-radius:10px;
    width: 50%;
    height: 25px;
    padding-left: 50px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-bottom: 10px;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: rgb(36, 6, 48);
    /* border-radius: 10px;*/
    /*font-size: 25px;*/
    box-shadow: -18px 40px 164px 2px rgba(238, 174, 202, 1);
    -webkit-box-shadow: -18px 40px 164px 2px rgba(238, 174, 202, 1);
    -moz-box-shadow: -18px 40px 164px 2px rgba(238, 174, 202, 1);
   /* float: right;
    clear: right;
    border-radius: 10px;
    margin-right: 400px;*/
}

.links {
    color: white;
    display: flex;
    list-style: none;
    float: left;
    clear: left;
    margin-left: 30%;
    justify-content: space-between;
    letter-spacing: 5px;
}

.links li {
    margin-right: 10px;
}

header a {
    color: white;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
}

.navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;

}

.navigation li {
    margin: 0 1rem;
}

.about {
    width: 50%;
    height: auto;
    padding-left: 50px;
    padding-right: 25px;
    color: white;
    padding-top: 20px;
    padding-bottom: 10px;
   background-color: rgb(36, 6, 48);
    border-radius: 10px;
    justify-content: center;
    margin: 0 auto;
   /* float: right;
    clear: right;
    margin-right: 400px;*/
    margin-top: 25px;
    
}

.about a {
    color: rgba(238, 174, 202, 1);
    text-decoration: none;
}

.about a:hover {
    color: rgba(148, 187, 233, 1);
}

.me {
    width: 40%;
    float: right;
    clear: right;
    margin-right: -22.5%;
    border-radius: 100%;
    box-shadow: 11px 8px 46px -2px rgba(238, 174, 202, 1);
    -webkit-box-shadow: 11px 8px 46px -2px rgba(238, 174, 202, 1);
    -moz-box-shadow: 11px 8px 46px -2px rgba(238, 174, 202, 1);
    transition: scale 400ms;
}

.me:hover {
    scale: 120%
}


.about li {
    list-style-type: disclosure-closed;
    list-style-position: inside;
    color: rgba(238, 174, 202, 1);
}


.about li span {
   color: white;
}

.examples {
    width: 50%;
    height: auto;
    color: white;
    padding-left: 50px;
    padding-right: 25px;
    padding-top: 20px;
    padding-bottom: 10px;
    background-color: rgb(36, 6, 48);
    border-radius: 10px;
    justify-content: center;
    margin: 0 auto;
   /* float: right;
    clear: right;
    margin-right: 400px;*/
    margin-top: 25px;
    
}



.examples a {
    color: rgba(238, 174, 202, 1);
    text-decoration: none;
}

.examples a:hover {
    color: rgba(148, 187, 233, 1);
}

.foot {
    width: 50%;
   height: 25px;
   padding-left: 50px;
   padding-right: 25px;
   padding-top: 10px;
   padding-bottom: 10px;
   color: white;
   padding-bottom: 10px;
   border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  background-color: rgb(36, 6, 48);
    font-size: 25px;
    color: white;
    text-align: center;
    margin: auto;
   /* float: right;
    clear: right;
    margin-right: 400px;*/
    margin-top: 25px;
    bottom: -725px;
    font-size: 20px;
}

.navigation {
    transition: max-height 0.5s;
    flex-shrink: 0;
}

.menu-btn {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    justify-content: center;
    user-select: none;
}

/* Адаптація для мобільних телефонів */
@media only screen and (max-width: 999px) {
    /* Застосовувати стилі тільки коли ширина екрану менше 600px */

    /* Навігація */
    body{
      font-size: 16px;
      padding-left: 1px;
      padding-right: 10px;
      overflow-x: hidden;
      }
    .navigation {
        flex-direction: column;
        align-items: center;
        display: flex;
    }
    .links {
        margin-top: 10px;
    }

    /* Про мене */
    .about {
        padding: 0;
    }

    /* Приклади */
    .examples {
        padding: 0;
    }
    .examplesh {
        margin-top: 10px;
    }

    .head {
        width: 100%;
        display: flex;
        height: 2%;
        padding-left: 10px;
        padding-right: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        background-color: white;
        border-radius: 0;
        justify-content: center;
        background-color: rgb(36, 6, 48);

        float: right;
        clear: right;
        margin-right: -1%;
        margin-top: -25px;
        text-align: center;
        float: right;
        clear: right;
        margin-right: -3%;
    }
    .about {
        margin-top: 75px;
        width: 100%;
        height: auto;
        padding-left: 10px;
       padding-right: 10px;
       padding-bottom: 20px
        padding-top: 20px;
        background-color: rgb(36, 6, 48);
        border-radius: 10px;
        justify-content: center;
         /*margin: 0 auto;*/
         color: white;
        
    }
    .about li span{
      color: white;
      }
    .me {
        width: 40%;
        float: right;
        clear: right;
        margin-right: 5%;
        margin-top: -100px;
        border-radius: 100%;
        box-shadow: 11px 8px 46px -2px rgba(238, 174, 202, 1);
        -webkit-box-shadow: 11px 8px 46px -2px rgba(238, 174, 202, 1);
        -moz-box-shadow: 11px 8px 46px -2px rgba(238, 174, 202, 1);
        transition: scale 400ms;
    }
    .examples {
        margin-top: 25px;
        width: 100%;
        height: auto;
        padding-left: 10px;
       /* padding-right: 25px;*/
        padding-top: 10px;
        padding-bottom: 10px;
        background-color: rgb(36, 6, 48);
        border-radius: 10px;
        justify-content: center;
         /*margin: 0 auto;*/
         color: white;
    }
    .foot {
        width: 100%;
        display: flex;
        height: 2%;
        padding-left: 10px;
        padding-right: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        background-color: white;
        border-radius: 0;
        justify-content: center;
 background-color: rgb(36, 6, 48);
        float: right;
        clear: right;
        margin-right: -1%;
        margin-top: 25px;
        text-align: center;
        float: right;
        clear: right;
        margin-right: -3%;
      }
}
