/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* MY STYLE RULES START HERE */
body{
    font-family: "Kurale", serif;
}
.main{
    height: auto;
    background: linear-gradient(to right, #fbeac7, #f4f4f9);
}
.circle {
    display: block;
    width: 70%;
    height: 170px;
    margin-top: 8em;
    margin-left: 3em;
    background-color: rgb(232, 185, 167);
  }
  
  @keyframes squareToCircle {
      0% {
        border-radius: 0 0 0 0;
        background: rgb(247, 188, 167);
        transform: rotate(0deg);
      }
      25% {
        border-radius: 50% 0 0 0;
        background: rgb(229, 168, 148);
        transform: rotate(45deg);
      }
      50% {
        border-radius: 50% 50% 0 0;
        background: rgb(231, 169, 169);
        transform: rotate(90deg);
      }
      75% {
        border-radius: 50% 50% 50% 0;
        background: rgb(243, 179, 179);
        transform: rotate(135deg);
      }
      100% {
        border-radius: 50%;
        background: rgb(240, 194, 179);
        transform: rotate(180deg);
      }
  }
  .circle{
    animation: squareToCircle 2s 1s infinite alternate;
  }
.hero{
    height: 90vh;
    padding-top: 6em;
}
.hero h1{
    font-weight: bold;
    font-size: 2.5em;
    margin-left: .8em;
    margin-top: -2em;
}
p{
    line-height: 1.2em;
}
.hero p{
    margin: .8em 1em 1em 1.6em;
    font-size: 1.3em;
    line-height: 1.2em;
}
@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}
.hero p, h1{
	transform: translatey(0px);
	animation: float 6s ease-in-out infinite;
}
h2{
    font-weight: bold;
    font-size: 2em;
    margin: 0 0 1.3em .2em;
    padding-bottom: .3em;
    width: 50%;
    border-bottom: 5px dashed coral;
}
.aboutme p, .article p, .works p, .contact p{
    font-size: 1.2em;
    margin-bottom: 1.3em;
  }
  @keyframes border {
    0%{
        border-bottom: 2px solid coral;
    }
    50%{
        border-bottom: 3px dashed rgb(228, 75, 20);
    }
    100%{
        border-bottom: 3px dotted rgb(232, 69, 4);
    }

  }
h2{
    animation: border 5s ease-in-out infinite;
}
.aboutme img{
    display: block;
    margin: 0 auto 1em auto;
    background-color: rgb(244, 221, 178);
    transform: rotate(-4deg);
    border: 2px solid rgb(244, 244, 244);
    box-shadow: 5px 5px rgb(193, 187, 187);
    padding: .4em;
  }
.aboutme, .works, .article{
    padding: 3em 1em 2em 1.5em;
}
.works, .contact{
    background-color: rgb(244, 244, 244);
}
ul{
    margin-bottom: 2em;
}
li{
    margin-left: 2em;
    list-style-type: disc;
}
.works a, .article a, .wroks a:visited, .article a{
    font-size: 1.2em;
    color: rgb(126, 41, 10);
    padding-bottom: .4em;
}
.works a:hover, .article a:hover, .works a:active, .article a:active, .works a:focus-visible, .article a:focus-visible{
    color: black;
    text-decoration: none;
    border: 2px solid rgb(126, 41, 10);
    padding: .6em;
    transition: color 0.25s ease-out;
}
details{
    background: rgb(228, 192, 126);
    padding: 1.5rem;
    margin-bottom: 2em;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
summary, details p{
    font-size: 1.2em;
}
details p{
    padding-top: 15px;
}
.contact{
    padding: 3em 1em 2em 1.5em;
}
.contact div{
    text-align: center;
    border: 2px solid rgb(228, 192, 126);
    border-top-left-radius: 2em;
    border-bottom-right-radius: 2em;
    width: 50%;
    margin: 2em auto 0 auto;
    padding: .7em;
}
.contact div a{
    font-size: 1.8em;
    font-weight: bold;
    color: black;
    border-radius: 1em;
    padding: .6em;
}
  .contact, a:visited{
    color: black;
}
.contact a:hover, .contact a:focus, .contact a:active{
    color: rgb(228, 192, 126);
    border-bottom: 2px solid black;
}
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}
details img{
  margin-top: 1em;
  width: 70%;
  height: auto;
}
details details{
  background-color: white;
  width: 90%;
  height: auto;
  margin: 0;
}

  /*RESPONSIVE*/
  @media (min-width: 650px) {
    .hero h1{
      font-size: 3em;
    }
    .aboutme, .works, .article, .contact{
      padding-left: 3em;
      padding-right: 3em;
    }
    .contact div{
      width: 30%;
    }
  }
  @media (min-width: 850px){
    .circle{
      width: 50%;
    }
    .hero h1{
      font-size: 3.5em;
    }
    .aboutme, .works, .article, .contact{
      padding-left: 4em;
      padding-right: 4em;
    }
    .hero p{
      margin-left: 2em;
    }
    .hero p, .aboutme p, .article p, .works p, .contact p{
      font-size: 1.4em;
    }
    h2{
      width: 30%;
    }
    details{
      width: 60%;
    }
  }
  @media (min-width: 950px) {
    .aboutme, .works, .article, .contact{
      padding-left: 5em;
      padding-right: 5em;
    }
    .hero{
      padding-left: 4em;
    }
    .works a, .article a, summary{
      font-size: 1.3em;
    }
  }
  @media (min-width: 1100px) {
    .hero, .aboutme, .works, .article, .contact{
      padding-left: 6em;
      padding-right: 6em;
    }
    .hero p, .aboutme p, .article p, .works p, .contact p{
      font-size: 1.5em;
    }
    .contact div{
      width: 20%;
    }
  }
  @media (min-width: 1230px) {
    .hero, .aboutme, .works, .article, .contact{
      padding-left: 8em;
      padding-right: 8em;
    }
    details{
      width: 40%;
    }
    h2{
      width: 20%;
    }
  }


