@charset "utf-8";
/* CSS Document */

/*
COLOR PALETTE
https://coolors.co/f7fff7-343434-2f3061-ffe66d-a1c6d7
#F7FFF7 - almost white
#343434 - dark gray - almost black
#2F3061 - blue dark
#FFE66D - yellow
#A1C6D7 - blue light
*/


/* Global styles
------------------------------------*/
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  color: #343434;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

@keyframes harmonicMotionleft {
  0%, 100% {
    left: calc(var(--midpoint) - var(--amplitude));
  }
  25% {
    left: var(--midpoint);
  }
  50% {
    left: calc(var(--midpoint) + var(--amplitude));
  }
  75% {
    left: var(--midpoint);
  }
}

.moving-btn{
  position: relative;
  transform: translateY(-50%);
  --midpoint: 1%;
  --amplitude: 1%;
  animation: harmonicMotionleft 1s linear infinite;
}


#clock {
  font-size: 2em;
  text-align: center;
}

#logo {
  filter: grayscale();
  position: fixed;
  top: 20px; 
  right: 10px;
  padding-top: 20px;
}

#logo:hover {
  position: fixed;
  top: 20px; 
  right: 10px;
  padding-top: 20px;
}

#ScoreBoard {
  position: fixed;
  top: 20px; 
  left: 10px;
  padding-top: 20px;
}

#Statistics {
  position: fixed;
  bottom: 20px; 
  left: 10px;
  padding-bottom: 20px;
}

#AI_Prediction {
  position: fixed;
  bottom: 20px; 
  right: 10px;
  padding-bottom: 20px;
}

.wrapper1 {
  display: grid;
  grid-template-columns: 100%;
  grid-gap: 10px;
  background-color: #fff;
  color: #444;
  margin-bottom: 10px;
}

.wrapper2 {
  display: grid;
  grid-template-columns: 80px;
  /* grid-gap: 10px; */
  background-color: #fff;
  color: #444;
  margin-bottom: 10px;
}

.wrapper3 {
  display: grid;
  grid-template-columns: 800px;
  /* grid-gap: 10px; */
  background-color: #fff;
  color: #444;
  margin-bottom: 10px;
}

.box {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 20px;
  font-size: 100%;
}

img {
  width: 600px;
}
a {
  color: #FFE66D;
}
a:hover {
  text-decoration: none;
}
h1, h2 {
  font-family: 'Caveat', cursive;
  font-weight: 400;
  margin: 0;
}
h1 {
  font-size: 100px;
  line-height: 1;
}
h2 {
  font-size: 45px;
}


.content-wrap {
  max-width: 800px;
  width: 85%;
  margin: 0 auto;
  padding: 45px 0;
}

.porsline {
  width: 800px;
  height: 500px;
} 

.content-wrap .btn_Home {
  background: #15162d;
  color: #F7FFF7;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
  padding: 5px 5px;
  margin: 5px 5px;
}
.content-wrap .btn_Home:hover {
  background: rgba(47,48,97,80%);
}

.content-wrap .btn {
  background: #2F3061;
  color: #F7FFF7;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
  padding: 5px 5px;
  margin: 5px 5px;
}
.content-wrap .btn:hover {
  background: rgba(47,48,97,80%);
}

.content-wrap .btn_Pro {
  background: #2F3061;
  color: #F7FFF7;
  text-decoration: none;
  padding: 8px;
  border-radius: 7px;
  display: inline-block;
  padding: 5px 5px;
  margin: 8px 8px;
}
.content-wrap .btn_Pro:hover {
  background: rgba(1, 44, 14, 0.8);
  color: #fdfdfb;
}

.content-wrap .btn_Bro {
  background: rgb(0, 183, 255);
  color: #F7FFF7;
  text-decoration: none;
  padding: 1px;
  border-radius: 10px;
  border-color: #15162d;
  border-style:outset;
  display: inline-block;
  padding: 8px 8px;
  margin: 3px 2px;
}
.content-wrap .btn_Bro:hover {
  background: rgb(234, 234, 4);
  color: #fdfdfb;
}

.content-wrap .btn_Gro {
  background: rgb(234, 234, 4);
  color: #F7FFF7;
  text-decoration: none;
  padding: 1px;
  border-radius: 10px;
  border-color: #15162d;
  border-style:outset;
  display: inline-block;
  padding: 8px 8px;
  margin: 2px 3px;
}
.content-wrap .btn_Gro:hover {
  background: rgb(0, 183, 255);
  color: #fdfdfb;
}

content-wrap a {
  color: #2F3061;
}

.item-details h3 {
  margin-bottom: 5px;
}
.item-details h3 + p {
  font-style: italic;
}

.item-details h3 ~ p {
  margin: 0;
}
.divider > section {
  overflow: hidden;
  border-bottom: 1px dashed #343434;
  padding: 25px 0;
}
.divider > section:last-of-type {
  border: none;
}


/* Profile
------------------------------------*/
header {
  background: #343434;
  color: #F7FFF7;
}


/* Projects
------------------------------------*/
.projects {
  background: #F7FFF7;
}
.projects a {
  color: #2F3061;
}
.projects .btn {
  background: #2F3061;
  color: #F7FFF7;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
}
.projects .btn:hover {
  background: rgba(47,48,97,80%);
}
.project-item h3 {
  margin-top: 0;
}



/* Work Experience
------------------------------------*/
.work-experience {
  background: #F7FFF7;
}



/* Education
------------------------------------*/
.education {
  background-image: url(Images/sharif.png);
  background-position: bottom ;
  background-size:cover;
  padding-bottom: 10px;
}
.education p {
  width: 60%;
}


/* Contact Info
------------------------------------*/
footer {
  background: #343434;
  color: #F7FFF7;
}
.contact-list {
  list-style-type: none;
  padding: 0;
}
.contact-list a {
  padding: 5px;
  display: inline-block;
}


/* Responsive
------------------------------------*/
@media screen and (min-width: 750px) {

  header, footer {
    text-align: center;
  }

  .project-item img {
    float: left;
    margin-right: 40px;
	  width: 200px;
	  height: 200px;
  }

  .job-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .contact-list {
    display: flex;
    justify-content: center;
  }
  .contact-list a {
    padding: 15px;
  }

  .porsline {
    width: 800px;
    height: 450px;
  } 
}

@media screen and (max-width: 749px) {
	
  h1 {
    font-size: 66px;
    line-height: 0.9;
    margin-bottom: 20px;
  }
  h2 {
    line-height: 1;
  }
	
	.project-item img {
    float: left;
    margin-right: 20px;
	margin-bottom: 40px;
	  width: 100px;
	  height: 100px;
  }

  .porsline {
    width: 480px;
    height: 600px;
  } 
}

@media screen and (max-width: 420px) {
  
	.project-item img {
    float: left;
    margin-right: 10px;
	  width: 24px;
	  height: 24px;
  }
	
	h1 {
    font-size: 52px;
    line-height: 0.9;
    margin-bottom: 21px;
  }
	h2 {
    	font-size: 42px;
		line-height: 1;
  }

  .porsline {
    width: 300px;
    height: 480px;
  } 

  img {
    width: 300px;
  }
	
}
