@import url('https://fonts.googleapis.com/css2?family=Halant:wght@300;400;500;600;700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
}




body {
    font-family: 'Inter', 'sans-serif';
    font-weight: 400;
    /* grid-template-rows: auto 1fr auto; */
    display: flex;
    height: 100%;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

html, body {
    height: 100%;
}

a {
    text-decoration: none;
}

h1 {
    font-family: 'Halant', 'sans-serif';
    font-weight: 500;
    font-size: 46px;
}

img {
    max-width: 100%;
}

header {
    padding: 40px 0;
    background-color: #000;
    width: 100%;
    position: sticky;
    top: 0;
}

header nav {
    width: 100%;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15vw;
}

header nav ul li {
    font-size: 22px;
}

header nav ul li a {
    color: #fff;
}

header nav ul li a:hover {
    border-bottom: 1px solid #fff;
    font-weight: 500;
    transition: all 300ms ease-in-out;
}

footer  {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    width: 100%;
    color: #fff;
    /* justify-content: center; */
    width: 100%;
    height: 80px;
    margin-top: 20px;
    /* padding: 5px 0; */
    flex: 0 0 auto;
}
footer p {
    padding: 0 20px;
    font-size: 12px;
}

.right-footer {
    align-self: flex-end;
}

.left-footer {
    align-self: flex-start;
}

.container {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding: 20px 20px;
}

/* .logo {
    color: #fff;
    font-size: 48px;
} */

.project-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-card img{
    border-radius: 12px;
    width: 580px;
    height: 348px;
}

.project-card{
    text-align: center;
}

.mus-header {
    font-weight: 500;
}

.mus-header h1 {
    font-family: 'Halant', 'sans-serif';
    margin-bottom: -15px;
}

.mus-header span {
    font-family: 'Halant', 'sans-serif';
    margin: 0;
    padding: 0;

}

/*.music-cards {
    display: flex;
    flex-wrap: wrap;
    background-color: #fafafa;
    gap: 24px;
    max-height: 640px;
    overflow: hidden;
}
*/
/* .music-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    background-color: #fafafa;
    gap: 24px;
    max-height: 640px;
    overflow: hidden;
    width: 100%;
} */
/*
.music-card {
    width: 320px;
    height: 320px;
    min-width: 200px;
    min-height: 200px;
}
*/
/* .music-card {
    width: 100%;
    height: auto;
    object-fit: cover;
} */




.music-cards {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    width: 100%;
    height: auto;
    overflow: hidden;
}


.first-row, .second-row {
    display: flex;
    gap: 24px;
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
}


.first-row {
    margin-left: -115px;
}

.second-row {

    margin-right: 25px;
}

.music-card {
    display: flex;
    width: 100%;
    height: auto;
    max-width: 600px;
    flex: 1 1 250px;
    min-width: 0;
}

.music-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


.tg {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: 80px 1fr 70px;
    max-height: 600px;
    max-width: 1200px;
    height: 600px;
    width: 1200px;
    min-width: 600px;
    margin: 20px auto;
    border: #000 solid 3px;
    
}

.chat-panel {
    display: flex;
    flex-wrap: wrap;
    background-color: #17212b;
    justify-content: center;
    align-content: flex-start;
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    border: #000 solid 1px;
    gap: 25px;
    padding: 20px 0 0 0;
}

.chat-panel img {
    max-width: 64px;
    max-height: 64px;
    border-radius: 50%;
}
.chat-name {
    background-color: #17212b;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 20px;
}

.chat-name h3 {
    color: #fff;
}

.chat-name span{
    color: #656F75;
    font-family: "inter", sans-serif;
    font-size: 12px;
}

.chat-window {
    background-color: #0e1621;
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

.chat-window iframe {
    width: 100%;
    height: 100%;
    border: none;
    
}
.input-text {
    background-color: #17212b;
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    color: #656F75;
    font-size: 14px;
    align-content: center;
    font-weight: 500;
    padding: 0 15px;
}

.msg-chat {
    display: flex;
    flex-direction: column;    
}

.msg-user {
    display: inline-block;
    max-width: 40%;
    overflow-wrap: break-word;
    /* background-color: #9DAFC0; */
    background-color: #243649;
    color: #fff;
    margin: 20px;
    padding: 15px 20px;
    border-radius: 19px;
    align-self: flex-start;
}

.msg-mine {
    display: inline-block;
    max-width: 40%;
    overflow-wrap: break-word;
    background-color: #4A748C;
    color: #fff;
    margin: 20px;
    padding: 15px 20px;
    border-radius: 19px;
    align-self: flex-end;
}

.contacts-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    
}

.contact-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    background-color: #D9D9D9;
    border-radius: 25px;
    width: 380px;
    height: 160px;
    text-align: center;
    align-items: center;
    text-decoration: none;
    color: #000000;
}

.contact-card p {
    font-size: 24px;
}

.contact-card img {
    max-width: 100px;
    max-height: 100px;
    padding: 24px;    
}

#zvezda {
    font-size: 8px;
    text-align: right;
}


.contact-card:hover {
    border: #000 solid 1px;
}

