@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root{
  --primaryFont: "Poppins", sans-serif;
  --secondaryFont: "Open Sans", sans-serif;

  --purple700: hsl(257, 40%, 49%);
  --magenta400: hsl(300, 69%, 71%);
  --white: hsl(0, 0%, 100%);
  --gray: hsl(0, 11%, 89%);
  --shadow: hsla(0, 4%, 14%, 0.63);
}

*, *::after, *::before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body{
  min-height:100vh;
}
img{
  max-width: 100%;
  height: auto;
}
body{
  background-image: url("images/bg-desktop.svg") ;
  background-color: var(--purple700);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 85%;
  max-height: 100%;
  padding: 0 2rem;
}
header{
  width: 100%;
  margin-bottom: 6%;
}
.header_img{
  width: 12rem;
}
main.content{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.left_image{
  flex-basis: 60%;
}
.right_text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
  flex-basis: 40%;
  gap: 1.25rem;
}
.right_text h1{
  color: var(--white);
  font-family: var(--primaryFont);
  font-weight: 600;
}
.right_text p{
  color: var(--gray);
  font-family: var(--secondaryFont);
}
.right_text a{
  background-color: var(--white);
  font-family: var(--secondaryFont);
  color: var(--purple700);
  padding: .70rem;
  border-radius: 1.4rem;
  width: 40%;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 .125rem .5rem var(--shadow);  
}
.right_text a:hover{
  background-color: var(--magenta400);
  color: var(--white);
}  
footer{
  width: 100%;
  text-align: right;
}
footer a{
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width:2rem;
  height: 2rem;
  border: 0.06rem solid var(--gray); 
  border-radius: 50%;
  margin-right: .625rem;
  color: var(--gray);
  text-decoration: none;  
} 
footer a:hover{
  color: var(--magenta400);
  border: 0.06rem solid var(--magenta400); 
}

@media screen and (max-width:38.75rem){
body{
  background-image: url("images/bg-mobile.svg");
}
.container{
  width: 100%; 
}
.header_img{
  width: 10rem;
}
main.content{
  flex-direction: column;
  gap: .5rem;
}
.left_image{
  flex-basis: auto;
}
.right_text{
  flex-direction: column;
  text-align: center;
  flex-basis: auto;
  gap: 1rem;
  padding: 0;
}
.right_text h1{
  font-size: 1.7rem;
  line-height: 2.2rem;
}
.right_text a{
  width: 60%;
  padding: .5rem;
  text-align: center;
  margin: 0 auto 10%;
}
footer{
  text-align: center;
}
}

