@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* HEADER START */
header {
  background-color: #0981D1;
  width: 100%;
  position: fixed; /*For fixed the header on the page while scrolling*/
  z-index: 999;
  display: flex;
  justify-content: space-between; /*Creat a white space between the child elements*/
  align-items: center;
  padding: 10px 200px; /*Short hand syntax 10px(top & bottom) 200px (right & left)*/
}

.logo {
  text-decoration: none;
  color: #ddd;
  text-transform: uppercase; /*All letters capital*/
  font-size: 1.8em; /*Relative to default settings of the browser*/
  font-weight: 700;
}

.navigation a {
  text-decoration: none;
  color: #ddd;
  font-size: 1.1em;
  font-weight: 500;
  padding-left: 30px;
}

.navigation a:hover {
  color: white;
}

/* HEADER END */

/* Section MAIN START */
section {
  padding: 100px 200px;
}

.main {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center; /*Centered the items in the section but must do diplay: flex; */
  background-image: url("./Photo/Network.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.main h2 {
  color: #fff;
  font-size: 1.4em;
  font-weight: 500;
}

.main h2 span {
  color: #00fa9a;
  font-size: 3em;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

.main h3 {
  color: #fff;
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 2px; /*Creat a sapce betwwen letters*/
  margin-top: 10px;
  margin-bottom: 30px;
}

.main-btn {
  color: #fff;
  background-color: #00fa9a;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  display: inline-block;
  padding: 0.9375em 2.187em; /*for convert to px: 0.9375em x 16 = ??px*/
  letter-spacing: 2px;
  border-radius: 15px;
  margin-bottom: 40px;
  transition: 0.7s ease; /*Duration of animation and ease it means smoothly*/
}

.main-btn:hover {
  background-color: #00fa53;
  transform: scale(1.1); /*Change the scale x and y*/
}

.social a {
  color: #fff;
  font-size: 1.7em;
  padding-right: 30px;
}
/*Section MAIN END */

/*Section Cards Start */
.title {
    display: flex;
    justify-content: center; 
    color: #00fa9a;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex; 
    justify-content: center; /*Centrelize Cards*/
    flex-direction: row; /* ROW = Set Cards side by side | column = Set cards under each other */
    flex-wrap: wrap; /*wrap = Makes cards not scale if there is more cards the oposite of the defalut value No-wrap*/ 
}

.card {
    background-color: #fff;
    width: 21.25em;
    box-shadow: 0 5px 25px rgba(1, 1, 1, 15%); /* 1st value top or bottom | 2nd value left or right | 3rd value Bluerd 25px | the shadow color */
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale(1.1);
}

.icon {
    color: #00fa9a;
    font-size: 8em;
    text-align: center;
}

.info {
    text-align: center; 
}
.info h3 {
    color: #00fa9a;
    font-size: 1.2em;
    font-weight: 700;
    margin: 15px;
}
/*Section Cards END */

/*Section Projects Start */
.projects {
    background-color: #0981d1e7;
}

.projects .content {
    margin-top: 30px;
}

.project-card {
    background-color: #FFF;
    border: 2px solid #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card:hover {
    transform: scale(1.1)
}

.project-card:hover .project-image{
    opacity: 0.9;
}

.project-image img {
    width: 100%;
    height: 100%;
}

.project-info {
    padding: 1em;
}

.project-cat {
    font-size: 0.8em;
    color: #000;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}

.more-details {
    text-decoration: none;
    color: #0981D1;
}

.more-details:hover {
    color: rgb(156, 151, 151);
}
/*Section Projects END */

/*Section Contact Start */
.contact .icon {
    font-size: 4.5em;
}

.contact .info h3 {
    color: black;
}

.contact .info p {
    font-size: 1.5em;
}
/*Section Contact END */

/* Footer start */
footer {
    background-color: #0981d1e7;
    color: #ddd;
    padding: 2em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span {
    color: #00fa9a;
}

.footer-title .social a {
    font-size: 1.3em;
    padding: 0 12px 0 0;
}
/* Footer End */

/* Media Qeuiry */
@media (max-width:1023px) {
    header {
        padding: 12px 20px;
    }

    .navigation a{ 
        padding-left: 10px;
    }
    .title {
        font-size: 1.8em;
    }

    selection {
        padding: 80px 20px;
    }

    .main-content h2 {
        font-size: 1em;
    }

    .main-content h3 {
        font-size: 1.6em;
    }

    .content {
        flex-direction: column;
        align-items: center;

    }
}

@media (max-width:641px){
    body {
        font-size: 12px;    
    }

    .main-content h2 {
        font-size: 0.8em;
    }
    .main-content h3 {
        font-size: 1.4em;
    }
}

@media (max-width:300px) {
    body {
        font-size: 10px;
    }
}