*{
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  color: #fff;
}

body{
  background-color: #fff;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

main.container{
  position: relative;
  background-color: #f5f5f7;
  width: 270px;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1), 0px 6px 6px rgba(0, 0, 0, 0.08), 0px 3px 10px rgba(0, 0, 0, 0.05);
 border-radius: 5%; 
}

header {
 position: absolute;
 border-radius: 50%;
 background-color: #023047;
 width: 115px;
 height: 115px;
 display: flex;
 justify-content: center;
 align-items: center;
 margin-top: 30px;
 transform: translateY(0px);
  animation: float 5s ease-in-out infinite;
}

header .foto{
  border-radius: 50%;
  width: 100px;
}

img.pg {
  width: 250px;
  height: 500px;
  object-fit: cover;
  border-top-left-radius: 5%;
  border-top-right-radius: 5%;
  clip-path: polygon(50% 0%, 100% 0, 100% 35%, 0 16%, 0 0); 
  position: absolute;
}

section .conteudo{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 610px;
  margin-bottom: 50px;
}


section .conteudo button, section .conteudo a{
  position: relative;
  width: 150px;
  z-index: 2;
  margin-top: 10px;
  padding: 10px;
  padding-left: 70px;
  padding-right: 70px;
  border-radius: 40px;
  border: none;
  background-image: linear-gradient(to right, #8060D8, #bdaddf);
  font-size: 1.1em;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}


.margimicon{
  margin-left: 10px;
  width: 100%;
  height: 100%;
  font-size: 20px;
}

section .conteudo button:hover, header:hover, .conteudo a:hover{
  background-image: linear-gradient(to right, #9b83df, #c3bbd3);
}

@keyframes float {
  0%{
      transform: translateY(0px);
  }

  50%{
      transform: translateY(-10px);
  }

  100%{
      transform: translateY(0px);
  }
}



footer.divisao{
  background-color: #023047;
  width: 270px;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  clip-path: polygon(0 71%, 100% 90%, 100% 100%, 0 101%);
  border-radius: 5%;
}


.divisao a{
  margin: 20px;
  color: #fff;
  font-style: italic;
  font-size: 0.8rem;
  cursor: pointer;
}


@media(max-width: 400.98px){ 

main.container, footer.divisao, img.pg{
    width: 310px;
}

}

@media(min-width: 401px) and (max-width: 476.98px){ 

  main.container, footer.divisao, img.pg{
      width: 350px;
  }
  
  
  }

  @media(min-width: 477px) and (max-width: 526.98px){ 

    main.container, footer.divisao, img.pg{
        width: 375px;
    }

    header .foto{
      width: 110px;
      height: 110px;
     }
     
     header{
       width: 125px;
       height: 125px;
     }
    
    }

    
  @media(min-width: 527px) and (max-width: 1199.98px){ 

    main.container{
      width: 420px;
      height: 700px;
    }

  footer.divisao, img.pg{
        width: 420px;
    
    }

    header .foto{
      width: 125px;
      height: 125px;
     }
     
     header{
       width: 140px;
       height: 140px;
     }

     section .conteudo{
      height: 750px;
     }

     section .conteudo button, a{
      padding: 15px;
      margin-top: 20px;
      padding-left: 70px;
      padding-right: 70px;
     }

    
    }

    @media(min-width: 1200px){ 


        main.container{
          width: 490px;
          height: 780px;
        }

      footer.divisao, img.pg{
        width: 490px;
        
        }

     
  
      header .foto{
        width: 150px;
        height: 150px;
       }


       
       header{
         width: 165px;
         height: 165px;
         margin-top: 30px;
       }

       section .conteudo{
        height: 730px;
        margin-top:40px;
       }

       section .conteudo button, a{
        padding: 15px;
        margin-top: 20px;
        padding-left: 70px;
        padding-right: 70px;  
       }
      
      }