@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,500&display=swap');

.transparent-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-image {
    max-width: auto;
    padding: 0px;
    margin-left: 20px;
    height: 125px;
    transition: 0.3s ease;
}

.header-image:hover {
    cursor: pointer;
    opacity: 80%;
}

.transparent-header.scrolled {
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
}

.header-buttons {
    align-self: center;
    margin-right: 20px;
}

.header-buttons button {
    margin-left: 5px;
    width: 100px;
    border-radius: 20px;
    padding: 10px;
}

.hdbtn {
    font-family: 'DM Sans', sans-serif;
    position: relative;
    color: rgb(37, 37, 37);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    display: inline-block;
    text-decoration: none;
}

header a {
    display: inline-block;
}

.hdbtn:hover {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.hdbtn::before {
    content: '';
    position: absolute;
    width: 0%;
    height: 0.105rem;
    left: 0;
    bottom: 0;
    visibility: hidden;
    background-color: #fb4154;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.hdbtn:hover::before {
    width: 100%;
    visibility: visible;
}

.hdbtn.active {
    position: relative;
}

.hdbtn.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.105rem;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.menu {
    max-width: 70px;
    padding: 5px;
    height: auto;
    transition: max-width 0.3s ease;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: none;
    padding: 0;
}

.line {
    fill: none;
    stroke: rgb(231, 231, 231);
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}

.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}

.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

#burgerdiv {
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 0px 0px 15px 15px;
    align-items: center;
    flex-direction: column;
    position: fixed;
    margin-top: 125px;
    padding-top: 20px;
    transition: 0.1s;
    height: auto;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    display: none;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

#burgerdiv.show {
    opacity: 1;
    transition: 0.1s;
    transform: translateY(0);
}

#burgerdiv button {
    font-size: large;
    margin-bottom: 5px;
    width: 200px;
    border-radius: 20px;
    padding: 10px;
}

#burgerdiv a {
    text-decoration: none;
    color: black;
}

#blurdiv {
    display: none;
    position: fixed;
    height: 100vh;
    width: 100%;
    transition: 0.2s;
    backdrop-filter: blur(5px);
    z-index: 900;
}

@media screen and (max-width: 1000px) {
    .header-buttons {
        display: none;
    }

    .menu {
        display: flex;
    }
}