body,
html {
  margin: 0;
  height: 100%;
  overflow: hidden;
  scroll-behavior: "smooth";
}

body {
  color: #ffffff;
  font-family: monospace, sans-serif;
  scroll-behavior: "smooth";
  overflow-x: hidden;
}

h2 {
  margin: 0;
  font-size: 4rem;
}

p {
  margin-bottom: 0;
}

main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.banner {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0, 0,0,0.7)), url(./assets/bg.jpg);
    background-size: cover;
    background-position: center;
}

section {
  width: 100%;
  height: 100%;
  text-align: center;
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 20px;
}

nav{ 
  position: absolute;
  top: 15px; 
  left: 0;
  right: 0; 
  height: 8vh; 
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  width: 75%;
  border-radius: 10px;
  z-index: 10;
  backdrop-filter: blur(25px);
}

.grid-center{
  display: grid;
  place-items: center;
  height: 100%;
}

.links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

a{
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

a:hover{
  color: #f1c40f;
}

.heading{ 
  font-size: 1.5rem;
  font-weight: 600;
}

.w-half{
width: 30%;
}

.btn {
  padding: 5px 25px; 
  border-radius: 10px; 
  font-size: large;
  background: rgba(255,255,255, 0.2);
  color: white;
  cursor: pointer; 
  transition: all 0.3s ease;
  display: flex; 
  align-items: center;
  border: none;
  gap: 5px;
}

.relative{ 
position: relative;}

.language{
  position: absolute;
  bottom: 50px;
}

.btn:hover{
  background-color: #f1f1ee;
  color: black;
  scale: 1.1;
}

.items-container{ 
  display: flex;
  justify-content: space-between;
  width: 75%;
  margin: 0 auto;
}

.ag-courses_item {
  width: 400px;
  margin: 0 15px 30px;
  overflow: hidden;
  border-radius: 28px;
}

.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #121212;

  overflow: hidden;

  position: relative;
}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}

.ag-courses-item_title {
  min-height: 40px;
  overflow: hidden;
  font-weight: bold;
  font-size: 30px;
  color: #FFF;

  z-index: 2;
  position: relative;
}


.ag-courses-item_date-box {
  font-size: 18px;
  color: #FFF;

  z-index: 2;
  position: relative;
}


.ag-courses-item_date {
  font-weight: bold;
  color: #f9b234;

  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}


.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #f9b234;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}