@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@media (max-width: 1024px) {
    header, .navbland {
        width: 90%;
    }
    .navbland {
        flex-direction: column;
        gap: 20px;
    }
    .logoland {
        gap: 20px;
        flex-direction: column;
    }
    .groupcontainer {
        width: 90%;
        align-items: center;
    }
        .top, .bottom {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    .recentprojects, .news-suggest, .about-next {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        margin-left: 0;
    }
    .news-suggest, .about-next {
        flex-direction: column;
    }
    .news, .pageabout {
        width: 100%;
        border-right: none;
        border-bottom: var(--border-main);
        box-sizing: border-box;
    }

    .suggestions, .wherenext {
        width: 100%;
        box-sizing: border-box;
    }
    .logobottom img {
        height: 200px;
        width: 200px;
    }
}
@media (max-width: 600px) {
    .hcontland {
        padding: 10px;
    }
    header {
        width: 95%;
        padding: 15px;
    }
    .aboutmecontent {
        font-size: 1em;
        padding: 10px;
    }
    .news ul, .recentprojects ul {
        font-size: medium;
    }
    footer {
        height: auto;
        padding: 20px 0;
    }
}
:root {
    --bg-c: #05021e;
    --bg-head: #18183d;
    --color: #ffffff;
    --bg-foot: #18183d;
    --bg-nav: #18183d;
    --font: Montserrat, sans-serif;
    --border-main: 4px solid #25255d;
    --gray: #a3a3a3;
    --align: center;
    --socials-bg: #25272e;
    --socials-txt-color: #ffffff;
    --socials-border: 4px solid #525582;
}

a {
    text-decoration: none;
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-c);
    color: var(--color);
    font-family: var(--font);
}

@supports (-webkit-hyphens:none) {
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
}


.hcontland {
    background-color: var(--bg-c);
    height: fit-content;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header {
    background-color: var(--bg-head);
    color: var(--color);
    padding: 20px;
    text-align: center;
    border: var(--border-main);
    border-radius: 20px;
    width: 65%;
}

.navbland {
    background-color: var(--bg-nav);
    padding: 10px;
    border: var(--border-main);
    border-radius: 20px;
    margin-top: 20px;
    width: 65%;  
    align-items: center;
    flex-direction: row;
    display: flex;
    gap: 50px;
}

.logoland {
    display: flex;
    align-items: center;
    gap: 125px;
}

.logoland img {
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 50px;
    height: 60px;
    width: 60px;
}

.navbland a {
    color: var(--color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    align-items: center;
}

.navbland a:hover {
    background-color: #343473;
}

.aboutme {
    background-color: var(--bg-foot);
    color: var(--color);
    text-align: left;
    border: var(--border-main);
    border-radius: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    margin-left: 25px;
}

.aboutmecontent {
    width: fit-content;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.6;
    text-align: left;
    border-top: 8px solid black;
    display: flex;
    padding: 20px;
}

.groupcontainer {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    width: max-content;
    height: max-content;
    flex-direction: column;
}

.top {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: fit-content;
    width: 100%;
    padding: 20px;
    gap: 35px;
}

.recentprojects {
    background-color: var(--bg-foot);
    color: var(--color);
    text-align: left;
    border: var(--border-main);
    border-radius: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    padding: 20px;
    height: 350px;
    line-height: 30px;
    font-size: large;
}

.recentprojects ul {
    list-style-type: circle;
    padding: 0;
}

.news-suggest {
    background-color: var(--bg-foot);
    color: var(--color);
    text-align: left;
    border: var(--border-main);
    border-radius: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 950px;
    height: 325px;
    padding: 20px;
}

.news {
    padding: 20px;
    border-right: var(--border-main);
    align-items: center;
    flex-direction: column;
    display: flex;
    width: 25%;
}

.news ul {
    list-style-type: circle;
    padding: 0;
    width: 100%;
    font-size: large;
}

.suggestions {
    width: 75%;
    padding: 20px;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.suggestions form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.suggestions input,
.suggestions textarea {
    padding: 10px;
    border: var(--border-main);
    border-radius: 10px;
    background-color: var(--bg-nav);
    color: var(--color);
    font-family: var(--font);
}

.suggestions button {
    padding: 10px;
    border: var(--border-main);
    border-radius: 10px;
    background-color: var(--bg-nav);
    color: var(--color);
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font);
    font-weight: bold;
}

.bottom {
    display: flex;
    align-items: center;
    height: fit-content;
    gap: 50px;
}

.about-next {
    background-color: var(--bg-foot);
    color: var(--color);
    text-align: left;
    border: var(--border-main);
    border-radius: 20px;
    margin-top: 20px;
    margin-left: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 950px;
    height: 375px;
    padding: 20px;
}

.pageabout {
    width: fit-content;
    padding: 20px;
    border-right: var(--border-main);
    list-style-type: circle;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.wherenext {
    width: fit-content;
    padding: 20px;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.logobottom {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logobottom img {
    display: flex;
    align-items: center;
    border-radius: 50px;
    height: 325px;
    width: 325px;
}

footer {
    background-color: var(--bg-foot);
    color: var(--color);
    text-align: center;
    border-top: 4px solid #25255d;
    margin-top: 20px;
    width: 100%;
    height: 175px;
}

footer a {
    color: var(--color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

footer a:hover {
    background-color: #343473;
}

footer br {
    margin: 20px;
}

.headercontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.tosdropdowncontainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.toscontent {
    background: linear-gradient(145deg, rgba(28, 24, 72, 0.95), rgba(46, 41, 115, 0.95));
    color: var(--color);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(12, 10, 40, 0.35);
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 95%;
    margin-left: 25px;
    padding: 32px;
    justify-content: center;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.left, .right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.toscontent h1 {
    margin-top: 0;
    letter-spacing: 0.04em;
    font-size: 1.6rem;
}

.tos1btn, .tos2btn, .tos3btn, .tos4btn, .tos5btn, .tos6btn, .tos7btn, .tos8btn {
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    font-family: var(--font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: inset 0 0 0 1px #ffffff0a;
}

.tos1btn:hover, .tos2btn:hover, .tos3btn:hover, .tos4btn:hover, .tos5btn:hover, .tos6btn:hover, .tos7btn:hover, .tos8btn:hover {
    background: #ffffff1f;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px #0000002e;
}

.tosdropdown-content {
    display: none;
    background: #0f0e2dfa;
    color: #ffffff;
    border: 1px solid #ffffff1f;
    border-radius: 20px;
    padding: 24px;
    margin-top: 16px;
    box-shadow: 0 24px 60px #00000040;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(10px);
    width: 100%;
}

.tosdropdown-content p,
.tosdropdown-content li {
    margin: 0;
    color: #ffffffeb;
    line-height: 1.75;
}

.termsofservice1, .termsofservice2, .termsofservice3, .termsofservice4, .termsofservice5, .termsofservice6, .termsofservice7, .termsofservice8 {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff0a;
    border: 1px solid #ffffff14;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px #ffffff05;
}

.sheader {
    background: #060314;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    padding: 12px 20px;
}

.dnavbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dnavbar img {
    width: 75px;
    height: auto;
    border-radius: 8px;
}

.dnavbar .navlinks {
    display: flex;
    gap: 12px;
    margin-left: 12px;
}

.dnavbar a {
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.dnavbar a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dnavbar a.return {
    color: #ff7b7b;
    background: rgba(255, 123, 123, 0.05);
    margin-left: auto;
}

.dnavbar a.return:hover {
    background: rgba(255, 123, 123, 0.15);
}


ul.footerp {
    margin: 0;
    padding: 0;
    font-size: 13px;
    text-decoration: none;
    color: #ffffff;
    line-height: 1.6;
    opacity: 0.85;
    list-style-type: none;
    display: block;
}
.socials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 600px;
    margin: 40px auto;
    margin-top: 100px;
}
.socialstop, .socialmid1, .socialmid2, .socialbottom {
    background-color: var(--socials-bg);
    padding: 20px 30px;
    border: var(--socials-border);
    border-radius: 12px;
    width: 250px;
    flex: 0 0 250px;
    max-width: 250px;
    text-align: var(--align);
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 0 15px 5px #6ca9ff;
}

.socialstop:hover, .socialmid1:hover, .socialmid2:hover, .socialbottom:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 15px 5px #2f5790;
}

.soclinktop, .soclinkmid1, .soclinkmid2, .soclinkbot {
    margin: 0;
}

.soclinktop a, .soclinkmid1 a, .soclinkmid2 a, .soclinkbot a {
    color: var(--socials-txt-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s ease;
    height: 100%;
    width: 100%;
}

.soclinktop a:hover, .soclinkmid1 a:hover, .soclinkmid2 a:hover, .soclinkbot a:hover {
    opacity: 0.8;
}