/* 1. BODY */
body {
    font-family: 'Segoe UI', sans-serif;
    padding-bottom: 50px;
    background: linear-gradient(to right, #5A189A, #1E3A8A);
}



* {
    font-family: sans-serif;
}

a {
    text-decoration: none;
    color: #7ec8e3;  
    padding: 3px;
    border-radius: 5px;
}

/* 2. NAVBAR */
.navbar {
    display: flex;
    gap: 20px;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 20px;
    color: white;
    align-items: center;
}

.navbar > a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.navbar > .title {
    font-weight: bold;
    font-size: larger;
}

.navbar > .logo {
    padding-left: 10px;
    width: 80px;       
    height: auto;      
    vertical-align: middle; 
    margin-right: 10px; 
}

/* 3. MAIN */

.main {
  display: flex;
  gap: 3%;
  padding-left: 2%;
}

/*
	•	navbar → <div> (navbar container)
	•	logo → <img> inside navbar
	•	title → <span> inside navbar
	•	subtitle → <span> inside navbar
	•	about-link → <a> links (used in navbar & connections)
	•	a-plus → <a> links (used in navbar & connections)

	•	main → <div> main content container

	•	News → <div> news section container
	•	NewsBlock → <div> wrapper for news items
	•	News1 → <div> first news item
	•	news2 → <div> second news item
	•	text3 → <div> news links section

	•	connections → <div> connections container
	•	C2 → <div> wrapper for connection links

*/

/* border-radius: 5px; */
/* box-shadow: 5px 5px 10px rgba(0,0,0,0.3); */

/*
.example:hover {
    background-color: #0573e2; 
    color: #fff;
} */



.news {
  color: white;
  background-color: rgba(0,0,0,0.4);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);

  padding: 10px;
  border-radius: 10px;
  width: 40%;
  padding-bottom: 15px;
}

.newsT {
  text-align: center;
}

/* End of News main */

/* main for news */
.NewsBlock {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}
/* news box and shit */

.News1 {
  color: white;

  background-color: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(10px);                
  border-radius: 12px;                        
  padding: 15px;                               
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);                             
}

.News2 {
  color: white;

  background-color: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(10px);                
  border-radius: 12px;                        
  padding: 15px;                               
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);                              
}

/* Button ui */

.text2 {
  display: flex;
  gap: 2%;
}

.text3 {
  background-color: rgba(255, 255, 255, 0.2); 
  padding: 1%;
  border-radius: 6px;
}

.text4 {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1%;
  border-radius: 6px;
}

/* end of button ui */

/* connections */

.connections {
  background-color: rgba(0,0,0,0.4);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);

  padding: 10px;
  border-radius: 10px;
  width: 40%;
  padding-bottom: 15px;
}

.connections h1 {
  text-align: center;
  color: whitesmoke;
}

.c2 a {
    font-size: 27px;
    display: block;
    color: #a7d3e3;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}



/* ai genorated footer logic */

.footer {
  display: flex;
  position: fixed;       
  bottom: 0;              
  left: 0;

  /* style (end of gpt code) */

  width: 100%;            
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
  color: #fff;
  font-weight: bold;  
  align-items: center;       
}

.footer img {
  width: 80px; 
}