@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400&display=swap');

*{margin:0;padding:0}

html{
   scroll-behavior: smooth;
}

body{
    font-family: 'Jost', sans-serif;
}

a{text-decoration: none;}

.head{
    width: 100%;
    height: 27vmax;

    background: url("../gallery/banner.gif");
    background-size: cover;
    background-position: center;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar{
    width: 200px;
    height: 120px;
    //border-radius: 50%;
    margin: 8% auto 10px auto;
}

.name{
    font-size: 18px;
    font-weight: bold;
}

.name, .contact{
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}

.social{
    display: flex;
    color: #fff;
    justify-content: center;
}

nav{
    width: 100%;
    background: #000;
    text-align: center;

    position: sticky;
    top: -1px;
    z-index: 3;
}

nav ul li{
    display: inline-block;
    position: relative;
    padding: 20px;
    color: #fff;
}

nav ul li:hover{
    color: #f00;
    cursor: pointer;
}
  
nav ul li::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #f00;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

nav ul li:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

h1{
    font-size: 26px;
    text-align: center;
    font-weight: 400;
}

h2{
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    font-weight: 300;
}

.text{
    max-width: 994px;
    margin: 0 auto;
    text-align: center;
}

.column{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 994px;
    margin: 0 auto;
}

.column::after {
	content: '';
	clear: both;
	display: block;
}
.column div {
	position: relative;
	float: left;
	width: 250px;
	height: 250px;
	margin: 15px 15px 0 15px;
	padding: 0;
}
.column div:first-child {
	margin-left: 0;
}
.column div span {
	position: absolute;
	bottom: -20px;
	left: 0;
	z-index: -1;
	display: block;
	width: 300px;
	margin: 0;
	padding: 0;
	color: #444;
	font-size: 18px;
	text-decoration: none;
	text-align: center;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	opacity: 0;
}

figure {
	width: 250px;
	height: 250px;
	margin: 0;
	padding: 0;
	background: #fff;
	overflow: hidden;
    border-radius: 4px;
    text-align: center;
}
figure:hover+span {
	bottom: -36px;
	opacity: 1;
}

figure img {
    height: 100%;
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
figure:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}

.social{
    padding: 8px 0;
}

 .social .fab{
    font-size: 14px;
    text-align: center;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    margin: 3px;
 }

 .fab.fa-twitter{
    color: #55acee;
 }

 .fab.fa-instagram{
    color: #e1306c;
 }

 .fab.fa-twitter:hover{
    background: #55acee;
    color: #fff;
 }

 .fab.fa-instagram:hover{
    background: #e1306c;
    color: #fff;
 }

 .gallery{padding: 60px}

 .lbg{background: #0f0906;color: #fff}
 .black{background: #111;color: #fff}
 .black2{background: #222;color: #fff}
 .img1{
    background: url("https://www.oddtales.net/img/gifs/TLN_E32017_naburu.gif");
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
 }

 footer{
    background: #111;
    padding: 60px 0;
    text-align: center;
    color: #fff;
 }

 #sect5 a{
    color: #fff;
 }

 #sect5 a:hover{
    color: #f00;
 }

 #menuicon, #mobile{
    display: none;
  }
  
#menuicon {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(2, 11, 27, 0.7);
    color: #fff;
    z-index: 4;
    width: 55px;
    padding: 15px 0;
    text-align: center;
    border-radius: 100px;
    font-size: 18px;
}

#copy{
    background: #000;
    color: #fff;
    padding: 5px;
    font-size: 12px;
    text-align: center;
}

 @media only screen and (max-width: 900px){
    #menuicon{
      display: block;
    }

    #web{display: none;}

    #mobile{
        position: fixed;
        top: 0;
        width: 100%;
    }

    #mobile ul li{
        display: block;
        text-align: left;
    }
	
	.avatar{
		width: 100px;
		height: 60px;
		margin: 8% auto 10px auto;
	}
	
	.head{
		height: auto;
	}
  }