@import url('reveal.css');
:root{
    --outermargin:1.5rem;
    --text:#333;
    --green-light:#A1FFE1;
    --main-green:#00C587;
}
@font-face {
    font-family: "open";
    src: url("../font/OpenSans-Regular.ttf");
    font-weight:normal;
}
@font-face {
    font-family: "open";
    src: url("../font/OpenSans-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: "boldonse";
    src: url("../font/Boldonse.ttf");
}
h1,h2,h3{
    font-family: "boldonse";
    font-size: 2rem;
    font-weight: normal;
}
h2{
    line-height:2.0;
}
a {
    text-decoration: underline;
	color:var(--main-green);
	text-underline-offset: 22%;
	text-decoration-thickness:.06rem; 
}
a:hover{
    text-decoration: none;
}
strong{
    font-family: "open";
    font-weight:bold;
}
p::selection {
  color: white;
  background-color: var(--main-green);
}
html{
    scroll-behavior: smooth;
}
body{
    margin:0;
    font-family: "open";
    line-height: 1.4;
}
.wrap{
    display: flex;
    flex-direction: column;
    width:100%;
    max-width: 1400px;
    margin:0 auto;
    box-sizing: border-box;
}
#nav{
    padding:var(--outermargin);
    display:flex;
    justify-content:flex-start;
    position: sticky;
    top:-.1rem;
    background-color:rgba(255,255,255,0.65);
    backdrop-filter: blur(20px);
    justify-content: space-between;
    align-items: center;
    transform-origin: top left;
    z-index: 999;
}
#nav #logo{
    transform-origin: top left;
    width: 100%;
    max-width: 150px;
    transition: all 0.25s ease;
}
.logo-box{
    flex:1 1 0;
}
#play{
    opacity: 0.2;
}
#play:hover{
    cursor: pointer;
}
.vol img{
    padding:0 .75rem;
    max-width:30px;
}
/* nav link */
#nav-item{
    border-radius: 10rem;
    padding: .5rem 1rem .5rem 1rem;
    margin-bottom: .5rem;
}
.awrap{
    padding:1rem 1rem 1.9rem 1rem;
    background-color: #eee;
    transition: all .5s ease-in;
}
.awrap:hover{
    cursor: pointer;
    background-color: #8fe5c9;
}
.hover-link {
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  color:var(--text);
  height:1.05rem;
}
.hover-link_text {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(.77, 0, .18, 1);
}
.hover-link_text span {
  display: block;
  line-height: 1.2;
}
/* move 1st and 2nd line up */
.awrap:hover .hover-link .hover-link_text {
  transform: translateY(-50%);
}
.hero{
    padding:0 var(--outermargin);
}
.inner-hero{
    background-color: #00C587;
    border-radius: 1rem;
    padding:1.5rem;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:4rem;
    overflow: hidden;
}
.inner-hero img{
    max-width: 100px;
}
.pluseinsslot{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap:3rem;
    width:100%;
}
/*slots*/
.claims {
    position: relative;
}
.text {
    font-size: 1.5rem;
    font-family: "boldonse";
    position: absolute;
    top: -1.5rem;
    opacity: 0;
    width:250px;
    line-height:1.6;
}
.box{
    display:flex;
    justify-content: center;
    align-items: center;
    padding:var(--outermargin);
    box-sizing: border-box;
    flex-direction: column;
    scroll-margin-top: 120px;
}
/* organisation */
.inner-orga{
    max-width: 800px;
}
.green{
    background-color: var(--green-light);
    padding-bottom: 4rem;
}
/*contact*/
.contact-wrap{
    background-color: var(--main-green);
    padding:2rem;
    display: flex;
    flex-direction: column;
    gap:1rem;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 2rem;
}
.contact-wrap h3{
    margin:0;
}
.contact-wrap a {
    color:var(--text);
    text-decoration: underline;
}
.contact-wrap img{
    max-width: 165px;
    width:100%;
}
footer{
    background-color: var(--main-green);
    color: white;
    padding:3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.inner-footer{
    display: flex;
    flex-direction: row;
    gap:1.5rem;
}
.inner-footer a{
    color:var(--text);
    text-decoration: underline;
}
@media screen and (min-width: 850px) {
    :root{
        --outermargin:2rem;
    }
    h1,h2,h3{
        font-size: 3rem;
    }
    #nav{
        padding:var(--outermargin);
    }
    .hero{
        padding:0 2rem;
        margin:0;
    }
    .inner-hero img{
        max-width: 300px;
    }
    .inner-hero{
        padding:2rem;
        overflow: hidden;
        border-radius: 2rem;
    }
    .pluseinsslot{
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 3rem;
        width: 700px;
    }
    .text {
        font-size: 2.3rem;
        width: 400px;
        top: -3.5rem;
    }
    .inner-box{
        max-width:650px;
        width:100%;
    }
    .contact-wrap{
        display: flex;
        flex-direction: row;
        gap:2rem;
        justify-content: center;
        align-items: center;
    }
    .contact-wrap img{
        max-width: 260px;
    }
    .inner-footer{
        display: flex;
        flex-direction: row;
        gap:1rem;
    }
}