@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@300;400&family=Monda:wght@400;700&display=swap');
@import url('http://fonts.cdnfonts.com/css/akrobat');

*{
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}

html{
  font-size: 55%;
}

body{
    font-family: 'Akrobat', sans-serif;
    overflow-x: hidden;
    scroll-behavior:smooth;
}

.imgview {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    justify-content: center;
    display: flex;
    align-items: center;
    visibility:hidden;
}

.showimg {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    justify-content: center;
    display: flex;
    align-items: center;
    visibility:visible;
}

.holdlargimg{
    background-color:white;
    width:80%;
    
    min-height:50vh;
}

header {
    min-height: 10vh;
}

nav{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    padding: 3rem;
    width: 100%;
    overflow-x:hidden;
   

}

.logo{
    font-size: 3rem;
    letter-spacing: 0.2rem;
    color: #A66CFF;
    cursor:pointer;
}

ul {
    display: flex;
    flex-wrap: wrap;
    
}

    ul li {
        list-style: none;
        font-size: 2.5rem;
        padding: 0 9rem;
        letter-spacing: 0.2rem;
       
    }

        ul li a {
            text-decoration: none;
            color: #000;
            padding-bottom: 1rem;
            text-align: center;
        }

ul li a:hover{
    border-bottom: 0.3rem solid #A66CFF;
}


.socials{
    padding-right:5rem;
}
.socials a {
    font-size: 2rem;
    padding: 0 2rem;
    color: #A66CFF;
    align-items: center;
}
    .socials a:hover {
       
        color: #ff6a00;
    }

    .home {
        min-height: 70vh;
        background: #E1E5EA;
        padding: 15rem;
        display: grid;
        grid-gap: 3rem;
        grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    }

.info{
    padding: 3rem;
   
}

.info h3{
    font-size: 2rem;
    letter-spacing: 0.2rem;
    color: #A66CFF;
    padding-bottom: 3rem;
}

.info h1{
    font-size: 5rem;
    letter-spacing: 0.2rem;
}

.info h1 span{
    color: #A66CFF;
}

.info .info-text{
    font-size: 2rem;
    line-height: 3rem;
    letter-spacing: .1rem;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
}
.btn {
    padding: 1rem 2rem;
    background-color: #A66CFF;
    font-size: 2.5rem;
    text-decoration: none;
    color: #fff;
    letter-spacing: .2rem;
    border-radius: 3rem;
    box-shadow: 1px 1px 5px 0.5px rgba(0, 0, 0, 0.2)
}

.info .btn{
    padding: 1rem  2rem;
    background-color: #A66CFF;
    font-size: 2.5rem;
    text-decoration: none;
    color: #fff;
    letter-spacing: .2rem;
    border-radius: 3rem;
    box-shadow:1px 1px 5px 0.5px rgba(0, 0, 0, 0.2)
}
.btn:hover {
    background-color:#ff6a00;
}
.picture img{
    width: 50rem;
    border-radius:100%;
    border:1px solid rgba(0, 0, 0, 0.2);
    cursor:pointer;
}


/* ABOUT ME */
.about{
   /* display: flex;*/
   padding:10em;
    display:grid;
    grid-gap:5em;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}

.about h2{
    font-size: 4rem;
    letter-spacing: .3rem;
    font-family: 'Akrobat Light';
}

.about-me, .skills p{
    font-size: 2.7rem;
    line-height: 1.5;
   
}

.skills progress[value]{
   
    width: 100%;
    height: 3rem;
    accent-color: #A66CFF;
  
     
    
}
.skills div{
    margin-bottom:15px;
}
/* 
.skills progress::-webkit-progress-bar{
    color: #A66CFF;
} */
/* PROJECTS */
.project {
    padding: 5rem;
    text-align: center;
}

.project h2{
    padding:5rem;
    font-size: 4rem;
    letter-spacing: .3rem;
    font-family: 'Century Gothic';
}

.project-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    grid-gap: 10rem;
  
}

.card{
    font-size: 2.0rem;
   font-family:'Century Gothic, sanserif'
}

.card:hover{
    cursor: pointer;
    box-shadow: 0.5rem 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.card-header img{
    width: 100%;
}

.card-body{
    width: 100%;
   padding:2rem 0rem;
   font-family:'Century Gothic';
}

    .card-body h4 {
        text-transform: uppercase;
        padding-bottom: 2rem;
        padding-top: 2rem;
        font-size: 2rem;
    }

.contact-me{
    background-color: #F6F6F6;
    padding: 8rem 0;
    text-align: center;
}

.contact-me h2{
    font-size: 4rem;
    letter-spacing: .3rem;
    font-family: 'Akrobat Light';
    padding-bottom: 4rem;
}






.contact-me {
    font-size: 2.5rem;
}

.contact-me input{
    margin: 2.5rem 0;
    width: 30rem;
    
    padding:1rem;
}

.contact-me textarea{
    margin-top: 2rem;
}

.contact-me button{
    width: 20rem;
    height: 5rem;
    font-size: 2rem;
    color: #fff;
    background-color: #A66CFF;
    border: none;
    border-radius: 5rem;
    margin-top: 5rem;
}

.contact-me button:hover{
    cursor: pointer;
}

/* footer{
    text-align: center;
    padding: 5rem;
    font-size: 3;
} */
input{
    border:1px solid rgba(0, 0, 0, 0.2);
    outline:none;
}

input:focus {
    border-color:#A66CFF;
    
}

textarea {
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: none;
    padding:1rem;
}
    textarea:focus {
        border-color: #A66CFF;
    }

.alertbgg {
    background-color: rgba(46, 46, 46,0.3);
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    align-content: center;
    align-items: center;
    top: 0px;
    justify-content: center;
    padding: 20px;
}

.aletinfoinner {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    border-radius: 5px;
    max-width: 400px;
}

.aletinfoinner2 {
    display: flex;
    align-items: center;
    padding: 20px;
}

.aletinfoheader {
    font-size: x-large;
    text-align: center;
    border-bottom: 1px solid rgba(208, 205, 205,0.3);
    padding: 15px;
    width: 100%;
}

.aletinfotext {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    font-size:large;
}

.aletbtnok {
    width: 80px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.aletdagercolor {
    background-color: #f12E45;
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.aletinfocolor {
    background-color: #1f7cee;
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

@media screen and (max-width:800px) {
    .home {
        padding: 0px;
       text-align:center;
    }

    .picture img {
        width: 30rem;
    }

    .about {
        /* display: flex;*/
        padding: 3em;
        display: grid;
        grid-gap: 5em;
        grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
        text-align:center;
    }

    .info {
        padding: 3rem;
        text-align:center;
    }
    .socials {
      /* width:90%;*/
        text-align:center;
        padding-top:5px;
    }

    nav {
        display: flex;
        justify-content: space-around;
      flex-wrap:wrap;
        align-items: center;
        padding: 1rem;
        width: 100%;
    }
    ul li {
        list-style: none;
        font-size: 2.0rem;
        padding: 0 2rem;
        letter-spacing: 0.2rem;
    }
}

.requiredfield{
    color:red;
    font-size:small;
}