*{
    padding: 0;
    margin: 0;  
}
#background{
    background-image: url(../images/back/back2.jpg);
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center center;
    position: fixed;
    top: 0;
    z-index: -1;
}
/*#background{
    background-image: url(../images/back/back2.jpg);
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    position: fixed;
}*/
header {
    height: 100px;
    width: 100%;
}
.header-main{
    display: block;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    color: blue;
}
header nav ul{
    display: block;
    margin: 0 auto;
    width: fit-content;
}

header nav ul li{
    display: inline-block;
    float: left;
    list-style: none;
    padding: 0 16px;
}

header nav ul li a{
    text-decoration: none;
    font-size: 15px;
    font-weight: 100;
    color: blue;
}
/*------------------------------------------------*/

@media only screen and (min-width: 1000px){
    .header-main{
        
        margin: 30px;
        text-align: left;
        font-size: 30px;
        line-height: 50px;
        padding: 0 20px 0 40px;
        border-right: 4px solid blue;
        float: left;
    }

    header nav ul{
        margin: 0 ;
        float: left;
    }

    header nav ul li{
        display: inline-block;
        float: left;
        list-style: none;
        padding: 0 16px;
    }

    header nav ul li a{
        font-size: 24px;
        font-weight: 100;
        color: blue;
        line-height: 100px;
    }
    
}

/*----------------------------------------------*/

/*img{
    margin-top: 100px;
    align-content: center;
    width: 400px;
}*/
.container{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 50px;
}
.container h3{
    text-decoration: none;
    color:blanchedalmond;
}
.container a{
    text-decoration: none;
}
.grand img{
    width: 500px;
    height: 300px;
    align-items: center;
}

.container1{

}

.container1 .father{
    padding-top: 10px;
}

.container1 .father img{
    width: 250px;
    height: 150px;
    display: block;
    margin: 0 auto;
}
.container1 .father h3{
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    color: maroon;
    padding: 0 35px;
    background-color: beige;
    opacity: 0.5;
}

/*------------------------------------------------*/

@media only screen and (min-width: 1000px){
    
    .container1{
        width: 100%;
        height: 280px;
        display: block;
        padding-left: 120px;       
    }
    .container1 .father{
        display: float;
        float: left;
        margin-left: 30px;
        padding: 10px;
        width: 300px;
        height: 300px;
        justify-content: center;
    }
    .container1 .father img{
        width: 300px;
        height: 200px;
        display: block;
    }
    .container1 a{
    text-decoration: none;
}

    .container1 .father h3{
        font-size: 16px;
        font-weight: 900;
        text-align: center;
        color: maroon;
        padding: 0 15px;
        background-color: beige;
        opacity: 0.5;
    }
}
/*----------------------------------------------*/

.container2{
    display: grid;
    width: 1500px;
    margin: 0 auto;
    grid-template-columns: repeat(10, 1fr);
    grid-gap: 0.2rem;
    margin-top: 50px;
}
.gallery-container{
    width: 100%;
    height: 100%;
    position: relative;
}
.image{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transition: .4s linear;
}
.image img:hover{
    transform: scale(1.4);
}

.text{
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    transition: .4s linear;
}

.gallery-container:hover .text{
    opacity: 1;
    animation: move-down .4s ease-in-out;
}
@keyframes move-down{
    0%{
        top: 15%;
    }
    50%{
        top: 35%;
    }
    100%{
        top: 50%;
    }
}

/*.container1 div:nth-child(1){
    grid-column: span 2;
}
.container1 div:nth-child(2){
    grid-row: span 2;
}
.container1 div:nth-child(3){
    grid-column: span 3;
}*/



@media(max-width: 768px){
    .container2{
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
}

.container3{
    display:flex;
    flex-direction: row;
    width: 1500px;
    margin: 50px auto;
    
    align-content: center;
    align-items: center;
    
}
video{
    display: flex;
    width: 300px;
    height: 200px;
    flex-direction: row;
    
}

@media(max-width: 768px){
    .container3{
    display: flex;
    flex-direction: column;
    width: 100%;    
    }
}