:root {
  --white: #fff;
  --black: #000;
  --orange: orange;
  --gray: rgb(214, 212, 212);
  --margin-default-size: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.col {
  width: 100%;
}

[class*="col"],
.row {
  float: left;
  padding: 10px;
  width: 100%;
}

/*GLOBAL SECTION*/
ul {
  list-style-type: none;

}

a {
  text-decoration: none;
  color: var(--black);
}

a:hover {
  color: var(--orange);
  transition: color .2s linear;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-evenly {
  justify-content: space-evenly;
  margin: auto;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

.border {
  border: 1px solid var(--black);
}

/*HEADER SECTION*/

/* MAIN INTRO SECTION */
.intro-body {
  position: relative;
  max-height: 50vh;
  border: 50vh blue;
}

.intro-content {
  width: 100%;
  position: absolute;
  z-index: 999;
  text-align: center;
  top: 30%;
  color: var(--white);
}

.intro-sec {
  width: 40%;
  margin: auto;
}

.intro-content h1 {
  margin-bottom: 10px;

}

.intro-content p {
  margin-bottom: 10px;
}

.intro-content a {
  margin-bottom: 10px;
  border: 1px solid var(--white);
  background-color: var(--white);
  padding: 5px 3px;
  color: var(--orange);
  border-radius: 5px;
}

.intro-content a:hover {
  background-color: var(--gray);
  transition: background-color .4s ease-in-out;
}

.intro-img {
  max-height: inherit;
}

.intro-img img {
  object-fit: cover;
  width: 100%;
  max-height: inherit;
  object-position: bottom;

}

/* MAIN INTOR SECTION ENDS */
.card-img {
  width: 100%;
  height: 200px;
}

.card-img img,
.des-img img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.card-content {
  text-align: center;
}

.card-btn,
.card-title,
.card-img {
  margin-bottom: 20px !important;
}

.card-btn,
.creat-article-btn {
  background-color: var(--black);
  color: var(--orange);
  padding: 6px 15px;
}

.card-btn:hover,
.creat-article-btn:hover,
.btn-warning:hover {
  background-color: var(--gray);
  transition: background-color .4s ease-in-out;

}

nav {
  /* background-color: black; */
}

.card-title {
  margin-top: 20px;
}

/*ARTICLE LIST SECTION*/

.article-heading {
  font-size: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bolder;
  padding: 10px;
}

.creat-article-btn {
  padding: 10ps;
  border-radius: 5pc;
  color: var(--orange);
  font-size: large;
}

.creat-article-btn a {
  color: inherit;
}

.form-group {
  display: grid;
  margin: 10px 5px;
}

.form-group label {
  font-size: large;
  font-weight: bolder;
}

.form-control {
  font-size: large;
  padding: 10px;
  border: 2px solid var(--gray);
  border-radius: 10px;
}

.btn-warning {
  background-color: var(--black);
  color: var(--orange);
  padding: 10px;
  border-radius: 15px;
  border: none;
}

.d-none {
  display: none;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

@media only screen and (max-width: 768px) {
  .d-md-block {
    display: block;
  }

  .d-md-none {
    display: none;
  }
}



/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .col-md-1 {
    width: 8.33%;
  }

  .col-md-2 {
    width: 16.66%;
  }

  .col-md-3 {
    width: 25%;
  }

  .col-md-4 {
    width: 33.33%;
  }

  .col-md-5 {
    width: 41.66%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-7 {
    width: 58.33%;
  }

  .col-md-8 {
    width: 66.66%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-10 {
    width: 83.33%;
  }

  .col-md-11 {
    width: 91.66%;
  }

  .col-md-12 {
    width: 100%;
  }

  .d-md-flex {
    display: flex;
  }


}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {


  .col-lg-1 {
    width: 8.33%;
  }

  .col-lg-2 {
    width: 16.66%;
  }

  .col-lg-3 {
    width: 25%;
  }

  .col-lg-4 {
    width: 33.33%;
  }

  .col-lg-5 {
    width: 41.66%;
  }

  .col-lg-6 {
    width: 50%;
  }

  .col-lg-7 {
    width: 58.33%;
  }

  .col-lg-8 {
    width: 66.66%;
  }

  .col-lg-9 {
    width: 75%;
  }

  .col-lg-10 {
    width: 83.33%;
  }

  .col-lg-11 {
    width: 91.66%;
  }

  .col-lg-12 {
    width: 100%;
  }

}