*{	
	scroll-behavior: smooth;
	user-select: none;
	transition: all .5s;
}

*, ::after, ::before{
	box-sizing: border-box;
}

:root{
	--profile-img-size: 172px;
}

.about,.contact{
	padding: 30px 10px 80px 10px;
}

section:not(.header, .contact){
	border-bottom: 1px solid white;
}

button, a {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@keyframes arrowMove {
	0% {transform: translateX(0)}
	100% {transform: translateX(4px)}
}

.overlay{
	display: none;
	position: fixed;
	top:0;
	right:0;
	background-color: rgba(0, 0, 0, 0.9);
	height: 100vh;
	width: 100vw;
	z-index: 200;
	text-align: center;
}

.overlay .modal{
	position: fixed;
	top: 50vh;
	left: 50vw;
	transform: translate(-50%,-50%);
	background-color: rgba(0, 0, 0, 0.9);	
}
.overlay .modal img{
	display: none;
	max-height: 80vh;
	max-width: 95vw;
}
.overlay .close{
	color: #fff;
	position: absolute;
    top: 113px;
    right: 17px;
    font-size: 28px;
    cursor: pointer;
	z-index: 52;
}
.overlay p{
	width: 100vw;
	text-align: center;
	position: absolute;
	color: white;
	font-size: 18px;
	z-index: 51;
}


.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	background-color: #42414147;
}
.prev {
	left: 0;
}
.next {
	right: 0;
}

.prev:hover, .next:active {
	background-color: rgba(0,0,0,0.8);
}

i::before{
    background:transparent;
}

#dotDiv{
    text-align: center;
    margin: 0px;
    padding: 0px;
}
            /* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

            /* Number text (1/3 etc) */
        .numbertext {
            color: #f2f2f2;
            font-size: 12px;
            padding: 8px 12px;
            position: absolute;
            top: 0;
        }

            /* The dots/bullets/indicators */
        .dot {
            cursor: pointer;
            height: 15px;
            width: 15px;
            margin: 0 2px;
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            transition: background-color 0.6s ease;
        }

        .dotActive, .dot:hover {
            background-color: #4b9cf8;
        }

            /* Fading animation */
        .fade {
            animation-name: fade;
            animation-duration: 1.5s;
        }

        @keyframes fade {
            from {opacity: .4}
            to {opacity: 1}
        }

@media screen and (min-width:769px){
	/*------WORKS--------------------------------------------------*/
	.overlay .close{
		top: 18px;
		right: 18px;
	}
}
