:root {
     --primary-color: #256b4e;
    --secondary-color: #FFDE59;
    --accent1-color: #f8f9fc;
    --accent2-color: hsl(291, 30%, 5%);
    --heading-font: "Montserrat", sans-serif;
    --body-font: "Fira Sans Condensed", sans-serif;
}


 header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center; 
    background-color: var(--primary-color);
    color: var(--accent2-color);
    width: 100%;
    max-width: 840px;
    margin: 0 auto;   
   
} 

.logo {
    margin-left: 30px;    
}

.rcet_logo {
    width: 150px;
    height: 150px;
    margin-left: 10px;

}


 
nav {
    justify-self: end;
    display: flex;
    gap: 5px;
    font-family: var(--body-font);
    padding: 10px 30px;
    margin-right: 0;
}

nav a {
    color: var(--accent1-color);
    text-decoration: none;
    font-weight: normal;
    padding: 12px 24px;
    border: 1px solid var(--accent1-color);
    border-radius: 6px;

}

nav a:hover {
    color: var(--secondary-color);
    font-weight: 700;
}

main {
    background-color: var(--accent1-color);  
    width: 100%; 
    max-width: 840px;   
    box-sizing: border-box;  
    
}

footer {
    border: 2px solid var(--primary-color); 
    font-family: var(--body-font);   
}



.title {
  width: 840px;
  margin:  auto;
  font-family: var(--heading-font);
  color: var(--primary-color);
  text-align: center;
}

.title h1 {
    padding-top: 20px;
  font-size: 2rem;
  margin: auto; /* this is the margin for top */
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-weight: 900;
}

.promise {
    padding-top: 20px;
    text-align: justify;
    margin: 60px;
    font-size: 1.5rem;
    color: black;
    background: yellow;
}

.promise strong {
    font-size: 1.8rem;
}


.founder {
  display: flex;
  flex-direction: row;
  align-items: center; /* optional: centers images and heading */
  gap: 1rem; /* optional: space between items */
  padding-bottom: 30px;
}

.images {
    display: flex;
    gap: 1rem;
    margin-left: 60px;
}
.image1 img {
    display: flex;
}

.image2 img {
    width: 350px;
    height: auto;
    margin-top: 100px;

    
}


.company-information {
    font-family: var(--body-font);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 840px;
    margin: 0 auto;
    
}

.company-information p {
    font-family: var(--body-font);
    text-align: center;
    margin:  auto;
    color: var(--primary-color);
}

.company-information h2 {
    font-family: var(--heading-font);
    font-weight: 900;
    font-size: 1.5rem;
    
    color: var(--primary-color);
    text-align: left;
    margin-top: 30px;
}

.company-information iframe {
    display: flex;
    width: 300px;
    height: auto;
    border: 0;
    justify-content: center;
    align-items: center;
}




.contact-form {
    padding: 1rem;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color); 
    border-radius: 2rem;
    font-family: var(--body-font);
      
    box-sizing: border-box;
}



input, select, textarea {
    font-family: var(--body-font);
    border: 2px solid var(--primary-color);  
    padding: 0.5rem;
    width: 100%; 
    margin: 10px 0;
    box-sizing: border-box;  
}

  
.why-are-you-contacting-us input[type="radio"] {
    font-family: var(--body-font);
    border: 2px solid var(--primary-color);  
    margin-right: 5px;
}

 
input:focus, select:focus, textarea:focus {
    font-family: var(--body-font);
    border-color: var(--primary-color);  
    outline: none;  
}

fieldset {
    display: block;
    place-items: center;       
    width: 100%;                
    max-width: 800px;           
    margin: 0 auto;            
    padding: 20px;              
    box-sizing: border-box;    
    font-family: var(--body-font);
    border: 2px solid var(--primary-color);
    border-radius: 1rem;
}




input, select, textarea {
  padding: 0.5rem;
  font-family: var(--body-font);
  align-content: center;
  align-self: center;
  width: 700px;   /* this is the width of the form */
   
  text-align: center;  
  
}

 
.contact-title {
  padding-top: 40px;
  font-family: var(--heading-font);
  color: var(--primary-color);
  text-align: center;  
  margin-left: 190px;   
  max-width: 500px;   
}

.contact-us {
font-family: var(--heading-font);
margin-left: 20px;
  display: flex;
  
  
  flex-direction: column;  
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
  font-size: 1.5rem;
  font-weight: bold;
}

.contact-us label {
    font-family: var(--body-font);
  margin-left: 24px;
  font-size: 1.5rem;
  color: var(--primary-color);
  
}

    

.why-are-you-contacting-us > label:first-of-type {
    font-family: var(--body-font);
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 40px;
    color: var(--primary-color);
}

.why-are-you-contacting-us label {
    font-family: var(--body-font);
    font-size: 1.3rem;
    margin-left: 50px;
    color: var(--primary-color);
}

.why-are-you-contacting-us input[type="radio"] {
    position: relative;
    top: 30px;  
    left: -100px;
}

.leave-message {
    font-family: var(--heading-font);
    padding-top: 40px;
    text-align: center;
    font-size: 1.8rem;
    display: flex;
    color: var(--primary-color);
    font-weight: bold;
    flex-direction: column;   
    justify-content: center;
    align-items: center;   
}
.subscription {
    font-family: var(--heading-font);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;   
    font-size: 1.5rem;
    color: var(--primary-color);
    max-width: 100%;   
    width: 100%;  
    box-sizing: border-box;   
    flex-wrap: wrap;  
}

.subscription input {
    font-family: var(--body-font);
    margin-right: 10px;   
    max-width: 20px;  
}

.subscription label {
    font-family: var(--body-font);
    max-width: 100%;   
    white-space: normal;   
}

button {
    display: flex;
    font-family: var(--body-font);
    margin: 1rem;
    background-color: var(--secondary-color);
    justify-content: center;
    align-items: center;
    width: 200px;
    border-radius: .5rem;
    padding: .95rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.button {
    font-family: var(--body-font);
    display: flex;               
    justify-content: center;     
    align-items: center;         
}


.button:hover {
     transform: scale(1.1);
    filter: brightness(1.5); 
}



 

body {
    font-family: var(--body-font);
    color: var(--accent1-color);
}

header, main, footer {
    max-width: 840px;
    
}



nav, p, section, article {
    margin: 16px;
    padding: 8px;
}

.socialmedia a {
    text-decoration: none;
}




h1 { 
    margin-top: 10px;
    font-family: var(--heading-font);
    width: 840px;
    max-width: 100%;  
    text-align: center;
    color: var(--primary-color)   
}




 

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px; 
    font-family: var(--body-font);
    border: 1px solid var(--secondary-color);
    background-color: var(--primary-color);
}

footer .socialmedia img {
    width: 24px;
    height: 24px;
}

.logo {
    margin-left: 30px;    
}
 
nav {
    justify-self: end;
    display: flex;
    gap: 5px;
    padding: 10px 30px;
    margin-right: 20px;
}

nav a {
    color: var(--accent1-color);
    text-decoration: none;
    font-weight: normal;
    padding: 12px 24px;
    border: 1px solid var(--accent1-color);
    border-radius: 6px;

}

nav a:hover {
    color: var(--accent1-color);
    font-weight: 700;
    transform: scale(1.1);
    filter: brightness(1.5);  
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--accent1-color);
}

header, main, footer {
    width: 840px;
    margin: 0 auto;
}


nav, p, section, article {
    margin: 16px;
    padding: 8px;
}

.socialmedia a {
    text-decoration: none;
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px; 
    border: 1px solid var(--secondary-color);
    background-color: var(--primary-color);
}
footer p{
    margin: 0;
    text-align: center;
    flex: 1;
   
}

footer .socialmedia img {
    width: 24px;
    height: 24px;
}

.socialmedia a {
    display: inline-block;
    transition: 0.3s ease, filter 0.3s ease;
}

.socialmedia a:hover {
    transform: scale(1.1);
    filter: brightness(1.5);    
}

header, footer {
    border: 0px solid var(--secondary-color);
}

footer a {
    font-family: var(--body-font);
    display: inline-block;
    margin-right: 20px;
    color: var(--accent1-color);
    text-decoration: none;
}





