
@font-face {
    font-family: 'Sour_Gummy';
    src: url('./fonts/Sour_Gummy/SourGummy-VariableFont_wdth,wght.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #CDD1D2;
    background-color: #05171E;
    font-family: "Sour_Gummy";
}

header, footer{
    background-color: #082129;
    height: 12vh;
}

.logo{
    padding: 0;
}

.logo img{
    height: 8vh;
    width: 100%;
    padding: 10px 0;
}

main{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-left: 12px;
    padding-right: 12px;
    max-width: 1440px;
    margin: 0 auto;
    min-height: calc(100vh - 24vh);
}

h1, h2{
    text-align: center;
}

main img{
    width: 152px;
    height: 152px;
    object-fit: cover;
    border-radius: 4px;
}

.images{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

main img:hover{
    cursor: pointer;
    color: #c6f0fa;
    filter: drop-shadow(2px 2px 16px #effbac)
}

footer a{
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

a{
    cursor: pointer;
    text-decoration: none;
    color: #CDD1D2;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}
  
.bigPicture img {
    max-height: 70vh;
    max-width: 70vw;
    z-index: 1;
}
  
#overlay .navigation {
    display: flex;
    justify-content: space-between;
    width: 40%;
    position: absolute;
    top: 91%;
    transform: translateY(-50%);
}
  
#overlay .navigation span {
    cursor: pointer;
    color: #CDD1D2;
    font-size: 36px;
    padding: 10px 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}
  
#overlay .navigation span:hover {
    background: #CDD1D2;
    color: black;
}
  
#close {
    position: fixed;
    cursor: pointer;
    color: #CDD1D2;
    top: 4%;
    right: 4%;
    font-size: 36px;
    padding: 10px 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

#overlay span#close:hover {
    background: #CDD1D2;
    color: black;
}

#overlay.d_none{
    display: none;
}


@media(max-width: 1000px) {

header, footer{
    background-color: #082129;
    height: 8vh;
}

.logo img{
    height: 6vh;
    width: 100%;
    padding: 6px 0;
}

h1{
    font-size: 28px;
}

h2{
    font-size: 22px;
}

a{
    font-size: 14px;
}
}

@media(max-width: 850px){
  
#overlay .navigation span {
    font-size: 30px;
    padding: 10px 20px;   
}

#close {
    font-size: 30px;
    padding: 10px 20px;
}
}

@media(max-width: 600px) {

h1{
    font-size: 22px;
}

h2{
    font-size: 16px;
}

.bigPicture img {
    max-width: 94vw;
}

#overlay .navigation span {
    font-size: 20px;  
    margin: 10px;
}

#close {
    font-size: 20px;
    margin: 10px;
}

#overlay .navigation {
    top: 92%;
}
}

@media(max-width: 500px) {

.images{
    gap: 10px;
}

main img{
    width: 248px;
    height: 200px;
}

h2{
    font-size: 18px;
}
}

@media(max-width: 450px) {

h1{
    font-size: 20px;
}

#overlay .navigation{
    top: 86%;
}

#close {
    margin-top: 20px;
}
}

@media(max-width: 400px) {

#overlay .navigation{
    top: 84%;
}

#close {
    margin-top: 60px;
}
}

@media(max-width: 350px) {

#overlay .navigation{
    top: 78%;
}
}