* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: Poppins;
    src: url(../fonts/Poppins.ttf);
}

@font-face {
    font-family: Poppins-bold;
    src: url(../fonts/Poppins-Bold.ttf);
}

@font-face {
    font-family: Unispace;
    src: url(../fonts/unispace.otf);
}

@font-face {
    font-family: Unispace-bold;
    src: url(../fonts/unispace-bold.otf);
}

::-webkit-scrollbar {
    width: 1rem;
}

  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
}
  ::-webkit-scrollbar-thumb {
    background: #20B2AA; 
    border-radius: 10px;
}

  ::-webkit-scrollbar-thumb:hover {
    background: #FFF; 
}

body {
    font-family: Poppins;
    background: #313131
}

#wrap {
    background: url(../img/background.jpg) no-repeat;
    background-size: cover;
    background-position: right;
}

#container {
    position: relative;
    background-color: rgba(49, 49, 49, 0.6);
    height: 100vh;
}

#header {
    padding: 15vh 0 0 6vh;
}

#header p {
    color: #20B2AA;
    display: inline;
}

h1 {
    color: #FFF;
    font-size: 16vh;
    font-family: Poppins-bold;
}

h2 {
    font-size: 3vh;
    color: #AEAEAE;
    font-family: Poppins-bold;
    letter-spacing: 0.225vh;
}

h3 {
    font-family: Unispace-bold;
    letter-spacing: 0.1vh;
    color: #fff;
    font-size: 4.5vh;
    text-align: center;
}

.contactme {
    background-color: #20B2AA;
    border: none;
    color: #FFF;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 4vh;
    border-radius: 0.9vh;
    padding: 1.6vh 4vh;
    font-family: Poppins-bold;
    position: absolute;
    bottom: 5rem;
}

.contactme a {
    color: #FFF;
    text-decoration: none;
}

lottie-player {
    max-width: 550px;
    max-height: 550px;
}

.work {
    margin-top: 12vh;
    background: #3A3A3A;
    padding: 5vh 0;
    text-align: center;
}

.hover {
    width: 30%;
    height: 35vh;
    overflow: hidden;
    border-radius: .75%;
    margin: 2% 3%;
    border: 2px solid black;
    display: inline-block;
}
.hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: all 5s ease-in-out;
}
.hover:hover img {
    object-position: bottom center;
}

.about {
    padding: 5%;
}

.about h3 {
    margin-bottom: 2%;
}

.about p {
    color: #AEAEAE;
}

.contact {
    padding: 3%;
    background: #3A3A3A;
}

.contact img {
    width: 200px;
    transform: scale(1.0);
    transition: transform 1s;
}

.contact img:hover {
    transform: scale(1.1);
    transition: transform 1s;
}

.contact a {
    margin: 0 2%;
}

button.email {
    background: none;
    border: none;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    font-size: 2vh;
    border-radius: 0.9vh;
    font-family: Poppins-bold;
}

.icons {
    padding-top: 2%;
    display: flex;
    justify-content: center;
}

.mailto-link {
	position: relative;
	padding: 8px 0;
}
.mailto-message {
	top: 1px;
	left: 50%;
	margin-bottom: -5px;
	transform: translate(-50%, -100%);
	position: absolute;
	display: none;
	width: auto;
	white-space: nowrap;
	font-size: 12px;
	background-color: black;
	color: white;
	padding: 2px 6px;
	border-radius: 2px;
	&:after,
	&:before {
		content: '';
	}
	&:before {
		top: 100%;
		left: 50%;
		border: solid transparent;
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
		border-color: rgba(0, 0, 0, 0);
		border-top-color: #000000;
		border-width: 4px;
		margin-left: -4px;
	}
}
.mailto-link:hover .mailto-message,
.mailto-link:focus .mailto-message,
.mailto-link:focus-within .mailto-message {
	display: block;
}

@media screen and (max-width: 2300px) {
    .hover {
        width: 40%;
        max-height: 35vh;
        overflow: hidden;
        border-radius: .75%;
        margin: 2% 3%;
        border: 2px solid black;
        display: inline-block;
    }
}

@media screen and (max-width: 1760px) {
    h1 {
        font-size: 14vh;
    }
    h2 {
        font-size: 2.6vh;
    }

    .hover {
        width: 40%;
        max-height: 28vh;
        margin: 2% 4.5%;
    }
}

@media screen and (max-width: 1450px) {
    h1 {
        font-size: 11vh;
    }
    h2 {
        font-size: 2vh;
    }

    .hover {
        width: 45%;
        max-height: 26vh;
        margin: 4% 2%;
    }
}

@media screen and (max-width: 1050px) {
    h1 {
        font-size: 8vh;
    }

    h2 {
        font-size: 1.4vh;
    }

    .hover {
        width: 65%;
        max-height: 30vh;
    }
}

@media screen and (max-width: 890px) {
    #wrap {
        background-position: 94% 50%;
    }
    h1 {
        font-size: 6.5vh;
    }

    .hover {
        width: 75%;
        max-height: 26vh;
    }
}

@media screen and (max-width: 670px) {
    #wrap {
        background-position: 85% 50%;
    }

    #header {
        padding: 15vh 0;
    }

    h1 {
        font-size: 5vh;
        text-align: center;
    }

    h2  {
        text-align: center;
    }

    button {
        left: 5%;
        font-size: 2.5rem;
    }

    .hover {
        width: 85%;
        max-height: 24vh;
    }

    .work h3 {
        font-size: 2.8rem;
    }
}