﻿body {
    /* Location of the image */
    background-image: url(../Content/Image/bkg_inicio.jpg);
    /* Image is centered vertically and horizontally at all times */
    background-position: center center;
    /* Image doesn't repeat */
    background-repeat: no-repeat;
    /* Makes the image fixed in the viewport so that it doesn't move when 
     the content height is greater than the image height */
    background-attachment: fixed;
    /* This is what makes the background image rescale based on its container's size */
    background-size: cover;
    /* Pick a solid background color that will be displayed while the background image is loading */
    background-color: #464646;
    /* SHORTHAND CSS NOTATION
   * background: url(background-photo.jpg) center center cover no-repeat fixed;
   */
}

/*:root{
      --width: 100%;
      --height: 100%;
      --border-width: 200px;
      --border-height: 200px;

    }*/

/*html,body{
      background:radial-gradient(mistyrose,pink);
      height:100%;
      width:100%;
      position:relative;
      overflow:hidden;
    }*/

.gallery {
    position: absolute;
    height: 100%;
    width: 100%;
}

    .gallery:after {
        content: '';
    }

.shadow {
    position: absolute;
    top: 500px;
    left: 100px;
    width: 500px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(#805d78,rgba(0,0,0,0) 70%);
}

.img-language {
    width: 250px;
    height: 250px;
}

.clipped-border {
    -webkit-clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    /*padding: 5px;*/
    background: linear-gradient(grey,lightgrey);
    max-height: 250px;
    max-width: 250px;
    transition: transform 0.2s;
    position: absolute;
    cursor: pointer;
}



    .clipped-border:before {
        content: '';
        position: absolute;
        opacity: 0.5;
        width: 350px;
        height: 70px;
        background: white;
        top: 0;
        left: 0;
        z-index: 1;
        transform: rotate(45deg);
        transition: transform 0.5s;
    }

    .clipped-border:hover:before {
        transform: translate(-100px,400%) rotate(45deg);
        transition: transform 0.5s;
    }

    .clipped-border:nth-child(3) {
        top: 196px;
        left: 118px;
    }

    .clipped-border:nth-child(2) {
        top: 0;
        left: 235px;
    }

    .clipped-border:nth-child(4) {
        top: 196px;
        left: 353px;
    }

    .clipped-border:nth-child(5) {
        top: 0;
        left: 470px;
    }

.clipped {
    -webkit-clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}

.clipped-border:hover {
    transform: scale(1.2);
    transition: transform 0.2s;
    z-index: 10;
}


@media only screen and (max-width: 767px) {
    body {
        /* The file size of this background image is 93% smaller
     * to improve page load speed on mobile internet connections */
        background-image: url(../Content/Image/bkg_inicio.jpg);
    }
}
