@charset "utf-8";
/* styles Document */
/*html {*/
/*    position: relative;*/
/*    min-width: 1024px;*/
/*    min-height: 768px;*/
/*    height: 100%;*/
/*}*/


iframe {
    display: block;
    border-style: none;
    background-color: #dddddd;


}

#vanta {
    z-index: 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.fade-in {
    animation: fadeIn ease 3s;
    -webkit-animation: fadeIn ease 3s;
    -moz-animation: fadeIn ease 3s;
    -o-animation: fadeIn ease 3s;
    /*-ms-animation: fadeIn ease 3s;*/
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

main {
    position: relative;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 2s ease-in-out, filter 2s ease-in-out;
}


html {
    background: url("../../images/main/DSCF0298.JPG") no-repeat center fixed;
    background-size: cover;


}

h1, p {
    text-align: center;
    color: #000000;
    font-size: 40px;
    text-decoration: none;
}

a {
    text-decoration: none;
}

.container {
    /*position:auto;*/
    /*width: 1200px;*/
    /*height: 300px;*/
    /*margin: 240px auto;*/
    display: flex;
    justify-content: center;
    /*background-color: black;*/
    padding: 10px;

}


.container .box {
    position: relative;
    width: calc(500px - 30px); /*main place to be able to change size of the boxes*/
    height: calc(353px - 30px);
    background: #000;
    float: left;
    margin: 15px;
    /*box-shadow: border-box;*/
    overflow: hidden;
    border-radius: 10px;

}

.container .box .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: 0.5s;
    z-index: 1;
}

.container .box:hover .icon {
    top: 20px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.container .box .icon .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    transition: 0.5s;
    color: #fff;
}

.container .box:hover .icon .fa {

    font-size: 30px;


}

.container .box .content {
    position: sticky;
    top: 100%;
    height: calc(100% - 100px);
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    transition: 0.5s;
    opacity: 0;
}

.container .box:hover .content {
    left: 6em;
    top: 5em;
    opacity: 1;
}

.container .box .content h2 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    font-size: 28px;

}

.container .box .content p {

    margin: 0;
    padding: 0;
    color: #fff;

}

.container .box:nth-child(1) .icon {
    background: #319635;
}

.container .box:nth-child(1) {
    background: #4caf35;
}

.container .box:nth-child(2) .icon {
    background: #f43875;
}

.container .box:nth-child(2) {
    background: #ff8da2;
}

.container .box:nth-child(3) .icon {
    background: #692121;
}

.container .box:nth-child(3) {
    background: #832a2c;
}

.container .box:nth-child(4) .icon {
    background: #ff6c00;
}

.container .box:nth-child(4) {
    background: #ff9400;
}

.container .box:nth-child(5) .icon {
    background: #6600ff;
}

.container .box:nth-child(5) {
    background: #8d39ff;
}


.container2 {
    /*position:auto;*/
    /*width: 1200px;*/
    /*height: 300px;*/
    /*margin: 240px auto;*/
    display: flex;
    justify-content: center;
    /*background-color: black;*/
    padding: 10px;

}


.container2 .box {
    position: relative;
    width: calc(500px - 30px); /*main place to be able to change size of the boxes*/
    height: calc(353px - 30px);
    background: #000;
    float: left;
    margin: 15px;
    /*box-shadow: border-box;*/
    overflow: hidden;
    border-radius: 10px;

}

.container2 .box .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: 0.5s;
    z-index: 1;
}

.container2 .box:hover .icon {
    top: 20px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.container2 .box .icon .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    transition: 0.5s;
    color: #fff;
}

.container2 .box:hover .icon .fa {

    font-size: 30px;


}

.container2 .box .content {
    position: sticky;
    top: 100%;
    height: calc(100% - 100px);
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    transition: 0.5s;
    opacity: 0;
}

.container2 .box:hover .content {
    left: 6em;
    top: 5em;
    opacity: 1;
}

.container2 .box .content h2 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    font-size: 24px;

}

.container2 .box .content h3 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    font-size: 28px;

}

.container2 .box .content p {

    margin: 0;
    padding: 0;
    color: #fff;

}

.container2 .box:nth-child(1) .icon {
    background: #4cb7a4;
}

.container2 .box:nth-child(1) {
    background: #2ce0ae;
}

.container2 .box:nth-child(2) .icon {
    background: #9eba20;
}

.container2 .box:nth-child(2) {
    background: #b0ce24;
}

img {

    max-height: 1080px;
    max-width: 1920px;

align-content: center}


@media (max-width: 1000px) {

    .container {
        display: grid;
    }

    .container2 {
        display: grid;
    }

    #vanta {
        z-index: 0;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;

    }
}



