@import url('https://fonts.googleapis.com/css2?family=Mogra&display=swap');

*,
*:before,
*:after {
    box-sizing: border-box;
    line-height: 1.6;
    -moz-box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    color: #333;
    font-size: 14px;
    font-family: Verdana, Arial, sans-serif;
    line-height: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    transition: all 0.3s linear 0s;
}
img {
     max-width:100%;
     height: auto;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.modify-button,
.delete-button {
    width: 100px;
    flex-basis: auto;
    box-sizing: border-box;
}

@media (max-width: 100px) {
    .form-container {
        flex-direction: column;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    font-family: 'segoe ui';
}

.nav {
    height: 75px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.12);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav>.nav-header {
    display: inline;
}


.nav>.nav-header>.nav-title {
    width: 75px;
}

.nav>.nav-btn {
    display: none;
}

.nav>.nav-links {
    display: inline;
    float: right;
    font-size: 25px;
}

.nav>.nav-links>a {
    display: inline-block;
    padding: 13px 20px 13px 10px;
    text-decoration: none;
}

.nav>.nav-links>a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.nav>#nav-check {
    display: none;
}

@media (max-width:1100px) {
    .nav>.nav-btn {
        display: inline-block;
        position: absolute;
        right: 0px;
        top: 0px;
    }

    .nav>.nav-btn>label {
        display: inline-block;
        width: 50px;
        height: 50px;
        padding: 13px;
    }

    .nav>.nav-btn>label:hover,
    .nav #nav-check:checked~.nav-btn>label {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .nav>.nav-btn>label>span {
        display: block;
        width: 25px;
        height: 10px;
        border-top: 2px solid #333;
    }

    .nav>.nav-links {
        position: absolute;
        display: block;
        width: 100%;
        background-color: #eee;
        height: 0px;
        transition: all 0.3s ease-in;
        overflow-y: hidden;
        top: 75px;
        left: 0px;
    }

    .nav>.nav-links>a {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .nav>#nav-check:not(:checked)~.nav-links {
        height: 0px;
    }

    .nav>#nav-check:checked~.nav-links {
        height: calc(100vh - 50px);
        overflow-y: auto;
    }
}

.main {
    margin: 15px;
    padding-top: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.main > h1 {
    font-family: 'Mogra', cursive;
    font-size:8vw;
    font-weight: 400;
    margin-block-end: 0.3em;
    text-align: center;
    }

.main > h2 {
    font-family: 'Mogra', cursive;
    font-size:6vw;
    text-align: center;
}
.main > h3 {
    text-align: center;
}


@media (min-width:2000px) {
    .main > h1 {
        font-size:6vw;
        }
    .main > h2 {
        font-size:4vw;
        }
}

footer {
    margin-top: auto;
    width: 100%;
    min-height: 5.5rem;
    padding: 5px;
    background-color: #fff;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer input[type=submit] {
    background-color: #888888;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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

.fcontact{
    width: 75%;
}

.npbcontact{
    display: flex;
    justify-content: space-between;
}
.newsletter{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;

}
.message {
    color: #666666;
    font-size: 14px;
    margin-top: 15px;
}

.error {
    color: rgb(237,67,55);
    font-size: 14px;
    margin-top: 15px;
}

pre {
    white-space: pre-wrap;
    background: #DDD;
    padding: 5px;
    border-left: 5px solid #c8c8c8;
    width: 75%;
  }

  .center {
    text-align: center;
}

.cards {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.card-item {
    display: flex;
    width: 100%;
    padding: 0.5em;
}

@media all and (min-width: 37.5em) {
    .card-item {
            width: calc(100% / 12 * 6 );
    }
}

@media all and (min-width: 56.25em) {
    .card-item {
            width: calc(100% / 12 * 4 );
    }
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    padding: 0;
    background-color: #F8FFF8;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.card-body p {
    flex: 1 0 auto;
    margin: 0;
}

.card-img {
    width: 100%;
    border-radius: 3px 3px 0 0;
}

.card-img:hover {
    opacity: 0.8;
}

.card-title,
.card-text,
.card-footer {
    padding: 1em 1em 0;
}

.card-footer {
    margin-bottom: 1em;
}

.btn {
    display: inline-block;
    margin: 1rem;
    padding: .75rem 1.25rem;
    font: 700 1rem/1.2 Verdana, sans-serif;
    letter-spacing: .05rem;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(77,77,77,.5);
    background: #1E90FF;
    border-radius: .25rem;
    box-shadow: 0 0 1px 1px rgba(77,77,77,.5);
    color: floralwhite;
    cursor: pointer;
    transition: .5s;
}

.btn:hover {
    background: #ADD8E6;
    color: #333;
}
