@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cinzel&family=Great+Vibes&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body{
    margin: 0px;
    padding: 0px;
    background-color: #575556;
    font-family: 'Poppins', sans-serif;
    
}

.certificateBox{
    width: 1000px;
    height: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    overflow: hidden;
}
.innerCertificateBox{
    border: 2px solid #f5e466;
    width: 100%;
    height: 100%;
    position: relative;
   
}
.redTriange{
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: #e40001;
    top: 78%;
    left: 82%;
    transform: rotate(140deg);
    z-index: -1;

}

.redTriange2{
    top: 68%;
    left: 82%; 
    background-color: #d60000;
    z-index: -11;
}
.redTriangeTop1{
    top: -57%;
    left: -42%;
}

.redTriangeTop2{
    background-color: #000000;
    left: -30%;
    z-index: -11;
}

.ribbionLine{
    position: absolute;
    top: -10%;
    left: 10%;
    width: 110px;
    height: 300px;
    background: linear-gradient(#494949,#000000);
    overflow: hidden;
    z-index: -1;
}

.ribbonTriabgle{
    position: absolute;
    bottom: -21%;
    left: 6%;
    width: 100px;
    height: 100px;
    background-color: white;
    transform: rotate(45deg);
}

.linerighBottom{
    left: 85%;
    top: 32%;
    width: 30px;
    background-color: #e1eaf3;
    transform: rotate(50deg);
}


.userImage{
  width: 160px;
  height: 160px;
  position: absolute;
  top: 6%;
  left: 8.5%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(#efe488,#b98a30);
  border-radius: 50%;
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
}
.userImageGradientInner{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    background-color: #ffeb8a;
    border-radius: 50%;
}
.userImageBox{
    width: 135px;
    height: 135px;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
}
.userImage2{
    width: 140px;
    height: 140px;
}

.certificatecontent{
    width: 100%;
    height: 100%;
    position: relative;
}


.certificateTitle{
    text-transform: uppercase;
    position: absolute;
    top: 5%;
    left: 70%;

}
.certificateTitle span{
    display: block;
}
.certificateTitle span:first-child{
    font-size: 40px;
    font-weight: 400;
    font-family: 'Cinzel', serif;
}

.certificateTitle span:last-child{
    text-align: right;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-top: -15px;
}


.presentTo{
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 8px;
    font-size: 20px;
}

.certificateTo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.certificateToName{
    font-family: 'Great Vibes', cursive;
    font-size: 50px;
    color: #eb0a08;
    margin-top: 10px;
}
.certificateToName input{
    width: 100%;
    height: 100%;
    border: none;
    font-family: 'Great Vibes', cursive;
    color: #eb0a08;
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    

}
.certificateToName input:focus{
    outline: none;
}
.descriptionTitle{
    display: block;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.certificateTo p{
    font-size: 15px;
}

.signatures{
    display: flex;
    justify-content: space-between;
    width: 600px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    position: absolute;
    bottom: 8%;
    left: 5%;
}

.signatures div{
    border-top: 1px solid black;
    width: 150px;
    text-align: center;
    font-size: 15px;
}

.logoimg{
    left: 42%;
}



.logoimg{
    width: 130px;
    height: 130px;
    left: 43%;
    top: 30px;
}
.userImageGradientInner2{
    width: 115px;
    height: 115px;
}
.userImageBox2{
    width: 100px;
    height: 100px;
}

@media only screen and (max-width:1100px){
    
.certificateBox{

    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(-0%,-0%);
  ;
}
}
