/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: "Escargoth";
    src: url("../fonts/Escargoth Demo.ttf");
}

/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* headers */
.home-header{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 10;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

#logo{
    margin: 0px;
    padding: 0px;
}

header { 
    display: flex; 
    justify-content: space-between; 
    padding: 20px; 
    background-color: transparent; 
}

#about-header{ 
    align-items: center; 
    display: flex; 
    justify-content: space-between; 
    padding: 10px; 
    background-color: blue; 
}

/* links */
#home-links a {
    background-color: blue;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-family: "Jost";
    margin: 0px 10px 0px 10px;
}

#about-links a{
    background-color: white;
    color: blue;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-family: "Jost";
    margin: 0px 10px 0px 10px;
}

/* footer */
footer h2,
footer p {
    font-family: "Jost";
}

footer h2 {
    font-size: 18px;
    font-weight: 600;
}

footer p {
    font-size: 18px;
    font-style: italic;
}

/* info section */
#info{
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    color: blue
}

.info-block h2 {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    #home-links a {
        padding: 5px;
    }
    #about-links a{
        padding: 5px;
    }
}

@media (max-width: 768px) {

  /* Header links tighter */
  #home-links a,
  #about-links a {
    padding: 5px 8px;
    font-size: 14px;
  }

  /* Footer layout fix */
  #info {
    flex-direction: column;      /* stack instead of row */
    justify-content: center;
    gap: 25px;                  /* clean spacing between blocks */
    padding: 30px 15px;
  }

  .info-block h2 {
    font-size: 16px;
  }

  footer p {
    font-size: 15px;
  }
}
