@font-face {
	font-family: 'raleway';
	src: url(../font/Raleway-Italic-VariableFont_wght.ttf);
}
*{
    font-family: 'raleway';
    margin:0;
    padding:0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

img {
    width: 100%;
    
}
header {
   background-color: gray;

}
.home{
    position:relative;
    background-image: url(../media/building.jpeg);
    background-size: cover;
    background-color: #54272b96;
    background-blend-mode:difference;
    width: 100%;
    height: 100vh;
    margin: 0px 0px 0px 0px;
}
.burger{
    position: fixed;
    z-index: 2;
    width: 25%;
    height: 100vh;
    backdrop-filter: blur(7px) invert(34%);
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
    margin: 0px 0px 0px 0px;
    top:50%;
    transform: translateY(-50%);
    font-size: 3vh;
}
ul{
    position: absolute;
    top:50%;
    transform: translateY(-50%); 
    margin: 0px 0px 0px 30px;
    list-style: none;
}
li a{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black; 
    border: 1px solid white;
    padding: 20px 40px;
    transition: all 0.8s;
    margin: 40px 10px 40px 10px;
}
.burger li a:hover{
    background-color: rgba(255, 255, 255, 0.33);
    color: white;
}
h1{
    position:absolute;
    margin: 0px 0px 0px 0px;
    font-size: 4em;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.521);
    text-align: center;
    padding:40px 120px;
    top:50%;
    right:10%;
    transform: translateY(-50%);
}
h1 span{
    font-size: 1.7em;
    font-family: sans-serif;
    display: block;
}



/*cities*/


.cities{
    position: relative;
    background-image: url(../media/building2.jpg);
    background-color:rgba(0, 0, 0, 0.241);
    background-blend-mode:hue;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
}
h2{
    position: relative;
    font-family: 'raleway';
    font-size: 50px;
    color: white;
    margin: 0px 0px 0px 0px;
    width: 500px;
    top: 80%;
    left: 27%;
}
.citiesimg{ 
    position: relative;
    display: grid;
    font-size: 20px;
    width: 650px;
    height: 350px;
    top: 15%;
    left: 45%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap:10px;   
    transform: perspective(100px) rotateY(-4deg);    
}
.citiesimg img{ 
    border-radius:15px ;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.citiesimg div{
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s linear;
}
.citiesimg div:hover{
    filter: drop-shadow(0 0 0.75rem white);
    transform: scale(1.05);
}
.citiesimg div::after{
    position: absolute;
    content:"";
    width: 100%;
    height: 100%;
    border-radius:15px ;
    background-color: hsla(0, 0%, 0%, 0.434);
    transition: opacity 0.5s easy;
    opacity: 0;
    top:0;
    left:0;
}
.citiesimg div:hover::after{
    opacity: 0.8;
}
.citiesimg div h4{
    color: white;
    font-size: 25px;
    position: absolute;
    z-index: 50;
}


/*citiesimg div*/


.citiesimg div:nth-of-type(1){
    grid-area: 1 / 1 / 3 / 2;
}
.citiesimg div:nth-of-type(2){
    grid-area: 1 / 2 / 2 / 3;
}
.citiesimg div:nth-of-type(3){
    grid-area: 1 / 3 / 2 / 4;
}
.citiesimg div:nth-of-type(4){
    grid-area: 1 / 4 / 3 / 5;
}
.citiesimg div:nth-of-type(5){
    grid-area: 3 / 1 / 5 / 2;
}
.citiesimg div:nth-of-type(6){
    grid-area: 2 / 2 / 5 / 4;
}
.citiesimg div:nth-of-type(7){
    grid-area: 3 / 4 / 5 / 5;
}

.citiesimg div h4{
    bottom: -5vh;
}
.citiesimg div:hover h4{
    transition-duration: 1s;
}
.transition_low:hover h4 {
    transform: translate(0, -8vh);
}
.transition_mid:hover h4 {
    transform: translate(0, -15vh);
}
.transition_high:hover h4 {
    transform: translate(0, -22vh);
}
/*contact*/


.contact{
    background-image: url(../media/building3.jpg);
    background-size: cover;
    background-color: #42187d46;
    background-blend-mode:color-burn;
    width: 100%;
    height: 100vh;
    color: white;
}
form {
    position: relative;
    margin: 0px 0px 0px 0px;
    width: 600px;
    height: 500px;
    top: 20%;
    left: 60%;
    font-size: 20px;
  }
  form h3{
    font-size: 40px;
    width: 220px;
    margin: 0px 0px 60px 60%;
  }
  form div + div {
    margin-top: 30px;
    padding: 5px;
  }
  .name, .firstname {
    display: inline-block;
  }
  .name {
    margin: 0px 79px 0px 0px;
  }
  #name , #firstname{
    width:250px;
    height: 40px;
    font-size: 25px;
    color: white;
    border-radius: 5px;
    }
  #mail{
    width:99%;
    height: 40px;
    font-size: 25px;
    color: white;
    border-radius: 5px;
    }
  input, textarea {
    width: 300px;
    background-color: rgba(0, 0, 0, 0.434);
    border: none;
    border-bottom:1px solid white;
  }
  input:focus, textarea:focus{
    border: none;
    outline: 3px solid hsl(39, 49%, 49%);
  }
  #msg{
    width:99% ;
    height: 80px;
    font-size: 25px;
    color: white;
    border-radius: 5px;
  }
  textarea {
    height: 8em;
  }
::placeholder{
    color: white;
}

/*network*/


.network{
    background-image: url(../media/building4.jpg);
    background-size: cover;
    background-color: #ffb09ecb;
    background-blend-mode:lighten;
    width: 100%;
    height: 100vh;
    margin: 0px 0px 0px 0px;
}
iframe{
    display: flex;
    position: relative;
    top: 150px;
    left: 60%;
    margin: 0;
}
.network p{
    position: relative;
    color: white;
    font-size: 20px;
    left: 55%;
    top: 35%;
    margin: 0;
    width: 150px;
}
.reseaux{
    display: flex;
    position: relative;
    width: 300px;
    height: 100px;
    top: 30%;
    left: 70%;
    justify-content: space-between;
}
.facebook{
    width: 60px;
    height: 60%;
}
.insta{
    width: 60px;
    height: 60%;
}
.twitter{
    width: 60px;
    height: 60%;
}