/*generic styling*/
* {
    margin: 0;
    padding: 0;
    font-size: 1.5vw;
    text-align: justify;
}

a {
    text-decoration: none;
}
a:hover {
    color: #71481f;
    transition: color, background-color;
    transition-duration: 0.3s;
}

@font-face {
    font-family: 'MyWebFont';
    src: url('Comfortaa-VariableFont_wght.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

body {
    font-family: 'MyWebFont', sans-serif;
    overflow-x: hidden;
    background: #1B5528;
    /* background-image: linear-gradient(3E9551, 1B5528); */
}

ul {
    list-style-type: none;
}

/*Background*/
#grad1 {
    position:absolute;
    top:0px;
    height: 100vh;
    width: 100vw;
    z-index: -1;
    /* background-color: red; For browsers that do not support gradients */
    background: #56B76B;
    background: -webkit-linear-gradient(#56B76B, #1B5528);
    background:    -moz-linear-gradient(#56B76B, #1B5528);
    background:         linear-gradient(#56B76B, #1B5528);
}

/*Nav Bar*/
.nav-bar {
    /* position: fixed; */
    display: flex;
    justify-content: space-between;
    width: 100%;
    top: 0;
    height: 100px;
    z-index: 12;
    color: white;
    background-color: #FFFDF6;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.39);
}

.centre {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.navigation-bar {
    float: right;
    width: 50%;
    margin: auto 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.nav-button {
    display: flex;
    justify-content: center;
    background: #C9864E;
    box-shadow: none;
    border-radius: 20px;
}
.nav-button p {
    margin: 15px;
}

.navigation-bar p:link {
    text-decoration: none;
    color: white;
}

.navigation-bar a:link,.navigation-bar a:visited {
    text-decoration: none;
    color: white;
}

.nav-button p:hover, .nav-button:hover p {
    color: #71481f;
    text-decoration: none;
    transition: color, background-color;
    transition-duration: 0.3s;
}
.nav-logo {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 40px;
}

#nav-logo-1 {
    width: 100px;
}

#nav-logo-2 {
    width: 300px;
    top: 30px;
}

/* Nav bar Responsive layout*/
@media screen and (max-width: 1500px) {
    .navigation-bar {
        width: 80%;
        display: block;
    }
    .nav-bar {
        flex-direction: column;
        height: auto;
        align-items: center;
    }
    .nav-button {
       margin: 10px;
       display: block;
       width: auto;
    }
    .navigation-bar li {
       margin: 10px;
       display: block;
       float: left;
       width: 40%;
    }
    .navigation-bar * {
       font-size: 4vw;
       text-align: center;
    }
}
/* Nav bar Responsive layout*/
@media screen and (max-width: 1000px) {
    .navigation-bar {
        width: 100%;
        display: flex;
    }
    .nav-button {
       margin: 10px;
       display: flex;
    }
    .navigation-bar li {
       margin: 10px;
       display: flex;
       width: 100%;
    }
    .navigation-bar li a {
       width: 100%;
    }
    .navigation-bar * {
       font-size: 4vw;
       text-align: center;
    }
}

img {
    object-fit: cover;
}

 /* Main screen*/
 .one {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
 }
 .two {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
 }

 .two a {
    text-decoration: none;
 }

 /* Main Screen Responsive layout*/
 @media screen and (max-width: 1500px) {
    .one {
        margin-top: 60px;
    }
}
/* Title index page*/
.title {
    font-size: 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-bottom: 50px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.title div {
    display: flex;
    justify-content: space-evenly;
}

.title h1 {
    font-size: 4vw;
    color: white;
}
/* Main Screen Responsive layout*/
@media screen and (max-width: 1500px) {
   .title h1 {
    font-size: 6vw;
   }
}

.title p {
    color: white;
    text-align: center
}

 /* Search Bar*/
 .search {
    flex-direction: column;
    align-items: center;
    width: 60%;
    display: flex;
}

.search img {
    width: 20%;
    object-fit: contain;
    object-position: center bottom;
}

.search-bar {
    display: flex;
    flex:1;
    z-index: 3;
    height: 100px;
    border: 1px solid #dfe1e5;
    background: #FFFDF6;
    box-shadow: none;
    border-radius: 35px;
    width: 80%;
}
.magnifind {
    display: flex;
    align-items: center;
    width: 3vw;
    margin-top: -5px;
    padding: 5px 8px 0 14px
}

.magnifind img {
    width: 120%;
    margin-right: 30px;
}

.search-input {
    display: flex;
    align-items: center;
    width:100%;
}
 #search-element {
    font-family: 'MyWebFont', sans-serif;
    background-color: transparent;
    border: none;
    outline: none;
    color: rgba(0,0,0,.67);
    word-wrap: break-word;
    display: flex;
    height: 2vw;
    line-height: 2vw;
    width: 100%;
    flex: 100%;
    font-size: 2vw;
    resize: none;
    overflow: hidden;
    padding: 5px;
 }

 
 @media screen and (max-width: 1500px) {
    #search-element {
        font-size: 6vw;
        height: auto;
        line-height: 6vw;
    }
    .search-bar {
        width:100%
    }
    .magnifind {
        width: 6vw;
    }
}

 .search ::placeholder {
    color: lightslategray;
    opacity: 1;
}

/* Search bar Responsive layout*/
@media screen and (max-width: 1500px) {
    .search {
        width: 80%;
    }
    .recommendation {
        width: 80% !important;
    }
}
/* Between Two Ferns*/
.between-two-ferns {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
}
#fern {
    width: 17vw;
    height: 100%;
}

@media screen and (max-width: 1500px) {
    #fern {
        width: 0;
        height: 0;
    }
}

/* Recommendation box*/
.recommendation {
    margin: 50px;
    background: #FFFDF6;
    box-shadow: none;
    border-radius: 40px;
    width:60%
}

.reco-page {
    margin: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.reco-box-section {
    margin: 10px;
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: space-evenly;
}

.box-title {
    display: flex;
    justify-content: center;
}

.box-title p {
    color: black;
    font-size: 3vw;
}

.reco-box {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background: #3E9551;
    box-shadow: none;
    border-radius: 40px;
    align-items: center;
}

.reco-box img {
    margin-top: 50px;
    margin-left: 25px;
    margin-right: 25px;
    width: 80%;
    height: 20vw;
}
@media screen and (max-width: 1500px) {
    .reco-box-section {
        width: 100% !important;
    }
    .reco-box img {
        height: 50vw;
    }
}

.box-page-title {
    display: flex;
    text-align: center;
}

.box-page-title p {
    margin: 25px;
    color: white;
    font-size: 2vw;
    text-decoration: none;
    text-align: center;
}

@media screen  and (max-width: 1500px){
    
    .box-page-title p {
        font-size: 5vw;
    }
    .box-title p {
        color: black;
        font-size: 6vw;
    }
}

.pick-for-me {
    margin: 35px;
    z-index: 3;
    display: flex;
    flex:1;
    justify-content: center;
    background: #C9864E;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.39);
    border-radius: 100px;
    text-decoration: none;
}

/*reize on list.php*/
@media screen and (max-width: 1500px) {
    .wantMore .pick-for-me {
        float: none !important;
        clear:both;
    }
}

.pick-for-me p {
    margin: 20px;
    font-size: 50px;
    color: white;
    text-decoration: none;
}
.pick-for-me p:hover, .pick-for-me:hover p {
    color: #71481f;
    text-decoration: none;
    transition: color, background-color;
    transition-duration: 0.3s;
}

/* Recomendation Responsive layout*/
@media screen and (max-width: 1500px) {
    .reco-page {
        flex-direction: column;
    }
}

/* Translater*/
.summarising-area {
    margin-bottom: 10vh;
}

.summariser-result {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin:100px;
}

.translater-box {
    flex:1;
    z-index: 3;
    border: 7px solid #875930;
    background: #FFFDF6;
    box-shadow: none;
    border-radius: 20px;
    min-width: 70%;
    margin:2px;
    height: auto;
}

.translater-box textarea {
    margin: 10px;
    margin-right: -20px;
    direction: ltr;
    background-color: transparent;
    border: none;
    outline: none;
    width: calc(100% - 20px);
    min-height: 125px;
    resize: none;
    overflow: hidden;
}

.translate-text-box {
    flex:1;
    z-index: 3;
    border: 7px solid #875930;
    background: #FFFDF6;
    box-shadow: none;
    border-radius: 20px;
    margin:2px;
    height: auto;
}
.translate-text-box p {
    margin: 20px;
}

.summarise-button {
    margin: 35px;
    z-index: 3;
    display: block;
    justify-content: center;
    background: #C9864E;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.39);
    border-radius: 100px;
    border-width: 0px;
    width: 50%;
}

.summarise-button p {
    font-size: 32px;
    font-family: 'MyWebFont', sans-serif;
    color:white;
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.summarise-button p:hover, .summarise-button:hover p {
    color: #71481f;
    text-decoration: none;
    transition: color, background-color;
    transition-duration: 0.3s;
}
.summarise-button-box {
    display: flex;
    justify-content: center;
}
.summarise-button-box p {
    text-align: center;
}
/* Summariser Responsive layout*/
@media screen and (max-width: 1500px) {
    .summariser-result {
        flex-direction: column;
    }
}

/* Other*/
 .right {
    float: right;
    width: 50%;
    height: 100%;
 }

 .left {
    float: left;
    width: 50%;
    height: 100%;
 }

 #placeholder-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(500%);
    z-index: -1;
 }

 .centre-flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
 }

 /* foooooter*/
 .footer {
    display: flex;
    background-color: #FFFDF6;
    position: relative;
    bottom: 0;
    width: 100%;
    flex-direction: column;
}

.footer-list {
    float: right;
    width: 100%;
    margin: 20px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    font-size: 30px;
}

.footer-list li {
    display: flex;
    align-items: center;
}

.footer-list img {
    width: 50px;
}

.footer-list a:link {
    text-decoration: none;
    color: black;
}

.footer-list a:link,.footer-list a:visited {
    text-decoration: none;
    color: black;
}

.footer-list a:hover {
    color: #cd863f;
    text-decoration: none;
    transition: color, background-color;
    transition-duration: 0.3s;
}

/* Footer Responsive layout*/
@media screen and (max-width: 1000px) {
    .footer {
        flex-direction: column;
    }

    .footer-list {
        flex-direction: column;
    }

    .footer-list li {
        margin: auto;
    }

    .footer-list img {
        width: 0px;
    }
}


#everything {
    width: 100%;
    height: 100%;
}

/*Oh No Page*/
.oh-no-page {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 50px;
    margin-bottom: 200px;

}
.no-title {
    margin: 10px;
    font-size: 50px;
    color: white;
}

.no-page {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

#squirrel {
    height: 300px;
}

#acorn {
    width: 300px;
}

.no-box {
    flex:1;
    z-index: 3;
    height: 100px;
    width: 80%;
    background: #FFFDF6;
    box-shadow: none;
    border-radius: 20px;
}
.no-box p {
    font-size: 30px;
    overflow-wrap: break-word;
    margin: 20px;
}

.no-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    margin:50px;
}


/*Info page*/
 .Text {
    position: absolute;
    top: 100px;
    left: 100px;
    right: 400px;
 }

 .Text h1{
    color: aqua;
    text-transform: uppercase;
 }

 .Text h2{
    text-align: center;
 }

 .Text h3{
    text-align: center;
 }

 .Text p{
    text-align: center;
 }

 .jumptomenu {
    display: flex;
    align-items: center;
    width: 100%;
 }

 .jumpto {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 5vw;
    margin-right: 5vw;
 }

 .sub {
    background-size: 100px;
    border-radius: 30px;
    border-color: black;
    border-width: 2px;
    border-style: solid;
    padding: 10px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.39);
 }

 .jumpto a {
    text-align: center;
    color: white;
 }

 .jumpto a:link {
    text-decoration: none;
    color: white;
 }

 .jumpto a:link, .jumpto a:visited {
    text-decoration: none;
    color: white;
 }

 .jumpto a:hover {
    color: black;
    text-decoration: none;
    transition: color, backgrounf-color;
    transition-duration: 00.3s;
 }

.textPlus {
    margin:  0px 5vw;
}

 .article {
    padding: 10px;
    background-color: #FFFDF6;
    border-radius: 20px;
    width: 70%;
    border-width: 3px;
    border-style: solid;
    border-color: #875930;
    float:left;
    margin-bottom: 50px;
 }

 @media screen and (max-width: 1500px) {
    .textPlus {
        margin:  0px;
    }

    .article {
        clear: both;
        float: none !important;
        width: 90% !important;
        margin: 50px auto;
    }

    .wantMore {
        clear: both;
        float: none !important;
        width: 90% !important;
        margin: 50px auto;
        margin-top: 0px;
    }

    .moreArt a {
        float: left;
        width: 50%;
    }
    * {
        font-size: 2vw;
    }
 }


 @media screen and (max-width: 1000px) {
    .articleContainer img{
        clear: both;
        float: none !important;
        width: 100% !important;
    }

    .articleContainer p{
        clear: both;
        float: none !important;
        width: 100% !important;
    }

    .articleContainer h3{
        clear: both;
        float: none !important;
        width: 100% !important;
    }

    .articleContainer h1{
        clear: both;
        float: none !important;
        width: 100% !important;
    }

    .moreArt a {
        clear: both;
        float: none !important;
        width: 100% !important;
    }
    * {
        font-size: 4vw;
    }
    .article * {
        font-size: 6vw;
    }
    .jumpto {
        display: block;
        text-align: center;
    }
    .sub {
        margin-bottom: 20px;
    }
    #nav-logo-1 {
        width: 200px;
    }

    #nav-logo-2 {
        width: 600px;
        top: 30px;
    }
    .wantMore .spacer {
        float: none !important;
        clear: both !important;
        width: 100% !important;
    }
 }

 .articleContainer img{
    padding: 1%;
    width: 48%;
    float: left;
    min-height: 3vw;
 }

 .articleContainer p{
    padding: 1%;
    width: 48%;
    text-align: justify;
    float: left;
 }

 .articleContainer h3{
    padding: 1%;
    width: 48%;
    float: left;
    text-align: center;
 }

 .articleContainer h1{
    padding: 1%;
    width: 48%;
    float: left;
    text-align: center;
 }

 .articleContainer {
    margin: 1%;
    width: 98%;
    clear:  both;
 }

 .wantMore {
    padding: 10px;
    background-color: #FFFDF6;
    border-width: 3px;
    border-color: #C9864E;
    border-style: solid;
    border-radius: 20px;
    width: 20%;
    float:right;
    margin-bottom: 50px;
 }

 .wantMore h2 {
    text-align: center;
    margin-bottom: 1vh;
 }

 .wantMore img{
    width: 100%;
 }

 .moreArt h2:link{
    text-decoration: none;
    color: black;
 }

 .moreArt h2:visited{
    text-decoration: none;
    color: black;
 }

 .moreArt h2:hover{
    text-decoration: none;
    color: #875930;
 }

 .moreArt a:link{
    text-decoration: none;
    color: black;
 }

 .moreArt a:visited{
    text-decoration: none;
    color: black;
 }

 .moreArt a:hover{
    text-decoration: none;
    color: #875930;
 }

 .spacer {
     clear:both;
 }

 hr {
    border: 0px;
    border-top: 3px solid #875930;
    width: 100%;
 }

 .EthosBox {
    padding-bottom: 5vh;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 30px;
    margin-bottom: 15vh;
 }

 .EthosMessage {
    padding-left: 2vw;
    padding-right: 2vw;
    background-color: #FFFDF6;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
 }

 .EthosMessage h4 {
    margin: 20px
}

 .AboutBox {
    padding-bottom: 5vh;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 30px;
    margin-bottom: 20vh;
 }

.AboutMessage {
    padding-left: 2vw;
    padding-right: 2vw;
    background-color: #FFFDF6;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.AboutMessage h4 {
    margin: 20px
}

.EthicsBox {
    padding-bottom: 5vh;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 30px;
    margin-bottom: 50px;
}

.EthicsMessage {
    padding-left: 2vw;
    padding-right: 2vw;
    background-color: #FFFDF6;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.EthicsMessage h4 {
    margin: 20px
}

.loading {
    visibility: hidden;
    text-align: center;
    padding-top: 50px;
    color: white;
}
