html, body {
    margin: 0;
    padding: 0;
    background-color: #120924;

    font-family: "Montserrat", sans-serif;
    color: #fff;

    width: 100%;
    height: 100vh;
}


#header {
    margin: 10px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #1c0e36;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    color: white;
}

#title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f1aeff;

    cursor: pointer;
}

#header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 1.4rem;
    color: #9786b6;
}

.page {
    opacity: 0;
    
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    width: 100%;
    top: 0;

    margin-top: 80px;
    text-align: center;
}

.page.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

#root {
    display: flex;
    justify-content: center;

    width: 100%;
    height: 100%;
}

#page-1 {
    max-width: 1400px;
}

#header-right p {
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

#header-right p:hover {
    color: #cbb7f5;
}

.ExtraBold {
    font-family: "Montserrat", sans-serif;
}

#title {
    font-size: 1.8rem;
    font-weight: 650;

    color: #8d77bd;
}

#main-catalog {
    align-items: center;
    text-align: center;
    color: #d7c5ee;

    font-size: 1.3rem;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}

.catalog-title span {
    font-family: "Montserrat ExtraBold", sans-serif;
}

.products {
    padding: 10px 20px;
    margin: 30px;
    border-radius: 12px;

    display: flex;
    flex-direction: row;
    gap: 20px;

    overflow: hidden;
}

.product {
    background-color: #1d1330;
    padding: 10px 20px;
    border-radius: 12px;

    flex: 1;
    min-width: 0;
    min-height: 340px;
    position: relative;
    width: 300px;
    height: 150px;
    overflow: hidden;
    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);

    transition-duration: 0.2s;
    cursor: pointer; 
}

.product:hover {
    transform: scale(1.05);
}

.product-image {
  max-width: 100%;
  max-height: 120px;
  object-fit: cover;
}

.product-title {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 1.8rem;

    margin-bottom: 20px;
}

.product-description {
    font-family: "Montserrat SemiBold", sans-serif;
    font-size: 1.23rem;
    color: #9786b6;

    margin-top: 20px;
}

#modal {
    background-color: #00000070;
    position: fixed;
    display: flex;

    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;

    z-index: 99;
    justify-content: center;
    align-items: center;

    color: rgb(206, 189, 233);

    opacity: 1;
    visibility: visible;

    transition-duration: 0.2s;
}

#modal.hidden {
    opacity: 0;
    visibility: hidden;
}

#modal-main {
    background-color: #1d1330;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    min-width: 300px;
    min-height: 180px;
    padding: 20px;
    border-radius: 12px;

    text-align: center;
    gap: 20px;
}

#unverified-link {
    color: rgb(190, 166, 229);
    max-width: 13px;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
}

#modal-main h1 {
    font-size: 1.9rem;
    margin: 0;
}

#modal-main h3 {
    color: rgb(137, 114, 175);
    margin: 0;
    margin-bottom: 5px;

    text-align: center;
    max-width: 600px;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
}

#verified {
    color: #76b183;
}

#modal-main button {
    background-color: #3d2a5f;
    border: none;

    border-radius: 12px;

    padding: 8px 10px;
    color: #fff;

    font-family: "Montserrat SemiBold", sans-serif;
    font-size: 1.2rem;

    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.199);
    cursor: pointer;
}

#modal-buttons {
    display: flex;

    flex-direction: row;
    gap: 14px;
}

#products-link {
    cursor: pointer;
}

.program {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #2c1e44;
    margin: 30px 40px;
    border-radius: 18px;
    transition-duration: 0.2s;
    cursor: pointer;
}

.program:hover {
    background-color: #3e2d5c;
    transform: scale(1.02);
}

.program-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.program-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #b4a5d1;
}

.program-desc {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #ab9acc;
}

.program-link {
    padding: 8px 16px;
    border: none;
    border-radius: 12px;
    background-color: #664a7e;
    color: #fff;
    cursor: pointer;

    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

#socials {
    position: fixed;
    display: flex;

    bottom: 0;
    right: 0;

    margin: 10px;
}

#telegram-link {
    color: #b4a5d1;
    cursor: pointer;
}

#a1 img {
    width: 80px;
    height: 80px;
}