/*MYCOURT - created: 2020.10.15 - by Jozsef Adam Punk*/
* {
  box-sizing: border-box;
}

body {
  font-family: Arial;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0px;
  font-weight: 500;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1A1A1A;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}
.header_space {
  display: flex;
  background-color: #1A1A1A;
  width: 100%;
  height: 53px;
}

.logo a {
  display: flex;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  color: white;
  padding: 14px 20px; 
}

.navbar {
  display: flex;
  justify-content: center;
  font-weight: 400;
}

.navbar a {
  display: flex;
  color: white;
  padding: 14px 20px;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}

.header .navbar a:hover {
  color: darkgrey;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  background-image: url(https://cdn.hipwallpaper.com/i/28/52/K8vWYZ.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.mycourt_title {
  animation: title 3s;
  padding: 10%;
}

.search_location {
  display: flex;
  flex-direction: column;
  align-items: left;
  padding-top: 20px;
}

.search_input {
  display: flex;
  align-items: center;
}

#location {
  color: white;
  background-color:#1A1A1A;
  width: auto;
  padding: 10px;
  border-style: solid;
  border-color: darkgrey;
}

.map {
  background-image: url("map.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

.intro {
  background-image: url("tennisgirl.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  border-radius: 20px;
}

.player_card {
  display: flex;
  flex-direction: column;
  height: fit-content;
  background-color: white;
  color: #1A1A1A;
  box-shadow: 0 0 15px lightgray;
  border-radius: 20px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 40px;
}

.profile_pic {
  clip-path: circle(33%);
  width: 100%;
  line-height: 0;
  padding-top: 20px;
  padding-left: 20%;
  padding-right: 20%;
  padding-bottom: 20px;
}

.profile_name {
  color: #0099FF;
  line-height: normal;
  font-size: 24px;
  font-weight: 600;
}

.profile_des {
  line-height: normal;
  padding-bottom: 20px;
}

.row {  
  display: flex;
  flex-wrap: wrap;
}

.row h2{
    margin: 0px;
    margin-bottom: 20px;
}

.side {
  flex: 30%;                     
  background-color: #1A1A1A;
  color: white;
  padding: 20px;
}

.main {         
  flex: 70%;               
  background-color: white;
  color: #1A1A1A;
  padding: 20px;
}

.main p {
  margin-bottom: 5px;
}

.img {
  width: 100%;                       
  padding: 20px;
}

.about_us {
  flex: 100%;               
  background-color: white;
  color: #1A1A1A;
  padding: 20px;
  text-align: center;
}

.joci_pic {
  height: 200px;
  margin-bottom: 20px;
}

.joci_pic img{
  clip-path: circle(45%);
}

.g_header {
  padding: 20px;
  margin-bottom: 40px;
  text-align: left;
  background: #0099FF;
  color: white;
}

.a_header {
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  background: #0099FF;
  color: white;
}

.g_row {
  display: flex;
  flex-wrap: wrap;
  line-height: 0;
  margin-left: 20px;
  margin-right: 20px;
}

.g_column {                              
  flex: 25%;
  max-width: 25%;
  text-align: center;
  line-height: 0;
}

.footer {
  padding: 20px;
  text-align: center;
  background: #1A1A1A;
  color: white;
}

/*mobile view*/

@media (max-width: 1000px) {
  .row {   
    flex-direction: column-reverse;
  }
}

@media (max-width: 1200px) {
  .g_column {
    flex: 50%;
    max-width: 50%;
  }
}

@media (max-width: 700px) {
  .g_column {
    flex: 100%; 
    max-width: 100%;
  }
  .navbar {
    display: none;
  }
}

/*animations*/

@keyframes button {
  from {color: #ddd;}
  to {color: lightslategrey;}
}

@keyframes title {
  from {opacity: 0%;}
  to {opacity: 100%;}
}