/* universal style */
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  background: #c7cdd2;
  font-family: "Raleway", sans-serif;
}

/* header style */
header {
  padding: 0px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 10px solid #72818e;
  height: 190px;
  background-color: white;
}

header ul {
  list-style-type: none;
}

header .left {
  display: flex;
  align-items: center;
}

header .left img {
  width: 150px;
  height: 150px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

header .left .text {
  margin-left: 30px;
}

header .left .text p {
  margin: 13px 0px;
  color: rgba(0, 0, 0, 0.6);
}

header .left .text ul li {
  margin-right: 10px;
}

header .left .text ul li a {
  color: white;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

header .left .text ul li:first-child a {
  background-color: #ff0000;
}
header .left .text ul li:nth-child(2) a {
  background-color: #1da1f2;
}
header .left .text ul li:nth-child(3) a {
  background-color: #fd1d1d;
}
header .left .text ul li:nth-child(4) a {
  background-color: #4267b2;
}
header .left .text ul li:nth-child(5) a {
  background-color: #0077b5;
}
header .left .text ul li:nth-child(6) a {
  background-color: #000;
}

header .left ul {
  display: flex;
}

header .right ul {
  display: flex;
}

header .right ul li {
  margin-left: 50px;
}

header .right ul li a {
  color: rgba(0, 0, 0, 0.8);
  transition: 0.3s ease-in-out;
}

header .right ul li a:hover {
  color: rgb(240, 139, 156);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #72818e;
  padding: 0px 80px;
  padding-left: 100px;
  height: 50px;
  /* position: sticky;
  top: 0px; */
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style-type: none;
}

nav .left ul li {
  margin-right: 50px;
}

nav .right ul li {
  margin-left: 50px;
}

nav ul a {
  color: white;
  transition: 0.3s ease-in-out;
}

nav ul a:hover {
  color: pink;
}

/* section style */

.section {
  padding: 50px 80px;
  display: flex;
}

.section img {
  width: 100px;
  height: 100px;
}

.section iframe {
  width: 100%;
  padding: 30px 0px;
}

.section main {
  margin-right: 50px;
}

.section main article {
  background-color: white;
  padding: 50px;
  font-size: 18px;
  line-height: 25px;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 50px;
  border-top: 10px solid #e3e0dd;
  border-radius: 3px;
}

.section main article h1 {
  font-size: 40px;
  color: black;
  line-height: 50px;
}

.section main article small {
  margin: 20px 0px;
  display: block;
}

.section main article a {
  color: rgb(142, 142, 228);
}

.section aside ul {
  list-style-type: none;
  border-top: 10px solid pink;
  border-radius: 3px;
  line-height: 40px;
  background-color: white;
  padding: 30px;
  margin-bottom: 50px;
}
.section aside ul li {
  border-bottom: 1px solid whitesmoke;
}
.section aside form {
  background-color: white;
  border-top: 10px solid pink;
  margin-bottom: 50px;
  padding: 30px;
  border-radius: 3px;
}

.section aside form .search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0px 10px;
}
.section aside form .search svg {
  font-size: 30px;
  color: rgba(0, 0, 0, 0.3);
}
.section aside form .search input {
  border: none;
  font-size: 16px;
}

.section aside form p {
  margin-bottom: 20px;
}
.section aside a {
  color: rgba(0, 0, 0, 0.8);
}
.section aside form input {
  width: 100%;
  display: block;
  padding: 15px;
  outline: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  font-size: 16px;
}
.section aside form input:last-child {
  margin-bottom: 0px;
}
.section aside form .btn {
  background-color: rgb(212, 91, 91);
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
  font-size: 16px;
}
.section aside form .btn:hover {
  background-color: white;
  color: black;
}
.section aside .form {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.section aside div {
  background-color: white;
  border-top: 10px solid pink;
  margin-bottom: 50px;
  border-radius: 3px;
  padding: 30px;
}

.section aside div span {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-gap: 5px;
  margin-top: 20px;
}

.section aside div span img {
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
}

/* footer style */

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background-color: white;
}

@media screen and (max-width: 960px) {
  header {
    padding: 0px 10px;
  }
  nav {
    padding: 0px 10px;
  }
  .section {
    padding: 10px 10px;
  }
  .section main {
    margin-right: 10px;
  }
  .section main article {
    padding: 20px;
    margin-bottom: 10px;
  }
  .section main article p {
    text-align: justify;
  }
  .section aside ul {
    padding: 20px;
  }
  .section aside ul,
  .section aside form,
  .section aside div {
    margin-bottom: 10px;
    padding: 20px;
  }
}

@media screen and (max-width: 720px) {
  header {
    padding: 10px 10px;
    padding-top: 20px;
    display: block;
    text-align: center;
    border-top: 10px solid #72818e;
    height: 380px;
    background-color: white;
  }

  header .left {
    display: block;
    text-align: center;
  }
  header .left .text {
    margin-left: 0px;
  }

  header .left .text ul {
    justify-content: center;
  }

  header .left .text ul li a {
    color: white;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  header .right ul {
    margin-top: 20px;
    justify-content: center;
  }
  header .right ul li {
    margin-left: 0px;
  }
  header .right ul li:last-child {
    margin-left: 20px;
  }
  header .right ul li a {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 5px 8px;
    transition: 0.5s ease-in-out;
  }

  nav {
    display: block;
    height: 260px;
  }
  nav ul {
    display: block;
    text-align: center;
  }
  nav .section {
    display: block;
  }
  nav .left ul li {
    margin-right: 0px;
    display: flex;
    margin-bottom: 5px;
  }

  nav .right ul li {
    margin-left: 0px;
    display: flex;
    margin-bottom: 5px;
  }

  nav ul a {
    color: white;
    transition: 0.3s ease-in-out;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    flex: 1;
  }

  .section {
    padding: 10px 10px;
    display: block;
  }

  .section main {
    margin-right: 0px;
  }

  .section main article h1 {
    font-size: 30px;
    color: black;
    line-height: 30px;
  }

  .section iframe {
    padding: 20px 0px;
  }
}

@media screen and (max-width: 420px) {
  header {
    padding: 10px 10px;
    padding-top: 20px;
    display: block;
    text-align: center;
    border-top: 10px solid #72818e;
    height: 390px;
    background-color: white;
  }
  nav {
    display: block;
    height: 265px;
  }
  .section {
    padding: 10px 10px;
    margin-top: 10px;
    display: block;
  }
}

@media screen and (max-width: 345px) {
  header {
    padding: 10px 10px;
    padding-top: 20px;
    display: block;
    text-align: center;
    border-top: 10px solid #72818e;
    height: 400px;
    background-color: white;
  }
}
