@font-face {
    font-family: cougette;
    src: url('./Courgette-Regular.ttf');
}


* {
    margin: 0px auto;
    padding: 0;

}

body {
    /* background-color: rgba(211, 182, 155, 0.678); */
    background-image: url(../img/paper1.jpg);
    background-attachment: fixed;
    margin: 0px auto;
}

footer {
    text-align: center;
    background-image: url(../img/nav-bg.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px;

}

nav {
    padding: 0 !important;
}
.navbar-toggler:focus{
    box-shadow: none;
}
.dropdown-item a{
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    font-size: 18px;
    text-align: center;
}

.navbar {
    background-color: rgb(49, 42, 33) !important;
    background-image: url(../img/nav-bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 30px;
}


.nav-link {
    font-family: 'cougette', cursive;
    font-size: 30px;
    color: black;
    color: rgb(111, 96, 66);
}

.nav-link:hover {
    text-decoration: underline;
}

/* ÚJ RECEPTEK */
h2 {
    text-align: center;
    font-family: 'cougette', cursive;
    font-size: 45px;
    font-weight: 300;
    /* text-decoration: underline; */
    /* text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.624); */
    color: rgb(79, 70, 55);
    padding: 10px;
}

.kereses {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kereses input {
    width: 20%;
}

.kereses button {
    margin: 0;
    margin-left: 10px;
    width: 10%;
}

.btn {
    width: 160px;
    text-align: center;
    margin: 0px auto;
    margin-top: 10px;
    background-color: rgb(115, 78, 51);
    color: white;
}

.btn:hover {
    background-color: rgb(77, 53, 36);
    color: white;
}


.rec-btn {
    position: absolute;
    margin-left: 600px;
    width: 50px;
    display: flex;
}


#tartalom {
    width: 100%;
    margin-bottom: 50px;
    min-height: 82vh;
}

.flex {
    display: flex;
    justify-content: center;
    flex-direction: column;

}

.akt-recept {
    margin-top: 30px;
}

.rec-card {
    padding: 0px;
    width: 700px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.332);

}

.card-row {
    
    flex-direction: row;
    background-color: rgba(187, 187, 187, 0.584);
    width: 700px;
}

.card-row:nth-child(1) {
    height: 300px;
}

.card-element {
    width: 350px;
    height: 350px;
    padding: 0px;
}

.card-element-ext {
    display: flex;
    flex-direction: column;
    height: 480px;
    padding: 10px;
    color: rgb(37, 37, 37);
}

#osszetevok li {
    margin: 0px auto;
    font-family: notosans;
}

#receptkep {
    width: 350px;
    height: 300px;
    object-fit: cover;

}

#elkeszites {
    font-family: notosans;
}

/* IDÁIG ÚJ RECEPTEK */
/* RECEPT HOZZÁADÁSA */
form {
    margin: 0px auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 70%;
}

.rec-tabla {
    flex-direction: row;

    gap: 20px;
    margin-top: 10px;
}

.side-b {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
}

.rec-nev-inp {
    width: 40%;
    margin: 5px auto;
    margin-top: 10px;
}

.hozzaad-input {
    margin: 5px;
    text-align: center;
    background-color: rgb(145, 117, 65);
    border: none;
    border-radius: 0;
    border-bottom: 2px solid gray;
}

.rec-tabla textarea {
    margin: 10px;
}

#addButton {
    margin: 5px;
    width: 100%;
}

.btn-file {
    width: 400px;
}

/* IDÁIG RECEPT HOZZÁADÁSA */
/* KEDVENCEK/SAJÁT */
.list-table {
    width: 45% !important;
    margin: 0px auto;
    text-align: center;

}

.list-table tr td {
    width: 40%;
    vertical-align: middle;
}

.list-table tr td a,
.list-table tr td {
    color: white !important;
}

.kedv-btn {
    margin: 3px;
}

.btn-torol {
    background-color: brown;
    margin-top: 0;
    width: 180px;
}

.btn-torol:hover {
    background-color: rgb(123, 17, 17);
}

/* IDÁIG KEDVENCEK/SAJÁT */
/* ADMIN */
.admin button {
    margin: 0px auto;
}

.admin {
    width: 30%;
    flex-direction: row;
}

/* BELÉPÉS */

.login-reg-form input {
    margin: 0px auto;
    width: 30%;
    margin-bottom: 10px;
}

.btn-reg-log {
    background-color: rgb(69, 155, 99);
}

.btn-reg-log:hover {
    background-color: rgb(41, 112, 66);
    color: white;
}
/* KERESÉS */
.kereses{
    margin-bottom: 20px;
}
/* ERROR 404 */
.error404{
    align-items: center;
    

}
.error404 h1{
    margin-top: 5%;
    color: rgba(255, 255, 255, 0.755);
}

/* MOBIL/tablet MÉRET */
@media only screen and (max-width: 770px){
    nav{
        padding: 5px !important;
    }
    .kereses input, .kereses button{
        width: 30%;
    }
    .list-table{
        width: 70% !important;
    }
    .admin button:nth-child(2){
        margin-left: 10px;
    }
}
@media only screen and (max-width: 426px) {
    #tartalom {
        padding: 0;
    }

    h2 {
        font-size: 30px;
    }

    .rec-card {
        width: 100%;
    }

    .card-row {
        flex-direction: column;
        width: 100%;
        min-height: 470px;
    }

    .card-row:nth-child(1) {
        flex-direction: column-reverse;
    }
    .card-row:nth-child(1) .card-element:nth-child(2) {
        height: 100%;
    }

    .card-element-ext {
        min-height: 380px;
    }

    .kereses {
        flex-direction: column;
        margin: 0px 10px;
    }

    .kereses input,
    .kereses button {
        width: 100%;
        margin: 0;
        margin-bottom: 5px;
    }

    .rec-btn {
        margin-left: 338px;
        margin-bottom: 200px;
    }

    #osszetevok {
        width: 100%;
    }

    /* HOZZÁADÁS */
    form {
        width: 100%;
        margin: 0px auto;
    }

    .side-a {
        width: 100%;
    }

    #osszetevok-hozzad {
        width: 90%;
    }

    .rec-nev-inp {
        margin-top: 20px;
        width: 90%;
    }

    .rec-tabla {
        width: 100%;
        flex-direction: column;
    }

    .hozzaad-input {
        width: 100%;
    }

    .btn-file {
        width: 95%;
    }

    .rec-tabla textarea {
        margin: 0px auto;
        width: 100%;
        padding: 5px;
    }

    /* ADMIN */
    .admin button {
        margin: 5px;
    }

    /* BELÉPÉS */

    .login-reg-form input {
        width: 90%;
    }

    /* TÁBLÁK MOD */
    .btn-torol {
        width: 120px;
        font-size: 16px;
    }

    .list-table {
        width: 100% !important;
    }

    .list-table tr td {
        font-size: 14px;
        width: 100%;
    }
    /* KERESÉS */
.kereses{
    margin-bottom: 40px;
}
}

@media only screen and (max-width: 375px) {

    .card-element {
        width: 100%;
    }

    .btn-torol {
        width: 100%;
        font-size: 13px;
    }

    .rec-btn {
        
        margin-left: 313px;
        margin-bottom: 200px;
    }

    .btn-file {
        width: 100%;
        font-size: 16px;
    }

    /* HOZZÁAD */
    .side-b textarea {
        width: 90%;
    }
    .kereses input, .kereses button{
        width: 80%;
    }

}
