@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*, html, body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
body {
    position: relative;
}

/* styling for landing page */
#landing {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 50px;
}
.r2 {
    display: flex;
    align-items: center;
    width: fit-content;
}
.r2 div {
    font-weight: bold;
    color: red;
}
.r2 img {
    width: 100px;
}
.sideNote {
    font-size: x-small;
    font-weight: bold;
    color: white;
    background: black;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    width: fit-content;
    border-radius: 10px;
    margin: 5px;
}
.section-1 {
    text-align: center;
    margin: 25px;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 1.4;
}
.section-1 h1, .section-1 h1 + div {
    width: fit-content;
    margin: auto;
    margin-bottom: 10px;
}
.section-1 button {
    background-image: linear-gradient(rgba(2, 255, 255, 0.582), rgba(0, 70, 70, 0.582));
    border: none;
    padding: 15px;
    padding-left: 35px;
    padding-right: 35px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}
.section-1 button:hover {
    background-color: rgb(0, 158, 158);
}
.section-2 {
    background-color: whitesmoke;
    margin: 15px;
    margin: auto;
    border-radius: 20px;
    padding: 15px;
    width: 450px;
}
.section-2 img {
    width: 30px;
    height: 30px;
}
.section-2 .content {
    display: flex;
    gap: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.section-2 img + div {
    width: 70%;
    line-height: 1.4;
}
.section-2 img + div div:nth-child(1) {
    font-weight: bold;
}
#learn {
    display: none;
}
#learn:checked ~ .contentCont {
    display: block;
} 
#learn + label {
    display: block;
    width: fit-content;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    background-color: rgba(144, 238, 144, 0.589);
    margin: auto;
    transform: translateX(-150px);
    margin-top: 10px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.548);
    transition: 0.3s;
    cursor: pointer;
}
#learn + label:hover {
    background-color: rgb(117, 179, 117);
}
.contentCont {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.404);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    backdrop-filter: blur(3px);
    display: none;
    z-index: 2;
}
.contentCont .content {
    position: relative;
    width: 400px;
    padding: 10px;
    background-color: lightgreen;
    margin: auto;
    margin-top: 15rem;
    padding: 10px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.678);
}
.content h3 {
    background-color: white;
    padding: 10px;
    width: fit-content;
    margin-bottom: 10px;
    color: rgb(109, 180, 109);
}
.content a {
    color: inherit;
    font-size: small;
    padding: 5px;
}
.content a:hover {
    color: blue;
}
.visit {
    margin-top: 20px;
}
footer {
    padding-top: 10px;
    padding-bottom: 30px;
    margin-top: 150px;
}
footer .note {
    width: fit-content;
    margin: auto;
    font-size: x-small;
}
footer .note + div {
    font-size: small;
    width: fit-content;
    margin: auto;
    text-align: center;
}
footer .note span {
    font-weight: bold;
}
footer .socials img {
    width: 40px;
    background-color: rgb(97, 196, 97);
    padding: 3px;
    border-radius: 10px;
    opacity: 0.6;
    transition: 0.2s;
}
footer .socials img:hover {
    opacity: 1;
}
footer .socials {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
footer .socials + div {
    width: fit-content;
    margin: auto;
    font-size: small;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* styling for sign up page */
#signup-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}
.signupNotice {
    width: 300px;
    margin: auto;
    text-align: center;
}
#signup {
    background-image: linear-gradient(rgb(64, 255, 255), rgb(3, 90, 90));
    width: 400px;
    padding: 10px;
    padding-bottom: 25px;
    margin: auto;
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    box-shadow: 6px 13px 10px -1px black;
}
#signup .r2Mood {
    font-size: small;
}
#signup .r2Mood + div {
    text-align: center;
}
#signup .r2Mood + div div {
    text-align: left;
}
#signup input {
    padding: 5px;
    border-radius: 5px;
    border: none;
    outline: none;
}
#signup button {
    padding: 10px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: cyan;
    border: none;
    border-radius: 10px;
    margin-top: 15px;
    opacity: 0.7;
    cursor: pointer;
}
#signup button:hover {
    opacity: 1;
}
#signup button + div {
    font-size: small;
    color: white;
}
#signup button + div a {
    color: cyan;
}
.passCont {
    padding-left: 35px;
}
.pass {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
}
.pass img {
    width: 25px;
    cursor: pointer;
}
#username + div {
    color: blue;
    font-size: small;
    font-weight: bold;
    text-align: center;
}
.notice {
    color: white;
    font-size: small;
    font-weight: bold;
    margin-top: -4px;
}
/* styling for log in page */
#login {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}
#signup + div {
    color: red;
    font-size: small;
    width: fit-content;
    margin: auto;
    margin-top: 20px;
    text-align: center;
}

/* styling for index page */
#index {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}
.chatZoneCont {
    background-color: rgb(145, 231, 145);
    padding-top: 5px;
    padding-bottom: 7px;
    width: 450px;
    height: fit-content;
    margin: auto;
}
.chatZoneCont h4 {
    font-weight: bold;
    background-color: gray;
    color: white;
    width: fit-content;
    padding: 5px;
}
.chatZoneCont .H {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
    padding-left: 10px;
}
.chatZone {
    background-color: white;
    padding: 10px;
    height: 300px;
    margin: 5px;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.r2Text {
    display: flex;
    align-items: start;
    gap: 5px;
}
.r2Text .gif {
    background-color: transparent;
    width: 70px;
    height: 70px;
    display: none;
}
.r2Text img {
    width: 35px;
    height: 35px;
    background-color: cyan;
    border-radius: 10px;
}
.r2Text .rText {
    width: 300px;
}
.r2Text .rText div {
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(236, 235, 235);
}
.chatZone .userChat {
    width: 300px;
    margin-left: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: right;
}
.chatZone .userChat div {
    width: fit-content;
    margin-left: auto;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(109, 173, 109);
    color: white;
}
#querry {
    display: flex;
    width: 90%;
    margin: 3px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    outline: 1px solid rgb(236, 235, 235);
}
#querry input {
    width: 80%;
    padding: 10px;
    border: none;
    outline: none;
}
#querry button {
    padding: 10px;
    padding-left: 25px;
    padding-right: 25px;
    border: none;
    background-color: cyan;
    transition: 0.2s;
    cursor: pointer;
}
#querry button:hover {
    background-color: rgb(0, 190, 190);
}
.logout a {
    background-color: white;
    color: blue;
    font-size: small;
    text-decoration: none;
    padding: 5px;
}
.logout a:hover {
    color: red;
}
.info {
    width: 400px;
    background-color: gray;
    height: fit-content;
    margin: auto;
    margin-top: 40px;
    transform: translateX(-25px);
    border-radius: 10px;
}
.info h4 {
    padding: 10px;
    color: white;
}
.info .divider {
    width: 100%;
    height: 1px;
    background-color: white;
}
.info .infoArea {
    padding: 10px;
    color: white;
}
@media(min-width: 900px) {
    #index main {
        display: grid;
        width: 930px;
        margin: auto;
        justify-content: center;
        align-items: start;
        grid-template-columns: repeat(2, 1fr);
    }
    .info {
        margin: 0;
        margin-left: 50px;
    }
}