* {
    margin: 0px;
    padding: 0px;
}

.navbar {
    display: flex;
    justify-content: space-around;
    background-color: rgb(255,255,255,0.8);
    border-radius: 30px;
    color: rgb(0, 21, 40);
    font-size: 25px;
    padding: 15px 0;
    position: fixed;
    top: 0;
    z-index: 1000;
    min-width: 700px;
    margin-left: 30px;
    margin-top: 40px;
    top: auto;
    border-style: solid;
    border-width: 2px;
    
}

.navbar a{
    text-decoration: none;
    color: rgb(0, 21, 40);
    
}

.navbar div {
    cursor: pointer;
}


.page1 {
    background-image: url(photos/Competitive\ Programmer\ \(4\).png);
    min-height: 700px;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    
}

.name{
    font-size: 100px;
    width: 500px;
    color: rgb(214, 255, 183);
    margin-left: 80px;
    padding-top: 200px;
    font-weight: bold;
}

.page2{
    height: auto;
    min-height: 700px;
    background-color: rgb(0, 35, 51);
    min-width: auto;
}

.edu{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 80px;
}

#education{
    font-size: 80px;
    color: rgb(255,255,255);
    font-weight: bolder;
}

#eduimg{
    height: 100px;
    margin: 10px;
}


#myVideo{
    height: 100px;
}

.eduinfo{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    
}

.degreememo{

    background-color: rgb(238, 253, 72);
    width: 325px;
    height: 350px;
    margin-top: 40px;
    border-radius: 20%;
    border-width: 10px;
    border-color:rgb(0, 0, 0) ;
    border-top: 0px;
    border-left: 0px;
    border-style: solid;
}

#degreememo1{
    background-color: rgb(238, 253, 72);
    width: 325px;
    height: 350px;
    margin-top: 40px;
    border-radius: 20%;
    border-width: 10px;
    border-color:rgb(0, 0, 0) ;
    border-top: 0px;
    border-left: 0px;
    border-style: solid;
    transition: transform 0.3s ease-in-out;
}
#degreememo2{
    background-color: rgb(252, 185, 78);
    width: 325px;
    height: 350px;
    margin-top: 40px;
    border-radius: 20%;
    border-width: 10px;
    border-color:rgb(0, 0, 0) ;
    border-top: 0px;
    border-left: 0px;
    border-style: solid;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

#degreememo3{
    background-color: rgb(155, 253, 80);
    width: 325px;
    height: 350px;
    margin-top: 40px;
    border-radius: 20%;
    border-width: 10px;
    border-color:rgb(0, 0, 0) ;
    border-top: 0px;
    border-left: 0px;
    border-style: solid;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

#degreememo1:hover {
    transform: scale(1.1);
}
#degreememo2:hover {
    transform: scale(1.1);
}
#degreememo3:hover {
    transform: scale(1.1);
}


.memoheading{
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    height: 110px;
    color: rgb(0, 21, 40);
}

.memoheading img{
    height: 100px;
    margin-left: 112px;
    margin-right: 113px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.memocontent{
    text-align: left;
    margin-left: 40px;
}

.page3{
    height: auto;
    background-color: rgb(0, 21, 40);
    min-width: auto;
    min-height: 700px;

}

.toolsandtech{
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.toolsandtech img{
    height: 100px;
    padding-top: 70px;
}

.tools{
    font-size: 70px;
    /* width: 300px; */
    text-align: center;
    color: #5aceef;
    padding-top: 80px;
    font-weight: bolder;
    margin-bottom: 50px;
}

.tech{
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: center;
    /* flex-grow: inherit; */
}

.techcard{
    background-color: white;
    height: 150px;
    width: 150px;
    margin: 30px;
    border-radius: 25%;
    /* background-color: #8aadff; */
    background-color: rgb(138,173,255);
    border-color: rgb(255,255,255,0.5);
    border-color: rgb(30,98,255);
    /* border-color: rgb(90,206,239); */
    border-style: solid;
    border-width: 0px 7px 7px 0px;
    cursor: pointer;
    /* cursor-size: 10px; */
    transition: transform 0.3s ease-in-out;

}

.techcard:hover {
    transform: scale(1.1); /* Increases size by 10% on hover */
}

#cpp{
    background-image: url('photos/cpp.png');
    background-size: cover;
}

#c{
    background-image: url('photos/c.png');
    background-size: cover;
}

#html{
    background-image: url('photos/html.png');
    background-size: cover;
}

#css{
    background-image: url('photos/css.png');
    background-size: cover;
}

#js{
    background-image: url('photos/js2.png');
    background-size: cover;
}

#python{
    background-image: url('photos/python.png');
    background-size: cover;
}

#excel{
    background-image: url('photos/excel.png');
    background-size: cover;
}

#mysql{
    background-image: url('photos/mysql.png');
    background-size: cover;
}

#github{
    background-image: url('photos/github.png');
    background-size: cover;
}

#java{
    background-image: url('photos/java.png');
    background-size: cover;
}

.page4{
    height: auto;
    min-height: 700px;
    background-color: rgb(0, 35, 51);
    min-width: auto;
    padding-bottom: 5%;
}

.aboutme{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 80px;
}

#me{
    font-size: 80px;
    color: rgb(245, 255, 0,0.8);
    font-weight: bolder;
}

.aboutme img{
    height: 100px;
    width: 100px;
    margin-bottom: 5px;
    margin-right: 5px;
}


.aboutmeinfo{
    max-width: 700px;
    min-height: 450px;
    height: max-content;
    margin-left: 30%;
    margin-right: 30%;
    font-size: 30px;
    padding-top: 55px;
    padding-left: 30px;
    padding-right: 15px;
    color: rgb(0,35,51);
    background-color: rgb(214, 255, 183);
    margin-top: 20px;
    border-radius: 25%;
    border-style: solid;
    border-width: 0px 9px 9px 0px;
    border-color: rgb(0,0,0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.aboutmeinfo:hover {
    transform: scale(0.9); /* Increases size by 10% on hover */
}

.aboutmecontent{
    margin: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    /* padding-left: 7px; */
}


.page5{
    height: auto;
    background-color: rgb(0, 21, 40);
    min-width: auto;
    min-height: 700px;
}

.contactme{
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.contact{
    font-size: 70px;
    text-align: center;
    color: #5aceef;
    padding-top: 80px;
    font-weight: bolder;
    margin-bottom: 50px;
}

.end {
    padding: 20px 15%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgb(0,35,51);
    color: white;
}

.page5{
    display: flex;
    flex-direction: row;
    padding-top: 7%;
}

.contact-text{
    width: 50%;
    color: rgb(237, 255, 42);
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 2%;
}

.contactheading {
    font-size: 50px;
    color: #5aceef;
    font-weight: bold;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 20%;
}

.contactphoto{
    margin-right: 15px;
    margin-top: 2px;
}
.contactphoto img{
    height: 50px;
    
}

.contactafterheading{
    font-size: 30px;
}

.contactafterheadingcontent{
    margin: 10px;
}

#emailid{
    margin: 30px 30px 30px 10px;
}

#emailid a{
   color: aliceblue; 
}

.contact-icons i {
    margin-left: 10px;
    height: 45px;
    width: 45px;
    font-size: 30px;
    color: #5aceef;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
    transition: all .45s ease;
}

.contact-icons i:hover {
    font-size: 35px;
}

.contact-form{
    width: 50%;
}

.contact-form form {
    padding: 10%;
    position: relative;
}

.contact-form form input, form textarea {
    width: 100%;
    padding: 14px;
    background-color: rgb(255,255,255,0.8);
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.contact-form form ::placeholder {
    color: black;
}

.contact-form textarea {
    resize: none;
    height: 240px;
}

.contact-form .submit {
    display: inline-block;
    font-size: 16px;
    width: 160px;
    transition: all .45s ease;
    background-color: #5aceef;
}

.contact-form .submit:hover {
    transform: scale(1.1);
    cursor: pointer;
}