div, label, div, input, button {
    font-family: 'Montserrat', sans-serif !important;
    color: #0F1C3A;
}

@media only screen and (max-width: 320px) {
    h1 {
        margin-top: 0 !important;
        font-size: 3.1em !important;
    }
}

@media only screen and (max-width: 767px) {
    body {
        text-align: center !important;
        /* Added for Footer */
        /* display: flex;
        min-height: 100vh;
        flex-direction: column; */
        /* Added for Footer */
    }

    h1 {
        margin-top: 0 !important;
        font-size: 2.8em !important;
    }

    h2 {
        font-size: 1.4em !important;
    }

    #avatar {
        padding-bottom: 4px !important;
    }

    #text {
        padding-top: 4px !important;
    }
}

h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 4em;
}

.button {
    background-color: #0F1C3A !important;
    color: white !important;
}

.button:hover {
    transition: 0.3s;
    background-color: #2050A3 !important;
}

p {
    font-size: 16px;
}

@media only screen and (min-height: 767px) and (min-width: 767px) {
  footer{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    padding-top: 10px;
    padding-bottom: 20px;
    /* background-color: #f5f5f5; */
    margin-top: 0;
    margin-bottom: 0;
  }
}

footer {
        bottom: 0;
        width: 100%;
        height: 50px;
        padding-top: 10px;
        padding-bottom: 20px;
        /* background-color: #f5f5f5; */
        margin-top: 0;
        margin-bottom: 0;
      }

footer p {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: #777777;
}

#f-text {
  font-size: 12px !important;
  text-align:center;
}

.ui.buttons .ui.button {
  margin: 5px !important;
}

.category-tag {
  background-color: #2050A3;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  margin-right: 5px;
  font-size: 12px;
}

.method-tag {
  background-color: #f39c12;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
}

#portfolio-grid {
  padding: 10px 0; /* Optional padding around the grid */
}

.ui.card {
  width: 100% !important; /* Ensure the card fills the column */
}

.card .description {
  line-height: 1.6; /* Improves readability */
  margin-top: 10px; /* Adds space between the text and elements above */
}

.card .meta {
  margin-bottom: 10px; /* Adds spacing between the meta tags and description */
  margin-top: 10px;
}
