@charset "utf-8";
/* CSS Document */

body{
	background-color: whitesmoke;
	margin: 0;
	pandding:0;
}

/* navigation */
ul{
	list-style: none;
}
a{
	text-decoration: none;
}

nav{
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 60px;
	background-color:transparent;
	box-shadow: 2px 2px 12px;
	padding: 0 5%;
}
nav ul{
	display: flex;
}
nav ul li a{
	margin: 30px;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	color: #000000;
	font-size:15px;
	font-weight: 700;
}
.logo{
	font-family: baumans;
	color: #000000;
	font-size: 22px;
	font-weight:bold;
	letter-spacing:5px;
}
.active{
	font-weight: bold;
	color: #2d2a2a;
}

/* main */
main{
	background-color: black;
	min-height: 1000px;
}

/*Home*/
.bg-container{
    background-image: url("img/background.jpg");
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 700px;
    background-position: 0% 70%;
    margin-top: -60px;
}
.text-container{
    text-align: center;
    padding-top: 320px;
}
.text-container p:nth-child(1){
    font-weight: 400;
    color: #1a1a1a;
    font-size: 50px;
    letter-spacing: 2px;
    font-family: josefin-sans;
    font-style: normal;
}
.text-container p:nth-child(2){
	font-family:calibri;
	font-weight:100;
	letter-spacing:1px;
    color: #1a1a1a;
	font-size:30px;
	
}
.text-container p{
    margin-bottom: 45px;
    line-height: 0px;
}
.text-container button{
	width:130px;
	height:42px;
	border-radius:10px;
	font-family:calibri;
	font-weight:bold;
	font-size: 14px;
	outline:none;
	margin:0px 10px;
}
.abt-btn{
	background-color:#0B0B0B;
	color:#fff;	
	border:none;
}
button:active{
	transform:scale(1.1);
}



/*design gallary*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.d-gallery{
	background-image:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url("img/background2.jpg");
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 600px;
	background-color: rosybrown;
}

h1 {
    text-align: center;
    padding-bottom: 65px;
    color: #17d1ac;
    text-transform: uppercase;
    letter-spacing: 15px;
    padding-top: 90px;
}
.gallery {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}

.gallery__photo {
  width: 250px;
  height: 250px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  position: absolute;
  transition: all 0.5s;
  z-index: 10;
  outline-offset: 20px;
}

.gallery__photo--p1 {
  top: 0;
  left: 0;
}

.gallery__photo--p2 {
  top: 0;
  right: 0;
  z-index: 1;
}

.gallery__photo--p3 {
  top: 40px;
  left: 20%;
}

.gallery__photo--p4 {
  top: 60px;
  left: 40%;
}

.gallery__photo--p5 {
  top: 40px;
  left: 60%;
  z-index: 2;
}

.gallery__photo:hover {
  outline: 15px solid #17d1ac;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: scale(1.05) translateY(-20px);
  z-index: 20;
}
.gallery:hover .gallery__photo:not(:hover) {
  transform: scale(0.9);
}


/* footer */
footer {
    min-height: 10px;
    background-color: #FFFFFF;
	justify-content: space-between;
	display: flex;
	padding: 0 2%;
}
footer p{
    font-family: calibri;
    font-size: 18px;
    color: #191919;
    line-height: 30px;
    padding-top: 25px;
}
.social-icons a{
	width:40px;
	height:40px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color:#e6e3e3;
	margin:20px 10px;
	border-radius:50%;
}
.social-icons{
	display: flex;
	float:right;
}
.social-icons i,.social i{
	color:#000000;
}
.social-icons a:hover{
	background-color:#000000;
	box-shadow:2px 2px 12px rgba(0,0,0,0.2);
	transition:all ease 0.5s;
}
.social-icons a:hover i,
.social a:hover i{
	color:#FFFFFF;
	transition:all ease 0.5s;
}

/* Responsive layout - when the screen is 600px wide */
@media screen and (max-width: 600px) {
.bg-container{
    background-position: 70% 0;
}
.text-container p:nth-child(2){
    font-size: 20px;
	font-weight: 400;
}
.d-gallery{	
	
	}
.gallery {
  width: 500px;
}
.gallery__photo {
  width: 125px;
  height: 125px;
  outline-offset: 10px;
}
.gallery__photo:hover {
  outline: 8px solid #17d1ac;
}

footer{
	flex-direction: column;
    text-align: center;
	align-items: center
	}
	
}