@font-face {
    font-family: 'MilkMango';
    src: url('Fonts/milk_mango-webfont.woff') format('woff'),
         url('Fonts/milk_mango-webfont.woff2') format('woff2'),
        url('Fonts/Milk Mango.ttf') format('truetype');
    /* Add any additional properties */
}

@font-face {
    font-family: 'ComfortaReg';
    src: url('Fonts/Comfortaa-Regular.woff') format('woff'),
         url('Fonts/Comfortaa-Regular.woff2') format('woff2');
    /* Add any additional properties */
}

@font-face {
    font-family: 'Farmshow';
    src: url('Fonts/Farmshow.woff') format('woff'),
         url('Fonts/Farmshow.woff2') format('woff2');
    /* Add any additional properties */
}

*{
    transition: all 0.6s;
}

html {
    height: 100%;
}

body {
    background-color: #3C7042;
    margin: 0;
    text-align: center;
    color:#EADEC7
}

#main{
    display: table;
    width: 100%;
    height: 100vh;
    text-align: center;
}

.fof{
	  display: table-cell;
	  vertical-align: middle;
}

.fof h1{
	  font-size: 50px;
	  display: inline-block;
	  padding-right: 12px;
	  animation: type .5s alternate infinite;
}

@keyframes type{
	  from{box-shadow: inset -3px 0px 0px #EADEC7;}
	  to{box-shadow: inset -3px 0px 0px transparent;}
}


.button-container {
    position: relative;
    z-index: 2;
}

.cool-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 auto; /* Center the button horizontally */
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    font-family: 'MilkMango';
    background-color: #EADEC7;
    color: #3C7042;
    border: 2px solid #BAB2A3;
    transition: background-color 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

/* Animation on hover */
.cool-button:hover {
    background-color: #3C7042;
    color: #EADEC7;
    transform: scale(1.1);
    border-color: #EADEC7;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: 500px;
    height: 300px;
    margin: auto;
    background-color: #BAB2A3;
    text-align: center;
    position: relative;
    z-index: 1; /* Set the card to be on top */
    font-family: 'Milkmango';
}

  .natimage {
    width: auto;
    height: 400px;
    position: absolute;
    align-self: center;
    top: 2%;
    left: 39%;
    object-fit: cover;
    z-index: 0; /* Set the video to be behind the card */
}


@media only screen and (max-width: 768px) {
    .natimage {
        width: auto;
        height: 300px;
        position: absolute;
        align-self: center;
        top: 6%;
        left: 13%;
        object-fit: cover;
        z-index: 0; /* Set the video to be behind the card */
    }
    .card {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        width: 300px;
        height: 320px;
        margin: auto;
        background-color: #BAB2A3;
        text-align: center;
        position: relative;
        z-index: 1; /* Set the card to be on top */
    }
}
