:root {
    --primary-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --primary-text-color: aliceblue;
}


/* HEADER    */

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #1965a7;
    background-image: url(imgs/header-extra.webp);
    background-size: cover;
    padding: 15px 20px;
}

.header-item {
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    align-items: center;
}

.header-col {
    display: flex;
    flex-direction: column;
}

.header-col p {
    color: var(--primary-text-color);
    margin: 10px 0 0 0;
}

.header-col h1 {
    color: var(--primary-text-color);
    margin: 0;
}

.header-col h2 {
    color: var(--primary-text-color);
    margin: 0;
}

.header-col ul {
    color: var(--primary-text-color);
    margin: 0 5px 0 -10px;
}

h1 {
    color: var(--primary-text-color);
    font-size: 46px;
    font-family: var(--primary-font-family);
}

h2 {
    color: var(--primary-text-color);
    font-size: 30px;
    font-family: var(--primary-font-family);
}

h3 {
    color: var(--primary-text-color);
    font-family: var(--primary-font-family);
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 0;
}

/* PROFILE PIC */

.profile-pic {
    height: 120px;
    width: 120px;
    border-radius: 50%;
}

/* SOCIAL ICONS */

.social {
    display: flex;
    column-gap: 15px;
}

.social img {
    height: 40px;
    width: 40px;
}

/* CONTACT */

.contact {
    display: flex;
    flex-direction: row;
}


/* MAIN */

main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
}

.main-col {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    min-width: 0;
    width: 100%;
    padding: 30px;
}

.main-col p {
    margin: 0;
}

.main-col ul {
    margin: 0;
}

.main-col a {
    color: var(--primary-text-color);
}

body {
    background-color: #1996a7;
    background-image: url(imgs/background-extra.webp);
    background-size:cover;
    background-repeat: no-repeat;
}

/* YT EMBEDS */

.video-container {
    width: 100%;
}

.video-16-9 {
    aspect-ratio: 16 / 9;
}

.video-9-16 {
    aspect-ratio: 9 / 16;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* CP-BTN */

.cp-btn {
  position: relative;
  display: inline-block;
  margin-top: 10px;
}

.cp-btn button {
    background-color: transparent;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.cp-btn .cp-btntext {
  visibility: hidden;
  width: fit-content;
  background-color: #555;
  color: #fff;
  border-radius: 25%;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 120%;
  left: 50%;
  margin-left: -25px;
  opacity: 0;
  transition: opacity 0.3s;
}

.cp-btn .cp-btntext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.cp-btn:hover .cp-btntext {
  visibility: visible;
  opacity: 1;
}

.cp-icon {
    height: 16px;
    width: 16px;
}

/* AUDIO PLAYER */

.ost-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 2px solid #1965a7;
    border-radius:15px;
    background-color:#0a899a;
    padding: 5px;
    box-shadow: 10px 10px 5px hsla(240, 1%, 35%, 0.43);
}

.ost-main {
    display: flex;
    align-items: center;
}

.audio-txt {
    padding-right: 10px;
    padding-left: 5px;
}

.progress-bar {
    position: relative;
    align-self: center;
    width: 80%;
    height: 4px;
    background-color: #555;
    border-radius: 2px;
    display: none;
    margin-top: 5px;
    margin-bottom: 3px;
    cursor: pointer;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;

    width: 0%;
    height: 100%;

    background-color: var(--primary-text-color);
    border-radius: 2px;
}

.progress-dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: var(--primary-text-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
}

.progress-dot:active {
    cursor: grabbing;
}

.progress-bar .time-current {
    position: absolute;
    left: -10%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.progress-bar .time-total {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

/* PLAYER BTN */

.player-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.player-btn img {
    height: 40px;
    width: 40px;
}

.player-btn:hover img {
    opacity: 0.8;
}


/* TEXT */

p {
    color: var(--primary-text-color);
    font-size: 16px;
    font-family: var(--primary-font-family);
}

.subtitle {
    color: var(--primary-text-color);
    font-size: 20px;
}

ul {
    color: var(--primary-text-color);
    font-size: 16px;
    font-family: var(--primary-font-family);
}

.tags {
    color: var(--primary-text-color);
    font-family: var(--primary-font-family);
    font-size: 12px;
    font-style: italic;
}

.progress-bar p {
    color: var(--primary-text-color);
    font-family: var(--primary-font-family);
    font-size: 12px;
}

/* MOBILE SETTINGS */

iframe {
    max-width: 100%;
}

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 20px;
    }

    .header-item {
        justify-content: center;
    }

    .header-item:first-child {
        flex-wrap: wrap;
    }

    .header-item:first-child .header-col:nth-child(3) {
        flex-basis: 100%;
        padding-top: 10px;
        align-items: center;
    }

    main {
        flex-direction: column;
        gap: 30px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 19px;
    }

    .ost-main {
        min-width: 0;
    }

    .audio-txt {
        min-width: 0;
    }

    .audio-txt p {
        overflow-wrap: anywhere;
    }
}


@media (max-width: 480px) {

    .profile-pic {
        width: 90px;
        height: 90px;
    }

    .social {
        column-gap: 10px;
    }

    .social img {
        width: 32px;
        height: 32px;
    }

    .subtitle {
        font-size: 18px;
    }

    .progress-bar {
        width: 75%;
    }

    .progress-bar .time-current {
        left: -18%;
    }

    .progress-bar .time-total {
        right: -18%;
    }
}