/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/poppins-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #fffaf3;
  color: #333;
  line-height: 1.6;
}

header {
  background-color: #f4a261;
  padding: 1em 0;
}

nav ul {
  list-style: none;
  display: inline-block;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 1em;
}

nav a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  background-color: #2a9d8f;
  transform: scale(1.05);
}

.hero {
  background: url('https://www.eyeonasia.gov.sg/images/asean-countries/Malaysia%20snapshot%20cover%20iso.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 150px 20px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3em;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

.container {
  width: 85%;
  margin: 2em auto;
  max-width: 1000px;
}

h2 {
  font-family: 'Poppins', sans-serif;
  color: #264653;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

.cta-buttons {
  margin-top: 2em;
  display: flex;
  gap: 1em;
  justify-content: center;
}

button {
  background-color: #2a9d8f;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1f776d;
}

footer {
  background-color: #264653;
  color: white;
  text-align: center;
  padding: 1em;
  margin-top: 3em;
}

footer p {
  margin: 0.3em 0;
}

@keyframes logo {
	from {
		 transform: rotate(0) scale(.5);
		 left: 120%;


	}


	50% {
		transform: rotate(-720deg) scale(.5);
	}
	
	to {
		transform: rotate(-720deg) scale(1);
		

	}
}

.logo, h1 {
	animation: logo 1s;
}