body{
    margin: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main{
    flex:1; /* Ez kitöltö a maradék helyett a footer és a main között */
}


/* A header rész tulajdonságai */

.felsosav{
    background-color: rgb(95, 135, 180);
    height: 80px;
    width: 100%;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

#profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid rgb(3, 79, 167);
  margin-top: -50px;
  margin-left: 350px;
  object-fit: cover;
  object-position: 50% 5%;
  transform: scale(1.2);
}

#profile-img:hover {
    transform: translateY(-5px);
    transition: 0.2s ease;
}


/* A header részben található "gombok" tulajdonságai */

.gombok {
    gap: 20px;
    display: flex;
    gap: 30px;
    margin-left: 800px;
}

#gomb{
    color: white;
    text-decoration: none;
    font-size: 22px;
}

#gomb-act{
    text-decoration: underline;
    color: white;
}

/* ------------------------------------------------------------------ */

#cimdoboz {
    display: flex;
    justify-content: center;
    color: rgb(3, 79, 167);
}

/* Cím és a csík tulajdonságai */

#szurkecsik {
    height: 0px;
    width: 80%;
    border: 1px solid rgba(196, 196, 196, 0.596);
}

#csikbox {
    display: flex;
    justify-content: center;
}

#csikbox2 {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

/* Üdvözlöm alcíme */

#alcimdoboz {
    display: flex;
    justify-content: center;
    color: rgb(3, 79, 167);
    margin-top: -40px;
    font-size: 14px;
}

#tobbgomb {
    display: flex;
    justify-content: center;
}

#tobbgomb button {
    background-color: rgba(2, 61, 129, 0.849);
    color: white;
    width: 220px;
    height: 40px;
    border-radius: 5px;
    border: none;
}

#tobbgomb button:hover {
    cursor: pointer;
} 

#tobbgomb button:active {
    transform: translateY(2px);
    box-shadow: 0 1px #666;
} 

/* Projektek dobozainak a tulajdonsága */

#proj, #tobbproj {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 100px;
}

#tobbproj {
    display: none;
    visibility: hidden;
}

#fobox {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-direction: column;
}

#fobox a {
    text-decoration: none;
}

#fobox div {
    border: 1px solid rgba(196, 196, 196, 0.596);
    width: 250px;
    height: 240px;
}

#projbox img {
    width: 250px;
    height: 200px;
    margin-top: 0px;
}

#projbox h1 {
    display: flex;
    justify-content: center;
    margin-top: -5px;
    font-size: 20px;
    color: rgb(3, 79, 167);
    background-color: rgb(245, 245, 245);
    height: 31px;
    padding-top: 10px;  
}

/* Legördülő lista tulajdonságai */

#legordulo-full{
    position: relative;
    list-style: none;
}

#legordulo-tartalom{
    display: none;
    position: absolute;
    background-color: rgb(95, 135, 180);
    list-style: none;
    padding: 10px;
    margin: 0;
    min-width: 180px;
}

#legordulo-full:hover #legordulo-tartalom{
    display: block;
}

/* Még több projekt gomb */

#tobbprojgomb {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

#tobbprojgomb button {
    background-color: rgba(2, 61, 129, 0.849);
    color: white;
    width: 220px;
    height: 40px;
    border-radius: 5px;
    border: none;
}

#tobbprojgomb button:hover {
    cursor: pointer;
} 

#tobbprojgomb button:active {
    transform: translateY(2px);
    box-shadow: 0 1px #666;
} 

/* Lábrész tulajdonságai */

footer {
    display: flex;
    background-color: rgb(95, 135, 180);
    opacity: 0.8;
    height: 80px;
    align-items: center;
}

footer p {
    color: white;
    margin-left: 50px;
}