@font-face {
    font-family: 'FUTURE';
	src:  url("warp_f/FUTRFW.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
	font-family: "FUTURE";
}

@font-face {
	font-family: "JJannon";
	src:  url("warp_f/JJannon Display Light.otf") format("opentype");
}

html {
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: FUTURE;
    font-size: 1.5rem;
    font-weight: normal;
    text-align: left;
    margin-top: .25rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1rem;
}

h3 {
    font-size: .8rem;
}

h4 {
    font-size: .7rem;
}

div.title > h3 {
    margin: 0;
}

h6 {
    font-family: JJannon;
    font-size: .9rem;
    margin-top: .25rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

a {
    color: black;
}

a:hover {
    color: red;
}

a.nav {
    text-decoration: none;
    pointer-events: all;
    width: auto;
} 

a.em {
}

.title {
    padding: 20px;
}

ul {
    list-style-type: none;
    padding-left: 0;
    line-height: 1.5rem;
}

ul#projects-list {
    line-height: 2.5rem;
}

ul.nav {
    font-family: FUTURE;
    font-size: .8rem;
    font-weight: normal;
    text-align: left;
}

.nav-container {
    position: absolute;
    top: 1.5rem;
    left: 0;
    z-index: 4;
    padding: 20px 0 20px 20px;
}

.loader {
    width: 50px;  /* Set the width of the loader */
    height: 50px; /* Set the height of the loader */
    border: 1px solid transparent; /* Default transparent borders */
    border-top: 1px solid red;    /* Red border for the arc */
    border-left: 1px solid red;   /* Red border for the arc */
    border-bottom: 1px solid red; /* Red border for the arc */
    border-radius: 50%;          /* Makes the element a circle */
    animation: rotate 2s linear infinite; /* Rotation animation */
}

/* Keyframes for rotation */
@keyframes rotate {
    from {
        transform: rotate(0deg); /* Start at 0 degrees */
    }
    to {
        transform: rotate(360deg); /* Rotate a full circle */
    }
}

/* Center the loader for demonstration */
#loader-container {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: none; /* Light background for contrast */
}

#mobile-loader-container {
    height: 30vh;
    width: 100%;
    position: relative;
    height: 4px;
}

.line {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.dot {
  color: white;
  animation: blink 1s infinite;
}

.dot.left {
  animation-delay: 0s;
}

.dot.right {
  animation-delay: 0.5s;
}

@keyframes blink {
  0%, 49% {
    color: white;
  }
  50%, 100% {
    color: black;
  }
}


.d-none {
    display: none !important;
}

.w-100 {
    width: 100%;
}

p {
    font-family: JJannon;
    font-size: 0.9rem;
    line-height: 1.2rem;
    color: #555;
    text-align: justify;
    margin-bottom: 2.5rem;
}

.error {
    position: absolute;
    z-index: 6;
    left: 50%;
    top: 50vh;
    transform: translate(-50%,-50%);
    font-family: JJannon;
    font-size: 0.9rem;
}

.instagram-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and link */
    font-family: JJannon;
    font-size: .9rem;
}

.instagram-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.ms-3 {
    margin-left: .5rem;
}

.lh-2 {
    line-height: 1.8rem;
}

.content-container {
    width: 40%;
    min-height: 100vh;
    max-width: 800px;
    min-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    padding-top: 0px;
}

.header {
    width: 100%;
    height: 100px;
    padding-top: calc(1.5rem);
}

.footer {
    width: 100%;
    height: 200px;
    padding-bottom: calc(1.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align the children to the bottom */
}

.mobile {
    display: none;
}

.mobile-proj {
    padding-bottom: 1.5rem;
}

/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 640px) {
    .title {
        padding: 20px 10%;
    }

    .header > h3 {
        margin-top: .85rem;
    }

    h3 {
        font-size: 1rem;
    }

    .content-container{
        width: 80%;
        min-width: 0 !important;
        padding: 0 10% 20px 10%;
    }

    .nav-container {
        display: none;
    }



    .mobile {
        display: block;
    }

    .food-div > h3 {
        line-height: 2.5rem;
        margin-top: -.6rem;

    }
}