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

.course-contain {
  width: 100%;
  height: auto;
}

i{
  color: orangered;
}

.course-cover {
  position: relative;
  width: 100%;
  height:600px;
  margin-top: 0.2%;
  overflow: hidden;
}

.course-cover img {
  width: 100%;
  height: 100%;
}

.course-cover h1 {
  position: absolute;
  top: 20%;
  left: 32%;
  font-size: 50px;
  color: rgba(216, 187, 21, 0.791);
  z-index: 1;
}

.course-contain .head {
  width: 60%;
  height: 100px;
  text-align: center;
  padding: 1.5%;
  font-size: 48px;
  color: rgb(3, 3, 67);
  font-weight: bold;
  margin: 1% auto;
  box-shadow:2px 4px 6px 0px gray;
  text-shadow:0px 2px 0px gray;
}

.soft-cors {
  width: 100%;
  height: 300px;
  display: flex;
}

.soft-cors .cors {
  width: 20%;
  height: 60%;
  margin: auto;
  text-align: center;
  padding: 2% 1%;
  box-shadow: 2px 4px 6px 0px gray;
}

h1 {
  color: darkblue;
  margin-top:3%;
}

.allbutt {
  width: 40%;
  height: 35px;
  margin-top: 5%;
  border-radius: 8px;
  border: 1px solid  rgb(236, 103, 54);
  background-color: rgb(236, 103, 54);
}

.allbutt a {
  text-decoration: none;
  color: white;
  font-size: 15px;
}

.design-cors {
  width: 100%;
  height: 300px;
  display: flex;
}

.design-cors .dcors {
    width:23%;
    height: 60%;
    margin: auto;
    text-align: center;
    padding: 2% 1%;
    position: relative;
    box-shadow: 2px 4px 6px 0px gray;
    overflow: hidden;
}

.tooltip {
    color:white;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.8);
    position: absolute;
    top:0;
    left:-100%;
    padding:10px;
    box-sizing: border-box;
    transition: all 0.5s;
}

.dcors:hover .tooltip {
    display: block;
    top:0%;
    left:0%;
}

.tech-cors {
    width: 100%;
    height:500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tech-cors .tcors {
    width: 30%;
    height:35%;
    margin: auto auto;
    text-align: center;
    padding: 2% 1%;
    box-shadow: 2px 4px 6px 0px gray;
}

@media (max-width: 768px) { 

  .course-cover {
    position: relative;
    width: 100%;
    height:300px;
    margin-top: 0.2%;
    overflow: hidden;
  }
  
  .course-cover img {
    width: 100%;
    height: 100%;
  }
  
  .course-cover h1 {
    visibility: hidden;
    height:0;
  }

  .soft-cors, .design-cors, .tech-cors {
    width:90%;
    height:auto;
    text-wrap: wrap;
    display: block;
  }

  .course-cover h1{
    text-align: center;
  }
  .course-contain .head{
    width:90%;
    height:auto;
    text-wrap: wrap;
    font-size:25px;
    align-content: center;
  }

  .soft-cors .cors, .design-cors .dcors, .tech-cors .tcors {
    width: 100%; 
    margin:5% 5%;
  }
}
  