@font-face {
    font-family: 'Sony Gothic';
    src: url('fonts/sonny\ gothic\ condensed\ bold.otf');
}
@font-face {
    font-family: Havre;
    src: url(fonts/Le\ Havre\ Rounded\ W00\ Regular.ttf);
}
@font-face {
    font-family: 'Jls';
    src: url('fonts/JlsdatagothicCnc-yyz3.otf');
}
@font-face {
    font-family: 'Game';
    src: url(fonts/GameRobot-PY6Z.ttf);
}
@font-face {
    font-family: 'Perfect';
    src: url('fonts/PerfectFutures-4BrZ4.ttf');
}
body{
    margin: 0;
    background-color: #16192a;
}
#nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: rgb(20, 20, 32);
}
#title{
    font-family: Sony Gothic;
    display: flex;
    align-items: center;
    margin: 0 0 0 5%;
    text-shadow: 0 0 5px black;
    color: #5b9a8b;
    letter-spacing: 0.25em;
}
#subtitle{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 50%;
    font-family: Jls;
    font-size: 130%;
    color: rgb(132, 151, 169);
    text-shadow: 0 0 5px black;
}
#icon{
    width: 40px;
    height: 40px;
    margin-right: 5px;
    cursor: default;
}
a{
    background-color: rgb(20, 20, 32);
    text-align: center;
    color: rgb(132, 151, 169);
    border-radius: 100px;
    font-size: 110%;
    font-family: Jls;
    transition: 0.5s;
    text-decoration: none;
    padding: 5px 20px 5px 20px;
    border: solid 1px;
    border-color: rgb(132, 151, 169);
}
a:hover{
    background:#47d472;;
    border-color: #47d472;
    color: rgb(132, 151, 169);
    box-shadow: 0 0 35px #47d472;
    letter-spacing: 0.25em;
}
a::before{
    width: 0px;
    content: '';
    position: absolute;
    inset: 2px;
    background: rgb(20, 20, 32);
}
a span{
    position: relative;
    z-index: 1px;
}
#def{
    height: 40rem;
    display: flex;
}
#righ{
    width: 50%;
}
.s{
    font-family: Sony Gothic;
}
#img1{
    width: 50px;
    height: 50px;
}
#titf{
    display: flex;
    align-items: start;
    flex-direction: column;
    margin: 15% 0 0 40%;
}
#tit2{
    display: flex;
    align-items: center;
}
#t1{
    color: rgb(255, 188, 65);
    text-shadow: 0 0 5px black;
    margin: 0;
    font-size: 300%;
}
#t2{
    color: #5b9a8b;
    text-shadow: 0 0 5px black;
    margin: 0 0 0 25px;
    font-size: 300%;
}
#qu{
    height: 7rem;
    width: 1rem;
    border-radius: 50px;
    background-color: #575757;
}
#txt{
    color: aliceblue;
    font-family: Havre;
    font-size: 180%;
    margin: 0 0 0 15px;
    letter-spacing: 10px;
}
#quote{
    display: flex;
    align-items: center;
    margin: 15% 0 0 10%;
}
#img2{
    width: 27rem;
    position: absolute;
    top: 40%
}
#pattern{
    width: 10rem;
    position: absolute;
    left: 72%;
    top: 25%;
}
#sp1{
    border-style: solid;
    border-color: #47d472;
    border-top: none;
    border-right: none;
    border-left: none;
}
#goa{
    position: relative;
    top: 18rem;
    left: 8rem;
    font-family: Sony Gothic;
    font-size: 130%;
}
#chang{
    top: 20rem;
    left: 8rem;
    position: relative;
    font-family: Game;
    font-size: 150%;
}
h1 span{
    color: rgb(245, 75, 37);
    position: relative;
}
h1 span::before{
    content: '';
    right: -8px;
    position: absolute;
    height: 50px;
    width: 2px;
    background: rgb(245, 75, 37);
}
.hover{
    transition: 0.5s;
    cursor: pointer;
}
.hover:hover{
    letter-spacing: 3px;
    transition: 0.5s;
    border-bottom: 1px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-style: solid;
    border-color: #47d472;
}
#bg {
    position: absolute;
}
#mission{
    height: 30rem;
    background-color: #141420;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#goal{
    font-family: Perfect;
    font-size: 230%;
    color: #f5ff8c;
    width: 20%;
    letter-spacing: 5px;
}
#goalbg{
    height: 23rem;
    width: 50%;
    background-color: #545b61;
    border-radius: 10px;
}
.circle{
    border-radius: 50px;
    height: 1rem;
    width: 1rem;
    margin: 5px 10px;
}
#para{
    justify-content: center;
    color: azure;
    align-items: center;
    padding: 10px;
    font-family: Havre;
    font-size: 1.8vw;
    text-shadow: 0 0 1px black;
    margin: 10px;
    max-height: 2vw;
}
.hidden{
    opacity: 0;
    transition: all 2s;
    transform: translateX(-20%);
}
.show{
    opacity: 1;
    transform: translateX(0%);
}
#credits{
    height: 8rem;
    width: 100%;
}
i {
    margin-left: 0%;
    margin-right: 0%;
    font-size: 1.5em;
    text-align: center;
    font-weight: 100;
    width: 69px;
    height: 47px;
    transition: 0.5s;
}
#social{
    flex-direction: row;
    display: flex;
    width: 100%;
    justify-content: space-around;
}
.sc{
    flex-direction: column;
    display: flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #a7a7a7;
}
#author{
    color: #a7a7a7;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}
.icon:hover{
    color: var(--clr);
}
@media all and (max-width: 500px){
    #nav{
        width: 100%;
    }
    #title{
        font-size: 70%;
        letter-spacing: 0.02em;
    }
    #subtitle{
        width: 50%;
        font-size: 45%;
    }
    #join{
        width: 30%;
    }
    a{
        width: 30%;
        padding: 2.5px 10px 2.5px 10px;
    }
    #icon{
        width: 30px;
        height: 30px;
        margin-right: 1px;
    }
    #def{
        height: 40rem;
    }
    #righ{
        width: 100%;
    }
    #lef{
        width: 0%;
    }
    #img1{
        width: 30px;
        height: 30px;
    }
    #titf{
        margin: 15% 0 0 4%;
    }
    #t1{
        margin: 0;
        font-size: 150%;
    }
    #t2{
        margin: 0 0 0 2px;
        font-size: 150%;
    }
    #qu{
        height: 4rem;
        width: 0.5rem;
        border-radius: 50px;
    }
    #txt{
        font-size: 80%;
        margin: 0 0 0 5px;
        letter-spacing: 5px;
    }
    #quote{
        margin: 85% 0 0 10%;
    }
    #img2{
        width: 15rem;
        position: absolute;
        top: 30%;
        right: 10%;
    }
    #pattern{
        width: 5rem;
        position: absolute;
        left: 72%;
        top: 25%;
    }
    #goa{
        position: relative;
        top: 60vw;
        left: -13rem;
        font-family: Sony Gothic;
        font-size: 80%;
        width: 9rem;
    }
    #chang{
        top: 15rem;
        left: -14rem;
        position: relative;
        font-size: 100%;
    }
    h1 span::before{
        content: '';
        right: -8px;
        position: absolute;
        height: 35px;
        width: 2px;
        background: rgb(245, 75, 37);
    }
    #mission{
        height: 30rem;
        background-color: #141420;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    #goal{
        font-family: Perfect;
        font-size: 90%;
        color: #f5ff8c;
        width: 20%;
        letter-spacing: 5px;
    }
    #goalbg{
        height: 23rem;
        width: 70%;
        background-color: #545b61;
        border-radius: 10px;
    }
    #para{
        justify-content: center;
        color: azure;
        align-items: center;
        padding: 10px;
        font-family: Havre;
        font-size: 90%;
        text-shadow: 0 0 1px black;
        margin: 10px;   
    }
    i {
        margin-left: 0%;
        margin-right: 0%;
        font-size: 1em;
        text-align: center;
        font-weight: 100;
        width: 30px;
        height: 47px;
        transition: 0.5s;
    }
    #author{
        font-size: 50%;
    }
}
@media all and (max-height: 700px) and (max-width: 500px) {
    #goa{
        position: relative;
        top: 50vw;
        left: -13rem;
        font-family: Sony Gothic;
        font-size: 80%;
        width: 9rem;
    }
    #chang{
        top: 10rem;
        left: -14rem;
        position: relative;
        font-size: 100%;
    }
    #para{
        font-size: 80%;
    }
}
@media all and (max-height: 500px){
    #nav{
        width: 100%;
    }
    #title{
        font-size: 70%;
        letter-spacing: 0.02em;
    }
    #subtitle{
        width: 50%;
        font-size: 95%;
    }
    #join{
        width: 30%;
    }
    a{
        width: 30%;
        padding: 2.5px 10px 2.5px 10px;
    }
    #icon{
        width: 30px;
        height: 30px;
        margin-right: 1px;
    }
    #def{
        height: 40rem;
    }
    #righ{
        width: 100%;
    }
    #lef{
        width: 0%;
    }
    #img1{
        width: 30px;
        height: 30px;
    }
    #titf{
        margin: 15% 0 0 15%;
    }
    #t1{
        margin: 0;
        font-size: 150%;
    }
    #t2{
        margin: 0 0 0 2px;
        font-size: 150%;
    }
    #qu{
        height: 4rem;
        width: 0.5rem;
        border-radius: 50px;
    }
    #txt{
        font-size: 80%;
        margin: 0 0 0 5px;
        letter-spacing: 5px;
    }
    #quote{
        margin: 10% 0 0 10%;
    }
    #img2{
        width: 20rem;
        position: absolute;
        top: 30%;
        right: 10%;
    }
    #pattern{
        width: 5rem;
        position: absolute;
        left: 72%;
        top: 25%;
    }
    #goa{
        position: relative;
        top: 30vw;
        left: -18rem;
        font-family: Sony Gothic;
        font-size: 80%;
        width: 9rem;
    }
    #chang{
        top: 18rem;
        left: -19rem;
        position: relative;
        font-size: 100%;
    }
    h1 span::before{
        content: '';
        right: -8px;
        position: absolute;
        height: 35px;
        width: 2px;
        background: rgb(245, 75, 37);
    }
    #mission{
        height: 30rem;
        background-color: #141420;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    #goal{
        font-family: Perfect;
        font-size: 90%;
        color: #f5ff8c;
        width: 20%;
        letter-spacing: 5px;
    }
    #goalbg{
        height: 12rem;
        width: 70%;
        background-color: #545b61;
        border-radius: 10px;
    }
    #para{
        justify-content: center;
        color: azure;
        align-items: center;
        padding: 10px;
        font-family: Havre;
        font-size: 90%;
        text-shadow: 0 0 1px black;
        margin: 10px;   
    }
    i {
        margin-left: 0%;
        margin-right: 0%;
        font-size: 1em;
        text-align: center;
        font-weight: 100;
        width: 30px;
        height: 47px;
        transition: 0.5s;
    }
    #author{
        font-size: 50%;
    }
}
@media all and (min-width: 1340px){
    #para{
        font-size: 1.4vw;  
    }
    #titf{
        font-size: 1.2vw;
    }
    #goalbg{
        height: 13.5vw;
        width: 70%;
        background-color: #545b61;
        border-radius: 10px;
    }
    #quote{
        margin-top: 0.005vw;
    }
}