* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  scrollbar-width: none;
}
::-webkit-scrollbar {
  width: 10px; /* width of the scrollbar */
}
::-webkit-scrollbar-track {
  background: #ffffff; /* color of the track */
}
::-webkit-scrollbar-thumb {
  background: rgb(97, 180, 205);
}

.container {
  width: 96%;
  height: auto;
  background: #fff;
  padding: 50px 14px 40px 14px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

.back-wrapper {
  display: flex;
  padding: 14px 0 10px 0;
}

.back-img {
  width: 31px;
  height: 31px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: url("images/Specialised/BackIcon.png");
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}

.content-wrapper {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.content-links {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Upper Buttons Section */

.btn-wrapper {
  display: inline-flex;
  background-color: #f5f5f5;
  border-radius: 50px;
  gap: 20px;
  box-shadow: -2px 4px 4px 0px rgba(0, 0, 0, 0.29);
}

.btn-wrapper button {
  width: 195px;
  height: 60px;
  flex-shrink: 0;
  color: #000;
  text-align: center;
  font-family: "Azo Sans Med";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 50px;
  border: transparent;
  background: transparent;
  cursor: pointer;
}

.content h2 {
  display: flex;
  height: 76px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  color: #000;
  font-family: "Azo Sans Med";
  font-size: 35px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-left: 25px;
}

/* Information About Resources */

.info {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
  background-image: url(images/Resources/BSBI-ResourcesBackground.png);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.29);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 54px 37px;
}

.info div {
  display: flex;
}

.info div p {
  flex-shrink: 0;
  color: #fff;
  font-family: "Azo Sans Med";
  font-size: 35px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.info > div > h3 {
  width: 95%;
  flex-shrink: 0;
  color: #fff;
  font-family: "Azo Sans Med";
  font-size: 35px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  flex-direction: column;
  margin-left: 25px;
  gap: 10px;
  padding-right: 10%;
}

.info div h3 span {
  width: 100%;
  flex-shrink: 0;
  color: #fff;
  font-family: "Azo Sans Reg";
  margin-top: 13px;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-right: 10%;
}

/* Links for Registration */

.external-links {
  display: flex;
  flex-direction: column;
  padding: 43px 60px 0 70px;
}

.external-links div {
  display: flex;
  justify-items: center;
  gap: 25px;
}

.external-links div h4 {
  color: #000;
  font-family: "Azo Sans Med";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.external-links div a {
  text-decoration: underline;
}

.external-links div a,
.external-links div p {
  color: #000;
  font-family: "Azo Sans Reg";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.line {
  width: 100%;
  height: 2px;
  background-color: #4EB8D4;
  background-size: cover;
  margin: 22px 0;
}

.mg-tp {
  margin-top: 93px;
}

.hide {
  display: none;
}

.active {
  display: block;
}

.btn-wrapper .background {
  background-image: url(images/Resources/BSBI-ResourcesBackground.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

/* Media Queries */

@media (max-width: 1330px) {
  .btn-wrapper button {
    width: 180px;
    height: 68px;
    font-size: 22px;
  }

  .content h2,
  .info > div > h3,
  .info div p {
    font-size: 32px;
  }

  .external-links div h4 {
    font-size: 22px;
  }
}

@media (max-width: 1000px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .btn-wrapper button {
    width: 157px;
    height: 61px;
    font-size: 20px;
  }

  .content h2,
  .info > div > h3,
  .info div p {
    font-size: 26px;
  }

  .content h2 {
    margin-left: 10px;
  }

  .info > div > h3 {
    margin-left: 20px;
  }

  .info div h3 span {
    font-size: 16px;
  }

  .external-links {
    padding-left: 65px;
  }
  .external-links div a {
    word-break: break-all;
  }
  .external-links div a,
  .external-links div p {
    font-size: 16px;
  }

  .external-links div {
    display: flex;
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }

  .external-links {
    padding-left: 9px;
    padding-right: 9px;
  }

  .mg-tp {
    margin-top: 55px;
  }
}

@media (max-width: 700px) {
  .btn-wrapper button {
    width: 140px;
    height: 57px;
    font-size: 17px;
  }

  .info {
    padding: 30px 25px;
  }

  .content h2,
  .info > div > h3,
  .info div p {
    font-size: 22px;
  }

  .info div h3 span {
    font-size: 15px;
  }

  .external-links div h4 {
    font-size: 18px;
  }

  .btn-wrapper {
    flex-direction: column;
    border-radius: 20px;
  }
}

@media (max-width: 500px) {
  .info > div > h3,
  .info div p {
    font-size: 20px;
  }

  .info div h3 span {
    font-size: 14px;
  }

  .info {
    padding: 25px 15px;
  }
}
