@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

@font-face{
	font-family: 'Myriad';
	src: url('../fonts/Myriad.ttf') format('truetype');
}

:root{
	--white: #FFF;
	--grey: #ccc;
	--darkgrey: #ccc;
	--black: #000;
    --color1: #1f4b8c;
	--color2: #efc616;
	--background1: rgba(0, 0, 0, 0.05);
}

body[data-theme="grey"]{}

body[data-theme="dark"]{}

*,
*:before,
*:after{
	font-family: "Tajawal", sans-serif;
	margin: 0;
	padding: 0;
	direction: rtl;
}

body{
	
}

/************************ HEADER ************************/
body header{
	margin-left: 12.5%;
	margin-right: 12.5%;
	display: grid;
	grid-template-columns: 1fr 3fr;
	height: 80px;
	align-items: center;
	text-align: center;
}

body header .title{
    display: flex;
    position: relative;
}

body header .title h1{
    color: var(--black);
    cursor: pointer;
    position: relative;
}

body header .links{
	display: flex;
	gap: 20px;
	justify-content: end;
}

body header .menuIcon{
	display: none;
}

body header .links a{
	color: var(--black);
	font-size: 17px;
	text-decoration: none;
	transition: 0.46s;
	display: grid;
	justify-items: center;
}

body header .links a:hover{
	color: var(--color2);
	font-size: 18px;
	transition: 0.36s;
}

body header .links .selected{
	color: var(--color2);
	font-size: 18px;
}

body header .links .logo{
	display: none;
}

/************************ MAIN ************************/
body main{
	margin-left: 12.5%;
	margin-right: 12.5%;
}

body main .contact{
    margin-top: 10px;
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: 15px;
}

body main .contact form{
    display: grid;
    gap: 15px;
}

body main .contact form .personal{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

body main .contact form .input-wrapper{
    position: relative;
}

body main .contact form .input-wrapper input{
    outline: none;
    border-radius: 7px;
    border: 1px solid var(--grey);
    padding: 7px 10px 7px 30px;
    width: calc(100% - 42px);
}

body main .contact form .input-wrapper textarea{
    outline: none;
    border-radius: 7px;
    border: 1px solid var(--grey);
    padding: 7px 10px 7px 30px;
    width: calc(100% - 42px);
    resize: none;
    height: 80px;
    margin-bottom: -6px;
}

body main .contact form button{
    outline: none;
    border-radius: 7px;
    border: 1px solid var(--grey);
    padding: 7px 15px;
    cursor: pointer;
    height: auto;
}

body main .contact form button:hover{
    transform: scale(1.05);
}

body main .contact form .input-wrapper .char-counter{
    font-size: 12px;
    color: var(--grey);
    position: absolute;
    left: 4px;
    bottom: 1px;
}

body main .contact .email{
    padding: 10px;
    border-radius: 7px;
    border: 1px solid var(--grey);
    display: flex;
    flex-direction: column;
	justify-content: space-between;
    gap: 10px;
}

body main .contact .email .text{
    display: grid;
    gap: 10px;
}

body main .contact a{
    padding: 7px 10px;
    height: auto;
    border-radius: 7px;
    border: 1px solid var(--grey);
    display: grid;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease-in-out;
    color: var(--white);
    background-color: var(--black);
    text-align: center;
    overflow: hidden;
}

body main .contact a::before{
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: 0;
    opacity: 0.6;
    animation: shine 2.5s ease-out infinite;
}

@keyframes shine{
    0%{
        left: -100px;
    }
    60%{
        left: 100%;
    }
    100%{
        left: 100%;
    }
}

/************************ FOOTER ************************/
body footer{
	margin-top: 30px;
	display: grid;
	grid-template-rows: auto auto;
	height: auto;
	width: auto;
	background-color: var(--black);
	color: var(--white);
	padding: 15px;
}

body footer .guide{
	margin-left: 12.5%;
	margin-right: 12.5%;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
	gap: 15px;
}

body footer .guide .information{
	width: 100%;
}

body footer .guide div{
	flex-grow: 1;
}

body footer .guide div p{
	font-size: 15px;
}

body footer .guide div h4{
	font-size: 16px;
	margin: 6px 0px;
}

body footer .guide div .links{
	margin-left: 6px;
	display: grid;
	gap: 3.5px;
	width: 100%;
}

body footer .guide div .links a{
	text-decoration: none;
	font-size: 15px;
	color: var(--white);
}

body footer hr{
	margin-left: 12.5%;
	margin-right: 12.5%;
	height: 0.001rem;
	color: var(--grey);
	margin-top: 30px;
	margin-bottom: 10px;
}

body footer .copyright{
	margin-left: 12.5%;
	margin-right: 12.5%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 15px;
}

body footer .copyright .social{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

body footer .copyright .social a{
	text-decoration: none;
	color: var(--white);
	cursor: pointer;
	transition: 0.46s;
	font-size: 22px;
}

body footer .copyright .social a:hover{
	color: var(--grey);
	transition: 0.46s;
}

body footer .copyright .social i{
	font-size: 18px;
}

@media (max-width: 768px){

	/************************ HEADER ************************/
	body header{
		height: 70px;
		margin-right: 15px;
		margin-left: 15px;
	}

	body header .title h1{
		cursor: default;
		font-size: 24px;
	}
	

	body header .links{
		display: grid;
		grid-template-rows: 110px repeat(5, 50px);
		grid-template-columns: 1fr;
		gap: 8px;
		position: fixed;
		padding: 10px;
		z-index: 4;
		top: 0;
		left: 0;
		height: 100%;
		width: 259px;
		background-color: var(--white);
		border-right: 1px solid var(--grey);
		border-top-right-radius: 7px;
		border-bottom-right-radius: 7px;
		transform: translate(-280px);
		transition: 0.46s;
	}

	body header .links a{
		color: grey;
		width: calc(100% - 10px);
		height: 100%;
		cursor: default;
		gap: 15px;
		border-radius: 7px;
		display: flex;
		align-items: center;
		padding-right: 10px;
	}

	body header .links a:hover{
		color: var(--color2);
		transition: 0.46s;
		background-color: rgba(0, 0, 0, 0.05);
	}

	body header .links a:active{
		color: var(--color2);
		transition: 0.46s;
		background-color: rgba(0, 0, 0, 0.05);
	}

	body header .links .logo{
		display: block;
		border-radius: 7px;
		overflow: hidden;
	}

	body header .links .logo figure img{
		height: 100px;
		width: calc(100% - 2px);
		border-radius: 7px;
		border: 1px solid var(--grey);
	}
	body header .links p{
		display: none;
	}

	body header .menuIcon{
		display: flex;
		justify-content: end;
		font-size: 24px;
		font-weight: bolder;
	}

	/************************ MAIN ************************/
	body main{
		margin-right: 15px;
		margin-left: 15px;
	}

    body main .contact{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        margin-top: 0px;
    }

    body main .contact form button{
        cursor: default;
    }

    body main .contact a{
        cursor: default;
    }

	/************************ FOOTER ************************/
	body footer .copyright .social a{
		cursor: default;
	}

	body footer .guide,
	body footer hr,
	body footer .copyright{
		margin-right: 15px;
		margin-left: 15px;
		margin-top: 15px;
	}
}