@font-face {
    font-family: 'Ubuntu';
    src: url(../fonts/Ubuntu-Regular.ttf);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu';
    color: #28004b;
}
html, body{
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}
a{
    text-decoration: none;
    color: #28004b;
}
a:hover{
    font-weight: 700;
}
ul{
    list-style: none;
}
ol{
    padding-left: 20px;
}

/* Main page and general styles*/

.wrapper{
    width: 1600px;
    margin: 0 auto;
}
#main{
    background: linear-gradient(to right, #cbbcfc, #c5eac9);
    color: #28004b;
    height: 100vh;
    position: relative;
}
.main-leaf1{
    position: absolute;
    right: 30px;
    top: 20vh;
    pointer-events: none;
}
.main-leaf2{
    position: absolute;
    right: 15vw;
    top: 20vh;
    pointer-events: none;
    transform: rotate(45deg);
}
.main-leaf3{
    position: absolute;
    right: 10vw;
    top: 35vh;
    pointer-events: none;
    transform: rotate(45deg);
}
.figure{
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 500px;
}
.mobile-menu{
    background: #c5eac9;
    position: fixed;
    height: 100vh;
    width: 70vw;
    left: -70vw;
    top: 0;
    z-index: 101;
    transition-duration: 0.4s;
}
.mobile-menu.active{
    left: 0;
}
.mobile-menu nav{
    border: none;
}
.mobile-menu ul{
    flex-direction: column;
}
header{
    background: linear-gradient(to right, #cbbcfc, #c5eac9);
    position: fixed;
    top: 0;
    padding: 20px 0;
    width: 100vw;
    text-align: center;
    z-index: 100;
}
header .avatar:not(img){
    position: absolute;
    top: 20px;
    right: 40px;
    width: 60px;
    height: 60px;
}
header .avatar img{
    width: 100%;
    height: 100%;
}
nav{
    border: 3px solid #28004b;
    border-right: none;
    border-left: none;
    width: auto;
    display: inline-block;
    padding: 20px;
}
nav ul{
    display: flex;
    justify-content: center;
    column-gap: 20px;
}
nav a{
    color: #28004b;
    font-size: 20px;
    font-weight: 700;
}
nav a:hover{
    border-bottom: 3px solid #28004b;
}
.burger{
    display: none;
    border: 2px solid #28004b;
    padding: 5px;
    border-radius: 4px;
}
.burger span{
    display: block;
    width: 30px;
    height: 4px;
    background: #28004b;
    border-radius: 4px;
    margin-bottom: 3px;
    transition-duration: 0.4s;
    position: relative;
}
.burger.active span:nth-child(1){
    transform: rotate(45deg) translateY(10px);
    left: 7px;
}
.burger.active span:nth-child(2){
    opacity: 0;
}
.burger.active span:nth-child(3){
    transform: rotate(-45deg) translateY(-10px);
    left: 7px;
}
.burger span:last-child{
    margin-bottom: 0;
}
.main-container{
    padding-top: 20vh;
    width: 1200px;
    margin: 0 auto;
}
h1{
    font-size: 80px;
    margin-bottom: 50px;
}
.wrapper.single h1{
    font-size: 48px;
}
h3{
    font-size: 40px;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 110%;
    position: relative;
}
.policy h3{
    margin-top: 30px;
}
h4{
    font-size: 42px;
}
h5{
    font-size: 18px;
    margin: 20px 0;
    text-align: center;
}
.header-leaf{
    position: absolute;
    width: 60px;
    top: -20px;
    left: 180px;
    transform: rotate(35deg);
}
.main-container p{
    font-size: 20px;
    font-style: italic;
    line-height: 150%;
}
.main-items{
    margin-top: 30px;
}
.main__item{
    display: block;
    width: auto;
    color: #28004b;
    border: 3px solid #28004b;
    font-size: 20px;
    font-weight: 700;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 12px;
    text-align: center;
    transition-duration: 0.2s;
}
.main__item:hover{
    background: #28004b;
    color: #fff;
    border: 3px solid #28004b;
}
h2{
    font-size: 60px;
    margin: 50px 0;
    position: relative;
}
.poem-container{
    margin-bottom: 50px;
}
.poem{
    font-style: italic;
    display: flex;
    font-size: 18px;
    align-items: center;
    text-align: center;
    line-height: 130%;
}
.poem b{
    border-top: #000 3px solid;
    padding-top: 7px;
}
.poem img{
    border-radius: 16px;
    margin-left: 50px;
}
.text{
    padding-bottom: 50px;
}
.text{
    font-size: 18px;
    line-height: 150%;
}
.text .flex > img{
    float: right;
}
.hightlight{
    font-size: 18px;
    line-height: 150%;
    padding: 20px;
   background: #c5eac9;
    /* background-image: url(../img/clouds.jpeg); */
    background-attachment: fixed;
    background-size: cover;
    border-radius: 16px;
    margin-bottom: 20px;
    color: #28004b;
}
blockquote{
    font-style: italic;
    text-align: right;
    font-weight: 700;
}
.quote{
    font-weight: 700;
    font-style: italic;
}
footer{
   background: #28004b;
   padding: 50px 0;
   color: #FFF;
}
footer *{
    color: #FFF !important;
}
.footer-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
footer nav{
    border: none;
    padding: 0;
    margin-bottom: 30px;
}
footer nav ul{
    padding: 0;
    flex-direction: column;
}
footer p{
    font-weight: 700;
    line-height: 150%;
}
.flex{
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.footer-bottom{
    text-align: center;
}
@media(max-width: 1800px){
    .wrapper{
        width: 1200px;
    }
}
@media(max-width: 1200px){
    .wrapper{
        width: 960px;
    }
    h1{
        font-size: 60px;
    }
    .main-container{
        width: 100%;
    }
    #main{
        height: auto;
        padding-bottom: 20px;
    }
    .main-leaf2{
        width: 150px;
        top: 8vh;
    }
    .main-leaf3{
        right: 12vw;
        top: 27vh;
    }
    .text .flex > img{
        display: none;
    }
    .thin-wrapper{
        width: 96vw !important;
        padding-top: 10vh !important;
    }
}
@media(max-width: 1024px){
    .main-leaf1{
        width: 150px;
        top: 8vh;
        right: 0;
    }
    .main-leaf2{
        display: none;
    }
    .main-leaf3{
        right: auto;
        left: 0;
        top: 10vh;
        z-index: 1;
    }
    .wrapper{
        width: 96vw;
    }
    .burger{
        display: block;
    }
    .main-container{
        padding-top: 50px;
    }
    h1{
        font-size: 40px;
        text-align: center;
        position: relative;
        z-index: 2;
        margin-bottom: 30px;
    }
    header{
        padding: 10px;
        display: flex;
        justify-content: flex-end;
    }
    header nav{
        display: none;
    }
    h2{
        font-size: 28px;
        text-align: center;
        margin: 30px 0;
    }
    .poem{
        flex-direction: column-reverse;
    }
    .poem img{
        margin-left: 0;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-container{
        flex-direction: column;
    }
    .footer-logo{
        flex-direction: column;
        row-gap: 20px;
        text-align: center;
    }
    footer nav ul{
        margin-top: 20px;
        text-align: center;
    }
    .wrapper.pt{
        padding-top: 10vh !important;
    }
}

/* Courses page styles*/

.thin-wrapper{
    width: 1200px;
    margin: 0 auto;
    padding-top: 15vh;
}
.courses__item-header{
    background: linear-gradient(to right, #cbbcfc, #c5eac9);
    color: #28004b;
    padding: 20px;
    font-weight: 700;
    border-radius: 16px;
    font-size: 24px;
}
.courses__item-content{
    margin: 20px 0;
}
.courses__item-text{
   background: #c5eac9;
    color: #28004b;
    padding: 20px;
    font-size: 20px;
    border-radius: 16px;
}
.flex-course{
    display: flex;
    align-items: stretch;
    column-gap: 2%;
}
.flex-course:nth-child(even){
    flex-direction: row-reverse;
}
.flex-course > div{
    width: 49%;
}
.courses__item-image img{
    width: 100%;
    height: 100%;
    border-radius: 16px;
}
@media(max-width: 1024px){
    .flex-course{
        flex-direction: column;
        row-gap: 15px;
    }
    .flex-course > div{
        width: 100%;
    }
    .courses__item-header{
        padding: 15px;
        font-size: 18px;
    }
    .courses__item-text{
        font-size: 16px;
    }
    .flex-course:nth-child(even){
        flex-direction: column;
    }
}

/* Poemas page styles */

.poem-header{
    background: linear-gradient(to right, #cbbcfc, #c5eac9);
    color: #28004b;
    padding: 20px;
    font-weight: 700;
    border-radius: 16px;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.poem-content{
   background: #c5eac9;
    color: #28004b;
    font-size: 20px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
    padding: 20px 40px;
}
@media(max-width: 1024px){
    .poem-header{
        font-size: 18px;
        padding: 15px;
    }
    .poem-content{
        font-size: 16px;
        margin-bottom: 30px;
    }
}

/* News and forum page styles */

.wrapper.pt{
    padding-top: 15vh;
}
table{
    background: linear-gradient(to right, #cbbcfc, #c5eac9);
    color: #28004b;
    border: 2px solid #28004b;
    width: 100%;
    margin-bottom: 50px;
    border-radius: 16px;
}
tr:hover{
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
th{
    padding: 15px;
}
td{
    text-align: center;
    padding: 15px;
}
td a{
    color: #28004b;
}
td a:hover{
    font-weight: 700;
}
.news__item-container{
    background: linear-gradient(to right, #cbbcfc, #c5eac9);
    color: #28004b;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 40px;
    font-size: 20px;
    min-height: 40vh;
    display: flex;
}
.news-author{
    width: 15%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.news-content{
    padding: 0 20px;
    width: calc(85% - 3px);
    border-left: 3px solid #28004b;
}
.author-avatar img{
    border-radius: 50%;
}
.searchbar{
    display: flex;
    align-items: center;
    background: #c5eac9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
}
#search{
    background: transparent;
    border: none;
    border-bottom: #28004b 2px solid;
    border-radius: 0;
    padding: 5px;
    font-size: 18px;
    margin-right: 20px;
    width: 100%;
    outline: none;
}
.search-icon{
    cursor: pointer;
}
@media(max-width: 1024px){
    .news-container, .forum-container, #posts .wrapper{
        overflow-x: scroll;
    }
    header .avatar:not(img) {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: auto;
        left: 20px;
        width: 35px;
        height: 35px;
    }
    .news__item-container{
        flex-direction: column;
    }
    .news-author{
        width: 100%;
        margin-bottom: 30px;
    }
}

/* Board page styles */

.board__item-header{
    background: #c5eac9;
    padding: 20px;
    border-radius: 16px;
    color: #28004b;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 25px;
}
.board__item-subheader{
    background: #cbbcfc;
    padding: 20px;
    border-radius: 16px;
    color: #28004b;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}
.board__item-content{
    background: #cbbcfc;
    padding: 20px;
    border-radius: 16px;
    color: #28004b;
    margin-bottom: 15px;
}
.board__item-content.item-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.board__item-content.item-flex > div:first-child{
    width: 20%;
}
.board__item-content.item-flex > div:last-child{
    width: calc(80% - 3px);
    border-left: #28004b solid 3px;
    padding-left: 20px;
}
.board__item a{
    color: #28004b;
}
.board__item a:hover{
    border-bottom: 2px solid #28004b;
}

@media(max-width: 1024px){
    .board__item-content.item-flex{
        flex-direction: column;
    }
    .board__item-content.item-flex > div:first-child, .board__item-content.item-flex > div:last-child{
        width: 100%;
    }
    .board__item-content.item-flex > div:last-child{
        padding-left: 0;
        padding-top: 10px;
        border-left: none;
        border-top: 2px solid #28004b;
    }
    .board__item-content.item-flex > div:first-child{
        border-bottom: 2px solid #28004b;
        padding-bottom: 10px;
    }
}

/* Auth page styles */

form{
    background: linear-gradient(to right, #cbbcfc, #c5eac9);
    padding: 20px;
    border-radius: 20px;
    margin: 0 auto;
    margin-bottom: 100px;
    width: 800px;
}
form input{
    display: block;
    outline: none;
    border: none !important;
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}
form input[type="checkbox"]{
    display: inline-block;
    width: auto;
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 0;
    margin-right: 5px;
}
.nomargin form{
    margin-bottom: 15px;
}
input[type="submit"]{
    background: #FFF;
    border: 3px solid #28004b;;
    cursor: pointer;
    padding: 15px 0;
}
input[type="submit"]:hover{
    background: #28004b;
    color: #FFF;
}
label{
    color: #28004b;
    margin-bottom: 5px;
    display: block;
}
.login-remember label{
    display: flex;
    align-items: flex-end;
}
input[type="submit"]{
    font-weight: 700;
    text-transform: uppercase;
}
.comment-form input, .comment-form textarea{
    display: block;
    outline: none;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 3px solid #28004b;
    font-size: 18px;
    resize: none;
}
.comment-form label{
    font-weight: 700;
}
@media(max-width: 1024px){
    form{
        width: 100%;
    }
    .input{
        margin-bottom: 10px;
    }
    form{
        margin-bottom: 50px;
    }
}

/* Profiles styes */

.profile-sidebar{
    background: #c5eac9;
    padding: 20px;
    border-radius: 16px;
    width: 400px;
}
.avatar img{
    border-radius: 50%;
}
.profile-sidebar_top{
    text-align: center;
}
.profile-sidebar_top p{
    color: #28004b;
    margin: 10px 0;
    font-size: 20px;
}
@media(max-width: 768px){
    .profile-sidebar{
        width: 100%;
        margin-bottom: 40px;
    }
}

/* Gallery styles */

.gallery-header{
    background: #cbbcfc;
    padding: 20px;
    border-radius: 16px;
    color: #28004b;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}
.gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    column-gap: 10px;
    row-gap: 15px;
    margin-bottom: 30px;
}
.gallery img{
    width: calc(100% / 3 - 10px);
    border-radius: 8px;
}
@media(max-width: 1024px){
    .gallery{
        row-gap: 10px;
    }
    .gallery img{
        width: calc(50% - 5px);
    }
}

/* Other styles */

.logged-in-as a{
    display: block;
}
.comment{
    background: linear-gradient(to right, #cbbcfc, #c5eac9);
    font-size: 20px;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 40px;
}
.comment *{
    color: #28004b !important;
}
.comment-body{
    display: flex;
}
.comment-body footer{
    padding: 0 20px;
}
.comment-meta{
    background: transparent;
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.comment-content{
    padding: 0 20px;
    width: calc(85% - 3px);
    border-left: 3px solid #28004b;
}
.comment-author{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}
.comment-author img{
    width: 96px;
    height: 96px;
    border-radius: 50%;
}
.comment-author a{
    font-weight: 400;
    margin-top: 5px;
    display: block;
}
.comment-author .says{
    display: none;
}
.comment-metadata time{
    font-size: 14px;
}
.comment-metadata .comment-edit-link{
    font-size: 14px;
}
.comment-respond{
    margin: 50px 0;
}
.reply{
    display: none;
}
.button{
    background: #c5eac9;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
}
.textarea{
    display: block;
    width: 100%;
    resize: none;
    border-radius: 12px;
    border: 3px solid #28004b;
    padding: 12px;
    font-size: 18px;
    font-family: 'Ubuntu';
    outline: none;
    margin-bottom: 30px;
    height: 300px;
}
.input{
    display: block;
    width: 100%;
    border-radius: 12px;
    border: 3px solid #28004b;
    padding: 12px;
    font-size: 18px;
    font-family: 'Ubuntu';
    outline: none;
}
.bell{
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: 50%;
    background: #FFF;
    padding: 20px;
}
.policy{
    padding-bottom: 40px;
}
.reg-wrapper p{
    margin: 10px 0;
    text-align: center;
}
.buttons{
    text-align: center;
}
#access-form{
    display: none;
}
#access-form.active{
    display: block;
    margin-top: 20px;
}
@media(max-width: 1368px){
    h4{
        font-size: 28px;
    }
}
@media(max-width: 768px){
    .bell{
        padding: 10px;
    }
    h4{
        font-size: 20px;
    }
    .policy h3{
        font-size: 20px;
    }
    h5{
        font-size: 14px;
    }
}