* {
    box-sizing:  border-box;
}
html {
    font-size: 16px;
}
.p-1 {
    padding: 0.25rem;
}
.p-2 {
    padding: 0.5rem;
}
.p-3 {
    padding: 0.75rem;
} 
.p-4 {
    padding: 1rem;
}
.p-5 {
    padding: 1.25rem;
}
.p-6 {
    padding: 1.5rem;
}
.p-7 {
    padding: 1.75rem;
}
.p-8 {
    padding: 2rem;
}
.p-10 {
    padding: 2.5rem;
}
.font-adaptive {
    font-size: clamp(1rem, 2vw, 2rem);
}
.font-adaptive-sm {
    font-size: clamp(0.875rem, 1.5vw, 1.5rem);
}
.font-adaptive-md {
    font-size: clamp(0.9375rem, 1.8vw, 1.75rem);
}
.font-adaptive-lg {
    font-size: clamp(1.125rem, 2.5vw, 2.5rem);
}
.absolute {
    position: absolute;
}
.absolute-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.relative {
    position: relative;
}
.fixed {
    position: fixed;
}
.sticky {
    position: sticky;
}
.top-0 {
    top: 0;
}
.bottom-0 {
    bottom: 0;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}
.inset-0 {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.inset-auto {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
}
.w-full {
    width: 100%;
}
.w-screen {
    width: 100vw;
}
.w-auto {
    width: auto;
}
.h-full {
    height: 100%;
}
.h-80 {
    height: 80vh;
}
.h-screen {
    height: 100vh;
}
.h-auto {
    height: auto;
}
.bg-white {
    background-color: white;
}
.bg-black {
    background-color: black;
}
.bg-gray {
    background-color: #f0f0f0;
}
.bg-none {
    background-color: transparent;
}
.bg-gray-100 {
    background-color: #f7fafc;
}
.bg-gray-200 {
    background-color: #edf2f7;
}
.bg-gray-300 {
    background-color: #e2e8f0;
}
.bg-gray-400 {
    background-color: #cbd5e0;
}
.bg-gray-500 {
    background-color: #a0aec0;
}
.bg-gray-600 {
    background-color: #718096;
}
.bg-gray-700 {
    background-color: #4a5568;
}
.bg-gray-800 {
    background-color: #2d3748;
}
.bg-gray-900 {
    background-color: #1a202c;
}
.border {
    border: 1px solid;
}
.border-gray-200 {
    border-color: #edf2f7;
}
.border-gray-300 {
    border-color: #e2e8f0;
}
.border-gray-400 {
    border-color: #cbd5e0;
}
.border-gray-500 {
    border-color: #a0aec0;
}
.border-gray-600 {
    border-color: #718096;
}
.border-gray-700 {
    border-color: #4a5568;
}
.border-gray-800 {
    border-color: #2d3748;
}
.border-gray-900 {
    border-color: #1a202c;
}
.border-t {
    border-top: 1px solid;
}
.border-radius {
    border-radius: 0.25rem;
}
.border-radius-sm {
    border-radius: 0.125rem;
}
.border-radius-md {
    border-radius: 0.375rem;
}
.border-radius-lg {
    border-radius: 0.5rem;
}
.border-radius-xl {
    border-radius: 0.75rem;
}
.border-radius-2xl {
    border-radius: 1rem;
}
.circle {
    border-radius: 50%;
}
h1 {
    font-size: 2rem;
    font-weight: 700;
}
h2 {
    font-size: 1.5rem;
    font-weight: 600;
}
h3 {
    font-size: 1.25rem;
    font-weight: 500;
}
h4 {
    font-size: 1.125rem;
    font-weight: 400;
}
h5 {
    font-size: 1rem;
    font-weight: 300;
}

p {
    font-size: 1rem;
    font-weight: 400;
}

a {
    color: #1a202c;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:focus {
    outline: none;
}
a:active {
    color: #2d3748;
}
a:visited {
    color: #4a5568;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.modal-header {
    padding: 10px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #888;
}
.modal-footer {
    padding: 10px;
    background-color: #f1f1f1;
    border-top: 1px solid #888;
}
.modal-body {
    padding: 20px;
}
.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-open {
    display: block;
}
.modal-open .modal {
    display: block;
}
.modal-open .modal-content {
    animation: fadeIn 0.5s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}
button:focus {
    outline: none;
}
button:active {
    background-color: #3e8e41;
}
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="color"],
input[type="file"],
input[type="checkbox"],
input[type="radio"],
select,
textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,     
input[type="date"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="color"]:focus,
input[type="file"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
select:focus,
    
textarea:focus {
    border-color: #4CAF50;
    outline: none;
}
input[type="checkbox"],
input[type="radio"] {
    margin-right: 10px;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: #4CAF50;
}
.block {
    display: block !important;
}
.inline-block {
    display: inline-block;
}
.inline {
    display: inline;
}
.flex {
    display: flex;
}
.flex-row {
    flex-direction: row;
}
.flex-column {
    flex-direction: column;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-nowrap {
    flex-wrap: nowrap;
}
.flex-row-reverse {
    flex-direction: row-reverse;
}
.flex-column-reverse {
    flex-direction: column-reverse;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hidden {
    display: none;
}
.items-center {
    justify-content: center;
}
.items-start {
    justify-content: flex-start;
}
.items-end {
    justify-content: flex-end;
}
.item-lonely{
    flex-basis: 100%;
}
.text-center {
    text-align: center;
}
.align-center {
    align-items: center;
}
.align-start {
    align-items: flex-start;
}
.align-end {
    align-items: flex-end;
}
.gap-1 {
    gap: 0.25rem;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-5 {
    gap: 1.5rem;
}
.gap-6 {
    gap: 2rem;
}
.gap-7 {
    gap: 4rem;
}
.gap-8 { 
    gap: 8rem;
}
.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.shadow:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.hover:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.rounded {
    border-radius: 0.25rem;
}
.rounded-sm {
    border-radius: 0.125rem;
}
.rounded-md {
    border-radius: 0.375rem;
}
.rounded-lg {
    border-radius: 0.5rem;
}
.margin {
    margin: 1rem;
}
.margin-sm {
    margin: 0.5rem;
}
.margin-md {
    margin: 1rem;
}
.margin-lg {
    margin: 2rem;
}
padding {
    padding: 1rem;
}
.padding-sm {
    padding: 0.5rem;
}
.padding-md {
    padding: 2rem;
}
.padding-lg {
    padding: 4rem;
}
.padding-sides {
    padding-left: 1rem;
    padding-right: 1rem;
}
.margin-sides {
    margin-left: 1rem;
    margin-right: 1rem;
}
underline {
    text-decoration: underline;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-justify {
    text-align: justify;
}
.text-sm {
    font-size: 0.875rem;
}
.text-md {
    font-size: 1rem;
}
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 2rem;
}
.text-2xl {
    font-size: 4rem;
}
z-index-0 {
    z-index: 0;
}
z-index-10 {
    z-index: 10;
}
z-index-20 {
    z-index: 20;
}
z-index-30 {
    z-index: 30;
}
z-index-40 {
    z-index: 40;
}
z-index-50 {
    z-index: 50;
}
.box-100-200 {
    width: 100px;
    height: 200px;
}
.box-200-100 {
    width: 200px;
    height: 100px;
}
.box-300-300 {
    width: 300px;
    height: 300px;
}

#logo {
    position: relative;
}
.plus {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(104, 165, 218);
    position: absolute;
    color: white;
    padding: 0.2vh 0.3vh 0.1vh 0.3vh;
    border-radius: 25%;
    top: -1vh;
    right: -1vh;
    font-size: 1vh;
}
.pointer{
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.transition-colors:hover{background-color: black;}
.duration-300{transition-duration:.3s}
.text-hover-bw{color: black;}
.text-hover-bw:hover{color: white;}
.no-select {
    -webkit-user-select: none; /* Для Safari */
    -moz-user-select: none;    /* Для Firefox */
    -ms-user-select: none;     /* Для Internet Explorer и Edge */
    user-select: none;         /* Стандартное свойство */
}
