﻿body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    Font-family: "Public Sans", sans-serif;
    background-color: #e8e8e8;
  
}

#myUp {
    /*display: none;*/
    position: fixed;
    bottom: 18px;
     right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #ead9a7;
    color: #fff;
    transition: .1s;
    cursor: pointer;
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: 3rem;
    box-shadow: 1px 1px 0px 0px #bdae86d1;
}

    #myUp:hover {
        background-color: #fcefc9;
        color: #454135;
        transform: scale(1.1);
        transition: .1s;
    }
    .top-icon{
        width:2rem;
        display:flex;
        justify-content:center;
        align-content:center;
    }
.navbar-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    /*padding-top: 3rem;*/
}

.navbar {
    position: fixed;
    top: 0;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    /*background-color:#fff;*/
    transition: background-color 500ms;
}

    .navbar.sticking {
        background-color: #fff;
    }

.logo {
    width: 20rem;
    transition: 3s;
}

    .logo:hover {
        transform: scale(1.2);
        transition: 5s;
    }

.right-arrow {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem 0 1rem;
    border-radius: 3rem;
    border: 0.4rem solid #c4b896;
    transition: 3s;
}

.arrow {
    border-radius: 10rem;
    background-color: #c4b896;
    width: 1.1rem;
    padding: 0.3rem;
}

.right-arrow2 {
    background-color: #ffffff95;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem 0 1rem;
    border-radius: 3rem;
    border: 0.4rem solid #e5e5e5;
    transition: 3s;
}

.arrow2 {
    border-radius: 10rem;
    background-color: #ff4f4f;
    width: 1.1rem;
    padding: 0.3rem;
}

a {
    text-decoration: none;
}

.right-container {
    display: flex;
    gap: 0.4rem;
}

.redirect-link {
    padding-left: 0.5rem;
    color: #c4b896;
}


.redirect-link2 {
    padding-left: 0.5rem;
    color: #838383;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
}

.header {
    background-color: #e8e8e8;
    width: 100%;
}

.path-text {
    color: #454135;
}

.path-index {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 13rem;
}

    .path-index p {
        margin: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .path-index a:hover {
        transform: scale(1.01);
        transition: .2s;
        /*letter-spacing: 1px;*/
        font-weight: 600;
    }

    .path-index a:hover {
        color: #c4b896;
    }

.header h1 {
    font-size: 4.5rem;
    margin: 0;
}

.title-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1.6rem;
    padding-bottom: 2rem;
    transition: .3s;
}

    .title-page h1 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
}

.main-content {
    background-color: #fff;
    border-radius: 1rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
}

.section-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    align-items: start;
}

ul {
    list-style: none;
    padding: 1rem 1rem 1rem 1rem;
    width: 50rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-box {
    padding: 2rem;
    transition: 0.5s;
    word-break:break-word;
}

    .main-box:hover {
        transform: scale(1.01);
        transition: ease-in .2s;
    }

    .main-box li {
        /*padding: 0.4rem;*/
        /* transform: scale(1.01);
        transition: ease-in .1s;*/
    }

li p {
    float: right;
    text-align: start;
    display: block;
    float: left;
    width: 100%;
}

a:hover {
    cursor: pointer;
}

.right-arrow:hover {
    border: 0.4rem solid #faf4e4;
    transform: scale(1.05);
    transition: 0.5s;
    /*background: rgb(250,244,228);
    background: -moz-linear-gradient(254deg, rgba(250,244,228,1) 0%, rgba(232,224,202,1) 100%);
    background: -webkit-linear-gradient(254deg, rgba(250,244,228,1) 0%, rgba(232,224,202,1) 100%);
    background: linear-gradient(254deg, rgba(250,244,228,1) 0%, rgba(232,224,202,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#faf4e4",endColorstr="#e8e0ca",GradientType=1);*/

    background: rgb(255,251,241);
    background: -moz-linear-gradient(254deg, rgba(255,251,241,1) 0%, rgba(255,250,238,1) 100%);
    background: -webkit-linear-gradient(254deg, rgba(255,251,241,1) 0%, rgba(255,250,238,1) 100%);
    background: linear-gradient(254deg, rgba(255,251,241,1) 0%, rgba(255,250,238,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fffbf1",endColorstr="#fffaee",GradientType=1);
}

.right-arrow2:hover {
    border: 0.4rem solid #d9d9d9;
    color: #fff;
    transform: scale(1.01);
    transition: 0.2s;
}


.title-page:hover {
    color: #c4b896;
    transform: scale(1.01);
    transition: .3s;
    /*text-shadow: 1px 2px 9px black;*/
}

.left-box {
    padding: 2rem;
    background-color: #fff;
    border-radius: 1rem;
    position: sticky;
    top: 12rem;
    transition: 3s;
}

    .left-box:hover {
        /*background-color: #faf4e4;*/
        transform: scale(1.05);
        transition: 0.3s;
    }

.redirect-box a {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-decoration: none;
    color: black;
}

.cookies {
    background-color: black;
    padding: 1rem;
    border-radius: 1rem;
    width: 1.5rem;
}

.redirect-box:hover {
    transform: scale(1.01);
    transition: ease-in .1s;
    text-decoration: underline;
}


@media only screen and (max-width: 1300px) {
    ul {
        width: 40rem;
    }

    .title-page h1 {
        font-size: 4rem;
    }

    .section-content {
        display: flex;
        flex-direction: column;
    }

    .left-box {
        position: static;
    }
}

@media only screen and (max-width: 768px) {
    ul {
        width: 30rem;
    }

    .title-page h1 {
        font-size: 3rem;
    }

    .logo {
        width: 12rem;
    }

    .navbar-container {
        padding-top: 2rem;
    }
}

@media only screen and (max-width: 580px) {
    .right-container {
        display: flex;
        flex-direction: column;
    }

    ul {
        width: 15rem;
    }

    .title-page h1 {
        font-size: 2rem;
    }

    .logo {
        width: 8rem;
    }

    .arrow, .arrow2 {
        padding: 0.1rem;
    }

    .navbar-container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media only screen and (max-width:386px) {
    .path-index {
        flex-direction: column;
    }
}
