/*
FONTS
font-family: 'Raleway', sans-serif;
font-family: 'Niconne', cursive;
*/
body{
    font-family: 'Raleway', sans-serif;
}
.wrapper{
    max-width: 1400px;
    margin: 0 auto;
}
header {
  position: relative;
  height: 200px;
  background-image: linear-gradient(#ff512f, #dd2476);
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
}

h1 {
  margin: 0;
  padding: 30px 0;
  font-size: 3.5em;
  font-weight: bold;
  font-family:'Raleway', sans-serif;
  text-align: center;
  letter-spacing: .1em;
  text-shadow: 4px 2px #dd2476;
}

header h1 {
  color: white;
}

.title{
    font-size: .3em;
    font-family: 'Raleway', sans-serif;
    letter-spacing: .5em;
}
h2 {
    text-align: center;
    font-size: 2em;
    color: #dd2476;
    border-bottom: 1px solid #ff512f;
    width: 30%;
    margin: 50px auto;
}
.container {
  position: relative;
  width: 50%;
  margin: 20px 40px;
  padding-bottom: 60px;
  flex: 1 40%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 20px;
  -webkit-box-shadow: 1px 1px 10px 2px rgba(199,199,199,1);
  -moz-box-shadow: 1px 1px 10px 2px rgba(199,199,199,1);
  box-shadow: 1px 1px 10px 2px rgba(199,199,199,1);
}
.image:hover{
    box-shadow: none;
}

.overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-image: linear-gradient(#dd2476, #ff512f);
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
  opacity: 0.9;
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .9s ease;
}

.container:hover .overlay {
  bottom: 0;
  height: 100%;
}

.text {
  white-space: wrap;
  width: 94%;
  color: white;
  font-size: .9em;
  position: absolute;
  overflow: hidden;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

h4{
    font-weight: bold;
    text-align: center;
    font-size: 1.3em;
}
.mainContainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 0px;
}
.topContainer{
    padding-top: 60px;
}
.last{
    justify-content: center;
}
footer{
    height: 200px;
    border-top: 3px solid #ff512f;
    margin-top:50px;
    }
.footer{
    color: #dd2476;
    display: flex;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    padding-top: 5px;
}
.border{
    height: 15px;
    background-image: radial-gradient(#dd2476, #ff512f);
}
.foot{
    flex: 1;
}
.contact{
    padding-right: 20px;
}
.description{
    flex: 3;
    align-self: center;
}
i {
    padding-right: 10px;
}
.footer a{
    text-decoration: none;
    color: #dd2476;
}
.name{
    font-weight: bold;
    font-size: 1.2em;
}
p a{
    color: white;
    font-weight: bold;
    text-decoration: none;
    }

.links{
    text-align: center;
}
.about{
    color: #dd2476;
    font-size: 1.3em;
    display: flex;
    width: 90%;
    margin: 40px auto 0;
}
.profile{
    flex: 1;
}
.aboutContent{
    align-self: center;
    flex: 5;
    padding-right: 20px;
}

.profilePic {
    border-radius: 50%;
    border: 2px solid #dd2476;
    align-self: center;
    height: 100%;
}
@media (max-width: 600px){
    .mainContainer{
        flex-direction: column;
        margin: 0 auto;
        width: 90%;
    }
    .text{
        width: 80%;
    }
    .container:hover .overlay {
      height: 100%;
}
   
    .container{
        margin: 0 auto;
        width: 100%;
    }
    h1{
        font-size: 2em;
    }
    header{
        height: 180px;
    }
    h2{
        font-size: 1.3em;
    }
    h4{
        padding: 0;
        margin-bottom: 0;
    }
    .footer{
        flex-direction: column;
        margin-top: 20px;
    }
    .about{
        flex-direction: column;
        width: 90%;
        flex-wrap: wrap;
        margin: 20px auto 10px auto;

    }
   .profilePic{
        order: 2;
        width: 40%;
    }
    .aboutContent{
        padding-right: 0;
    }
    .topContainer{
        padding-top: 0;
    }
}
@media (max-width: 1000px){
    .footer{
        width: 80%;
    }
     p{
        font-size: .8em;
    }
}
