@font-face {
    font-family: "Maharlika";
    src: url("./font/Maharlika-Regular.ttf");
}


.fraunces.mainfont {
    font-family: "Fraunces";
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
}


body, html {
    margin: 0;
    padding: 0;
    text-align: center;
    height: 100dvh;
    background-color: #FEFAF6;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 100px;
    font-family: "Maharlika";
    height:auto;
}

.nav-right {
    display: inherit;
    height: auto;
    align-items: center;
    justify-content: center;
}

nav .initials {
    font-size:  calc(1.5vh + 1.5vw);  /* Use vw units to make the font size responsive */
    font-family: 'Sacramento';
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.nav-left {
    margin-top: 10px;
}

.style-17 {
    position: relative;
    margin-left: 30px;
    color: #000;
    font-family: Maharlika;
    font-size: calc(0.8vh + 0.6vw);
    text-decoration: none;
    &:hover {
      .link__graphic--scribble path {
        transition: stroke-dashoffset 0.6s cubic-bezier(0.7, 0, 0.3, 1);
      }
      .link__graphic--stroke path {
        stroke-dashoffset: 0;
      }
    }
    .link__graphic {
      position: absolute;
      top: 0;
      left: 0;
      pointer-events: none;
      fill: none;
      stroke: #000;
      stroke-width: 1px;
    }
    .link__graphic--scribble {
      top: 100%;
      path {
        transition: stroke-dashoffset 0.6s cubic-bezier(0.7, 0, 0.3, 1);
      }
    }
    .link__graphic--stroke path {
      stroke-dasharray: 1;
      stroke-dashoffset: 1;
    }
  }

.style-17[href="gallery.html"] {
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 15px;
    background-color: #E1AFD1;
    color: white;
    min-width: 120px;
    display: inline-block;
    text-align: center;
}

.style-17[href="gallery.html"]:hover {
    transform: scale(1.05);
}

.style-17[href="gallery.html"] .link__graphic {
    stroke: white;
    top: 85%;
    height: 6px;
    width: 100%;
    left: 0;
    transform: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.style-17[href="gallery.html"] .link__graphic path {
    transform: scaleX(1.5);
    transform-origin: center;
}

.style-17[href="gallery.html"]:hover .link__graphic {
    opacity: 1;
}

.button1 a:hover {
    background-color: #E1AFD1;
    cursor: pointer;
    &:hover {
        box-shadow: 0 0.25em 0.25em -0.1em grey;
        transform: translateY(-0.25em);
        border-color: grey;
      }
}

.button1 {
    display: flex;
    justify-content: center;
}

 .button1 a {
    font-size: calc(0.8vh + 0.6vw);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #213d55;
    color: white;
    margin-left: 30px;
    padding-top: 12px;
}

 .button1 a:active {
    background-color: #c5d3df;
}

.link1 a:hover {
   
    cursor: pointer;
}

.link1 a {
    font-size: calc(0.8vh + 0.6vw);
    transition: all 0.3s ease;
    color: #213d55;
    text-decoration: none;
    margin-left: 30px;
}

.name {
    width: 100%;
    white-space: nowrap;
}

.name2 {
    text-align: right;
}

.cover {
    flex: 1;
    display: flex;
    max-width: 100%;
    object-position: bottom;
}

img {
    object-fit: contain;
    min-height: 0;
}

.content {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin: 0;
    flex: 1;
    min-height: 0;
}

.main_text ul {
    font-size: calc(4vh + 4vw); 
    margin: 25px; 
    color: #213d55;
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 15px;
    width: 100%;

    font-family: "Maharlika";
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
    text-shadow: #393455 1px 1px 3px;
}

.main_text{
    width: 100%;
    display: flex;
}

.name3 {
    text-align: left;
} 

.underline {
    text-decoration: none;
    font-size: calc(4vh + 4vw); 
    font-family: "Maharlika";
    color: #213d55;
    margin-left: 20px;
    margin-right: 20px;
}

.main_text li {
    line-height: 1.3em;
}

.date {
    font-size: calc(0.8vh + 0.6vw);
    margin:10px; 
    margin-top: -30px;
    font-family: "Maharlika", serif;
    color: #060644;
}

.welcome {
    font-size: calc(1.5vh + 1.5vw);
    margin: 15px;
    font-family: "Sacramento", serif;
}

.link-wrapper {
    display:none;
}

.buttons {
    display: none;
}

.vineline {
    display:none;
}

@media (max-width: 768px) {

    nav {
        padding: 20px 20px;
    }
    
    nav .initials { 
        font-weight: bold;
        font-family: 'Sacramento', cursive;
        text-decoration: none;
        color: black;
        text-align: center;
        vertical-align: middle;
        
    }

    .nav-left {
        margin-top: 10px;
    }

    .button1 a:hover {
        background-color: #E1AFD1;
        cursor: pointer;
        &:hover {
            box-shadow: 0 0.25em 0.25em -0.1em grey;
            transform: translateY(-0.25em);
            border-color: grey;
          }
    }

    .button1 a {
        font-size: calc(0.8vh + 0.6vw);
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 5px;
        transition: all 0.3s ease;
        background-color: #213d55;
        color: white;
        font-family: "Maharlika";
    }

    .button1 a:active {
        background-color: #c5d3df;
    }

    .link1 a:hover {
        text-decoration: overline;
        cursor: pointer;
    }

    .link1 a {
        font-size: calc(0.8vh + 2vw);
        transition: all 0.3s ease;
        color: #213d55;
        font-family: "Maharlika";
        text-decoration: none;
    }

    .content {
        padding: unset;
        display: flex;
        flex-direction: column;
        align-content: center;
        margin: 0;
    }

    .main_text ul {
        font-size: calc(3vh + 3vw); 
        font-family: "Maharlika";
        color: #213d55;
        list-style-type: none;
        margin: 20px;
        display:flex;
        flex-direction: column;
        align-items: center;
    }

    .main_text {
        width: 100%;
        display: flex;
    }

    .name2 {
        text-align: center;
    }

    .name3 {
        text-align: center;
    } 

    .date {
        font-size: calc(1vh + 1vw);
        margin: 5px;
        min-width: 0;
        min-height: 0;
    }

    .welcome {
        font-size: calc(3vh + 2vw);
        margin: 3px;
    }

    .cover {
        display: flex;
        max-width: 100%;
        object-position: bottom;
    }


    .link-wrapper {
        display:none;
    }

    .vineline {
        display:none;
    }

    .style-17[href="gallery.html"] {
        font-size: 24px;
        padding: 10px 20px;
        margin: 0 15px;
        background-color: #E1AFD1;
        color: white;
        min-width: 120px;
    }
}

@media (max-width: 536px) {
    body, html {
        height: 100%;
        margin: 0; /* Remove any margin for better fit */
      }
      
    nav {
       margin-top: calc(1.5vh + 2.5vw);
       display: flex;
       justify-content: space-between;
       align-items: center;
       height: auto;
       flex-direction: column;
       padding: 0;
    }

    nav .initials {
        font-size: calc(3vh + 3vw);
        font-family: 'Sacramento', cursive;
        text-decoration: none;
        color: black;
    }

    nav .nav-right {
        display: none;
    }

    .content {
        padding: unset;
        display: flex;
        flex-direction: column;
        align-content: center;
        margin: 0;
    }

    .main_text ul {
        font-size: calc(4vh + 4vw); 
        font-family: "Maharlika";
        color: #213d55;
        list-style-type: none;
        margin: 20px 15px 10px 15px;
        display:flex;
        flex-direction: column;
        align-items: center;

        font-family: "Maharlika";
        font-optical-sizing: auto;
        font-weight: 500;
        font-style: normal;
        font-variation-settings:
        "SOFT" 0,
        "WONK" 1;
    }

    .main_text {
        width: 100%;
        display: flex;
    }

    .name2 {
        text-align: center;
    }

    .and {
        font-weight: 200;
    }
    
    .main_text li {
        line-height: 0.9em;
    }

    .date {
        font-size: calc(0.8vh + 1vw);
        margin: 5px;
        min-width: 0;
        min-height: 0;
    }

    .welcome {
        font-size: calc(2.5vh + 2.5vw);
        margin-bottom: -20px;
        margin-top: -10px;
    }

    .cover {
        display: flex;
        max-width: 100%;
        object-position: bottom;
        max-height: 50%;
    }

    .buttons {
        display: flex;
        justify-content: center;
        margin: 10px;
        width: 100%;
    }

    .link-wrapper {
        display: flex;
        justify-content: center;
        margin: 10px;
        margin-bottom: 20px;
        width: 100%; 
    }

    .style-17 {
        position: relative;
        margin: 15px;
        color: #000;
        font-family: Maharlika;
        font-size: calc(1.2vh + 1.2vw);
        text-decoration: none;
        &:hover {
          .link__graphic--scribble path {
            transition: stroke-dashoffset 0.6s cubic-bezier(0.7, 0, 0.3, 1);
          }
          .link__graphic--stroke path {
            stroke-dashoffset: 0;
          }
        }
        .link__graphic {
          position: absolute;
          top: 0;
          left: 0;
          pointer-events: none;
          fill: none;
          stroke: #000;
          stroke-width: 1px;
        }
        .link__graphic--scribble {
          top: 100%;
          path {
            transition: stroke-dashoffset 0.6s cubic-bezier(0.7, 0, 0.3, 1);
          }
        }
        .link__graphic--stroke path {
          stroke-dasharray: 1;
          stroke-dashoffset: 1;
        }
      }
    


    .buttons a:hover {
        background-color: #E1AFD1;
        cursor: pointer;
        &:hover {
            box-shadow: 0 0.25em 0.25em -0.1em grey;
            transform: translateY(-0.25em);
            border-color: grey;
          }
    }

    .buttons a {
        font-size: calc(1.2vh + 1.2vw);
        text-decoration: none;
        padding: 12px 15px;
        border-radius: 5px;
        transition: all 0.3s ease;
        background-color: #213d55;
        color: white;
        font-family: "Maharlika";
        padding-top: 15px;
    }

    .buttons a:active {
        background-color: #c5d3df;
    }

    .vineline {
        display:flex;
        width:100%;
        height: 4vh;

    }

    .style-17[href="gallery.html"] {
        font-size: 24px;
        padding: 10px 20px;
        margin: 0 15px;
        background-color: #E1AFD1;
        color: white;
        min-width: 120px;
    }
}



