body {
    padding: 0;
    margin: 0;
}

header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    background-color: black;
}

#navigacija {
    display: flex;
    justify-content: flex-start;
    max-width: 1240px;
    margin: auto;
    padding: 16px;
    color: white;
    align-items: center;
}

#navigacija a {
    display: flex;
    width: 300px;
    padding: 16px;
    background-color: white;
    margin: 0;
}

.granica {
    background-color: white;
    height: 100px;
    width: 2px;
    margin-left: 20px;
}

#navigacija a img {
    width: 300px;
}

#navigacija h1 {
    padding: 16px;
}

#galerija {
    padding: 16px;
    margin: auto;
    max-width: 1040px;
}

.grid-wrapper {
    margin-top: 138px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.grid-wrapper > a > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

@media (max-width: 820px) {
    #navigacija {
        flex-direction: column;
    }

    #navigacija a {
        margin-bottom: 12px;
    }

    .granica {
        height: 2px;
        width: 340px;
        margin: auto;
        margin-top: 12px;
    }

    #navigacija h1 {
        padding: 0;
    }

    #galerija {
      margin-top: 128px;
    }

    .grid-wrapper {
        margin-top: 108px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }




    #socials {
        flex-direction: column;
      }
  
      .socials1, .socials2 {
        flex-direction: row;
      }
  
      .socials2 {
        margin: 16px 0;
      }
  
      .fa-facebook, .fa-phone, .fa-envelope {
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 15px;
      }
}

.pattern {
    background: url(../images/socials_pattern.svg);
    background-size: cover;
}
  

#socials {
    max-width: 1240px;
    padding: 16px;
    display: flex;
    margin: auto;
    justify-content: space-around;
    color: white;
  }
  
  .socials1 {
    padding: 16px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    align-items: center;
  }
  
  .socials2 {
    padding: 16px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    align-items: center;
  }
  
  .fa-facebook {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  
  .fa-phone, .fa-envelope {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  #socials a {
    text-decoration: none;
    color: white;
  }
  
  footer {
    width: 100%;
    background-color: black;
    padding: 16px 0;
    text-align: center;
    color: white;
  }
  
  footer a {
    color: #66CC66;
    text-decoration: none;
  }