@import url('https://fonts.cdnfonts.com/css/heavitas');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300&display=swap');
*{
    box-sizing: border-box;
}
body{
    border:0;
    padding:0;
    margin:0;
    background: #41295a;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #2F0743, #41295a);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #2F0743, #41295a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg{
    width: 100vw;
    height: 100vh;
    background: url('../media/img/pattern.png');
    background-size: 150px 150px;
    opacity: .05;
    position:absolute;
    left:0;
    top:0;
    z-index: -1;
}
.content{
    max-width: 1500px;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.bg2{
    width: 100%;
    height: 100%;
    background: url('../media/img/pattern.png');
    background-size: 150px 150px;
    opacity: .05;
    position:fixed;
    left:0;
    top:0;
    z-index: -1;
}
.content2{
    max-width: 1500px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:30px;
}
.top{
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.link-item{
    padding:10px;
    font-size:xx-large;
    color:white;
    font-family: "Heavitas";
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.link-icon{
    margin-right: 5px;
}
.link-name{

}
.bottom{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.left{
    padding:50px;
    width: 100%;
    height: 100%;
    font-size:xx-large;
    color:white;
    font-family: "Heavitas";
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.left .title{
    font-size: 50px;
}
.left .about{
    font-family: 'Sora';
}
.right{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.circle{
    /* best fitting gradient */
    background: linear-gradient(90deg, #f12711, #f5af19);
    width:70%;
    height: 0;
    padding-top: 70%;
    border-radius: 50%;
    border:10px solid white;
    box-shadow: 0 5px 0px #b7b7b7;
    position: relative;
}
/* .circle canvas{
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
    height: 120%;
    border-bottom-left-radius:42%;
    border-bottom-right-radius:42%;
    background-color: red;
} */
.half{
    width: 100%;
    height: 50%;
    position: absolute;
    bottom:0;
    left:0;
    overflow: hidden;
}
.half-circle{
    position: absolute;
    top:0;
    left:50%;
    transform: translate(-50%,-50%);
    width:70%;
    height: 0;
    padding-top: 70%;
    border-radius: 50%;
    border:10px solid white;
    box-shadow: 0 5px 0px #b7b7b7;
}
.video3d{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom-left-radius: 42%;
    border-bottom-right-radius: 42%;
}
.canvas{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120%;
    border-bottom-left-radius: 42%;
    border-bottom-right-radius: 42%;
    overflow: hidden;
}
canvas{
    width: 100%!important;
    height: 100%!important;
}
.projectHolder{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}
.project{
    margin:30px;
    width:80%;
    background-color: white;
    border:5px solid #dedede;
    border-radius:12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
.post-content{
    padding:30px;
}
#image{
    width:100%;
    height: 500px;
    object-fit: cover;
}
#video{
    width:100%;
    height: 500px;
    object-fit: cover;
}
#video2{
    width:100%;
    margin:30px 0px;
}
#images{
    width:100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

#images img{
    width: 300px;
    border-radius: 4px;
    margin:10px;
    transition: all .3s ease-in-out;
}

.project-list{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding:30px;
}

.project-item{
    width: 300px;
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    cursor: pointer;
    transition: all .3s ease-in-out;
    position: relative;
    border:3px solid #dedede;
    margin:10px;
}

.project-item .project-title{
    font-size: 20px;
    font-family: 'Sora';
    color: #2F0743;
    padding:10px;
}

.project-item .project-image{
    width: 100%;
    height: 200px;
}

.project-item .project-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.project-item .project-mark{
    position: absolute;
    top:-20px;
    right: -20px;
    /* width: 50px; */
    padding: 5px;
    height: 50px;
    background-color: #691b97;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
    font-family: 'Sora';
}

.post-top-line{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.post-top-line div{
    margin-right:5px;
}

.programmingLanguage{
    height: 70px;
    margin:10px;
}

#programmingLanguages{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

#title{
    font-size: 30px;
    font-family: "Heavitas";
    color: #2F0743;
    padding:10px;
}

.subtitle{
    font-size: 20px;
    font-family: "Heavitas";
    color: #2F0743;
}

table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dedede;
    margin: 30px 0px;
}
tr{
    border: 1px solid #dedede;
}
th{
    border: 1px solid #dedede;
    padding: 10px;
    font-size: 20px;
    font-family: "Sora";
    color: #2F0743;
}
td{
    border: 1px solid #dedede;
    padding: 10px;
    font-size: 20px;
    font-family: "Sora";
    color: #2F0743;
}
.subsubtitle{
    font-size: 20px;
    font-family: "Sora";
    color: #2F0743;
}

.maintext{
    font-size: 17px;
    font-family: "Sora";
    color: #2F0743;
}

#date{
    font-size: 20px;
    font-family: 'Sora';
    color: #2F0743;
    padding:10px;
}

#mark{
    font-size: 20px;
    font-family: 'Sora';
    color: #fff;
    padding:10px;
    background-color: #2F0743;
    border-radius: 12px;
}

#description{
    font-size: 20px;
    font-family: 'Sora';
    color: #2F0743;
    padding:10px;
}

.section-title{
    font-size: 20px;
    font-family: 'Sora';
    color: #2F0743;
    padding:10px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  .dl-button{
    padding: 10px 20px;
    background-color: #2F0743;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
    font-family: 'Sora';
    margin:10px;
    cursor: pointer;
    transition: all .3s ease-in-out;
  }

  .padded{
    padding: 10px 20px;
  }
  .padded-top{
    padding: 10px 0px;
  }
  .padded-side{
    padding: 0 20px;
  }

  @media screen and (max-width: 850px) {
    .bottom{
        flex-direction: column;
        flex-direction: column-reverse;
        margin:20% 0;
    }
    .content{
        max-width: 1500px;
        width: 100vw;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding:30px;
    }
    .bg{
        width: 100%;
        height: 100%;
        background: url('../media/img/pattern.png');
        background-size: 150px 150px;
        opacity: .05;
        position:fixed;
        left:0;
        top:0;
        z-index: -1;
    }
    .top{
        flex-direction: column;
    }
}

